version 1.41.2.1, 2016/08/10 13:55:00
|
version 1.41.2.2, 2016/08/10 13:59:44
|
Line 657 int io_etherOpen(const char *csIface, int flags, unsig
|
Line 657 int io_etherOpen(const char *csIface, int flags, unsig
|
*/ |
*/ |
void io_etherClose(int eth, void **zcbuf); |
void io_etherClose(int eth, void **zcbuf); |
|
|
|
#ifndef __linux__ |
/* |
/* |
* io_etherFilter() - BPF filter routine |
* io_etherFilter() - BPF filter routine |
* |
* |
Line 668 void io_etherClose(int eth, void **zcbuf);
|
Line 669 void io_etherClose(int eth, void **zcbuf);
|
* return: -1 error or 0 ok |
* return: -1 error or 0 ok |
*/ |
*/ |
int io_etherFilter(int eth, int io, struct bpf_insn * __restrict insn, size_t insnlen); |
int io_etherFilter(int eth, int io, struct bpf_insn * __restrict insn, size_t insnlen); |
|
#endif |
|
|
/* |
/* |
* io_etherSend() - Send packet to bpf |
* io_etherSend() - Send packet to bpf |