summaryrefslogtreecommitdiff
path: root/lib/libpcap
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-05-14 05:12:56 +0000
committerXin LI <delphij@FreeBSD.org>2012-05-14 05:12:56 +0000
commitd1e8733132ce92d068898e4b3fe25ce17d634590 (patch)
tree158e6045ed438c41ac8de6cb27ac3c73cdc6643a /lib/libpcap
parent47db53c31a5ec643382c4b08c3f68dd4ccdf79d9 (diff)
parent5a0615f5c40ce036a7e13cfffe00927f845ad563 (diff)
downloadsrc-test-d1e8733132ce92d068898e4b3fe25ce17d634590.tar.gz
src-test-d1e8733132ce92d068898e4b3fe25ce17d634590.zip
Merge from vendor branch: update libpcap to 1.2.1.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=235426
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/Makefile9
-rw-r--r--lib/libpcap/config.h34
2 files changed, 39 insertions, 4 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index 5b613e7f08a69..1a3e63409bb88 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -37,8 +37,6 @@ MAN= pcap.3 \
pcap_file.3 \
pcap_fileno.3 \
pcap_findalldevs.3 \
- pcap_free_datalinks.3 \
- pcap_freealldevs.3 \
pcap_freecode.3 \
pcap_get_selectable_fd.3 \
pcap_geterr.3 \
@@ -46,6 +44,7 @@ MAN= pcap.3 \
pcap_is_swapped.3 \
pcap_lib_version.3 \
pcap_list_datalinks.3 \
+ pcap_list_tstamp_types.3 \
pcap_lookupdev.3 \
pcap_lookupnet.3 \
pcap_loop.3 \
@@ -61,6 +60,7 @@ MAN= pcap.3 \
pcap_set_rfmon.3 \
pcap_set_snaplen.3 \
pcap_set_timeout.3 \
+ pcap_set_tstamp_type.3 \
pcap_setdirection.3 \
pcap_setfilter.3 \
pcap_setnonblock.3 \
@@ -69,12 +69,17 @@ MAN= pcap.3 \
pcap_statustostr.3 \
pcap_strerror.3 \
pcap-savefile.5 \
+ pcap_tstamp_type_name_to_val.3 \
+ pcap_tstamp_type_val_to_name.3 \
pcap-filter.7 \
pcap-linktype.7
MLINKS= pcap_datalink_val_to_name.3 pcap_datalink_val_to_description.3 \
pcap_dump_open.3 pcap_dump_fopen.3 \
+ pcap_findalldevs.3 pcap_freealldevs.3 \
pcap_geterr.3 pcap_perror.3 \
pcap_inject.3 pcap_sendpacket.3 \
+ pcap_list_datalinks.3 pcap_free_datalinks.3 \
+ pcap_list_tstamp_types.3 pcap_free_tstamp_types.3 \
pcap_loop.3 pcap_dispatch.3 \
pcap_major_version.3 pcap_minor_version.3 \
pcap_next_ex.3 pcap_next.3 \
diff --git a/lib/libpcap/config.h b/lib/libpcap/config.h
index d3d4a9ab081a0..b364c13c365f4 100644
--- a/lib/libpcap/config.h
+++ b/lib/libpcap/config.h
@@ -22,6 +22,9 @@
/* define if you have streams capable DAG API */
/* #undef HAVE_DAG_STREAMS_API */
+/* define if you have vdag_set_device_info() */
+/* #undef HAVE_DAG_VDAG */
+
/* Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
don't. */
#define HAVE_DECL_ETHER_HOSTTON 1
@@ -56,12 +59,30 @@
/* if libnl exists */
/* #undef HAVE_LIBNL */
+/* if libnl exists and is version 2.x */
+/* #undef HAVE_LIBNL_2_x */
+
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
+/* Define to 1 if you have the <linux/compiler.h> header file. */
+/* #undef HAVE_LINUX_COMPILER_H */
+
+/* Define to 1 if you have the <linux/ethtool.h> header file. */
+/* #undef HAVE_LINUX_ETHTOOL_H */
+
+/* Define to 1 if you have the <linux/if_packet.h> header file. */
+/* #undef HAVE_LINUX_IF_PACKET_H */
+
+/* Define to 1 if you have the <linux/net_tstamp.h> header file. */
+/* #undef HAVE_LINUX_NET_TSTAMP_H */
+
/* if tp_vlan_tci exists */
/* #undef HAVE_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI */
+/* Define to 1 if you have the <linux/types.h> header file. */
+/* #undef HAVE_LINUX_TYPES_H */
+
/* Define to 1 if you have the <linux/usbdevice_fs.h> header file. */
/* #undef HAVE_LINUX_USBDEVICE_FS_H */
@@ -77,6 +98,12 @@
/* Define to 1 if you have the <netinet/if_ether.h> header file. */
#define HAVE_NETINET_IF_ETHER_H 1
+/* Define to 1 if you have the <netpacket/if_packet.h> header file. */
+/* #undef HAVE_NETPACKET_IF_PACKET_H */
+
+/* Define to 1 if you have the <netpacket/packet.h> header file. */
+/* #undef HAVE_NETPACKET_PACKET_H */
+
/* Define to 1 if you have the <net/if_media.h> header file. */
#define HAVE_NET_IF_MEDIA_H 1
@@ -175,7 +202,7 @@
#define HAVE_VSNPRINTF 1
/* define if the system supports zerocopy BPF */
-#define HAVE_ZEROCOPY_BPF 1
+#define HAVE_ZEROCOPY_BPF 1
/* define if your compiler has __attribute__ */
#define HAVE___ATTRIBUTE__ 1
@@ -223,6 +250,9 @@
/* target host supports CAN sniffing */
/* #undef PCAP_SUPPORT_CAN */
+/* target host supports netfilter sniffing */
+/* #undef PCAP_SUPPORT_NETFILTER */
+
/* target host supports USB sniffing */
/* #undef PCAP_SUPPORT_USB */
@@ -241,7 +271,7 @@
/* needed on HP-UX */
/* #undef _HPUX_SOURCE */
-/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
+/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
/* #undef _LARGEFILE_SOURCE */
/* Define for large files, on AIX-style hosts. */