diff options
author | delphij <delphij@FreeBSD.org> | 2012-05-14 05:12:56 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2012-05-14 05:12:56 +0000 |
commit | a3451bb93bbf335a8f6b5feb9b80b256b0e304fe (patch) | |
tree | 158e6045ed438c41ac8de6cb27ac3c73cdc6643a /lib | |
parent | a17ebbd192e814c313397aefc289ab32a0ece772 (diff) | |
parent | e11c3f548e0bd184480800016b8567824dc35516 (diff) | |
download | FreeBSD-src-a3451bb93bbf335a8f6b5feb9b80b256b0e304fe.zip FreeBSD-src-a3451bb93bbf335a8f6b5feb9b80b256b0e304fe.tar.gz |
Merge from vendor branch: update libpcap to 1.2.1.
MFC after: 2 weeks
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpcap/Makefile | 9 | ||||
-rw-r--r-- | lib/libpcap/config.h | 34 |
2 files changed, 39 insertions, 4 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 5b613e7..1a3e634 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 d3d4a9a..b364c13 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. */ |