--- libaitio/inc/aitio.h 2013/06/26 22:48:53 1.32 +++ libaitio/inc/aitio.h 2013/07/09 00:35:35 1.33 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.32 2013/06/26 22:48:53 misho Exp $ +* $Id: aitio.h,v 1.33 2013/07/09 00:35:35 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -59,6 +59,7 @@ SUCH DAMAGE. #include #include #include +#include #include @@ -401,11 +402,12 @@ int io_get1stiface(char *szIface, int iflen); * @csIface = interface name * @flags = open flags * @whdr = with complete headers + * @wdlt = with data link type * @buflen = buffer length * @zcbuf = zero copy buffer, if BPF supports it and isn't NULL * return: -1 error or >-1 bpf handle */ -int io_etherOpen(const char *csIface, int flags, int whdr, +int io_etherOpen(const char *csIface, int flags, int whdr, int wdlt, unsigned int *buflen, void **zcbuf); /* * io_etherClose() - Close BPF interface