Update for libpcap 0.9.8

This commit is contained in:
Max Laier 2007-10-16 02:12:06 +00:00
parent 3bc70204ae
commit 3765fc7d77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172682
2 changed files with 10 additions and 6 deletions

View File

@ -37,6 +37,9 @@ __FBSDID("$FreeBSD$");
#include <sys/ioctl.h>
#include <sys/file.h>
#include <sys/stat.h>
#ifdef __FreeBSD__
#include <net/bpf.h> /* BIOCLOCK */
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -18,23 +18,24 @@
/*
* FreeBSD-specific implementation.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <pcap.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
#include <net/bpf.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/route.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <pcap.h>
#include "common.h"
#include "eloop.h"
#include "l2_packet.h"