version 1.38.10.17, 2013/12/15 22:31:44
|
version 1.40, 2014/02/08 22:06:16
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 | Copyright 2004 - 2014 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 82 typedef struct {
|
Line 82 typedef struct {
|
unsigned int prog_inin; /* init progs */ |
unsigned int prog_inin; /* init progs */ |
unsigned int prog_maxn; /* max progs */ |
unsigned int prog_maxn; /* max progs */ |
unsigned int prog_cnum; /* current progs */ |
unsigned int prog_cnum; /* current progs */ |
unsigned int prog_poll; /* purge unused instances after sec */ |
|
char prog_name[PATH_MAX]; |
char prog_name[PATH_MAX]; |
|
|
pthread_mutex_t prog_mtx; |
pthread_mutex_t prog_mtx; |
Line 661 int io_getmaciface(const char *csIface, ether_addr_t *
|
Line 660 int io_getmaciface(const char *csIface, ether_addr_t *
|
* @zcbuf = zero copy buffer, if BPF supports it and isn't NULL |
* @zcbuf = zero copy buffer, if BPF supports it and isn't NULL |
* return: -1 error or >-1 bpf handle |
* return: -1 error or >-1 bpf handle |
*/ |
*/ |
int io_etherOpen(const char *csIface, int flags, int whdr, int wdlt, | int io_etherOpen(const char *csIface, int flags, unsigned int whdr, |
unsigned int *buflen, void **zcbuf); | unsigned int wdlt, unsigned int *buflen, void **zcbuf); |
/* |
/* |
* io_etherClose() - Close BPF interface |
* io_etherClose() - Close BPF interface |
* |
* |