Re-apply r190640.- Restore local change to include <net/bpf.h> inside pcap.h.This fixes ports build problems.- Update local copy of dlt.h with new DLT types.- Revert no longer needed <net/bpf.h>
Re-apply r190640.- Restore local change to include <net/bpf.h> inside pcap.h.This fixes ports build problems.- Update local copy of dlt.h with new DLT types.- Revert no longer needed <net/bpf.h> includes which were addedas part of r334277.Suggested by: antoine@, delphij@, np@MFC after: 3 weeksSponsored by: Mellanox Technologies
show more ...
Hide unsupported remote capture definitions to avoid breakage in ports.Suggested by: antoine@MFC after: 3 weeksSponsored by: Mellanox Technologies
MFV r333789: libpcap 1.9.0 (pre-release)MFC after: 1 monthSponsored by: Mellanox Technologies
Clear clang warning: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]Submitted by: Aaron Prieger <[email protected]>Reviewed by: dimSponsored by: L
Clear clang warning: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]Submitted by: Aaron Prieger <[email protected]>Reviewed by: dimSponsored by: Limelight NetworksDifferential Revision: https://reviews.freebsd.org/D11166
MFV r316124: Fix build when WITHOUT_INET6.Reported by: Randy Westlund <rwestlun gmail com>MFC after: 3 days
MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD).MFC after: 28 daysX-MFC-with: r313695
MFV r313676: libpcap 1.8.1MFC after: 1 month
Fix a style(9) bug.
Support nanosecond time stamps for pcap_dispatch(3) and pcap_loop(3).
libpcap: fix for simple NULL pointer dereference.Found with devel/coccinelle.
MFV r276759: libpcap 1.6.2.MFC after: 1 month
Add netmap support to libpcap. Tcpdump and other native pcap application can nowrun directly on netmap ports using netmap:foo or valeXX:YY device names.Modifications to existing code are small and
Add netmap support to libpcap. Tcpdump and other native pcap application can nowrun directly on netmap ports using netmap:foo or valeXX:YY device names.Modifications to existing code are small and trivial, the netmap-specificcode is all in a new file.Please be aware that in netmap mode the physical interface is disconnected fromthe host stack, so libpcap will steal the traffic not just make a copy.For the full version of the code (including linux and autotools support) see https://code.google.com/p/netmap-libpcap/MFC after: 3 days
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.The origin of WEP comes from IEEE Std 802.11-1997 where it defineswhether the frame body of MAC frame has been encrypted using WEP
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.The origin of WEP comes from IEEE Std 802.11-1997 where it defineswhether the frame body of MAC frame has been encrypted using WEPalgorithm or not.IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicateswhether the frame is protected by a cryptographic encapsulationalgorithm.Reviewed by: adrian, rpaulo
Integrate github revision 0446821e49224c6a29be28760cc9c4cc14f56d8a assuggested by upstreamhttps://github.com/the-tcpdump-group/libpcap/issues/327Quiesce assignment warnings by use of const
Move new pf includes to the pf directory. The pfvar.h remainin net, to avoid compatibility breakage for no sake.The future plan is to split most of non-kernel parts ofpfvar.h into pf.h, and then
Move new pf includes to the pf directory. The pfvar.h remainin net, to avoid compatibility breakage for no sake.The future plan is to split most of non-kernel parts ofpfvar.h into pf.h, and then make pfvar.h a kernel onlyinclude breaking compatibility.Discussed with: bz
Start splitting pfvar.h into internal and external parts.- Provide pf_altq.h that has only stuff needed for ALTQ.- Start pf.h, that would have all constant values and eventually non-kernel struc
Start splitting pfvar.h into internal and external parts.- Provide pf_altq.h that has only stuff needed for ALTQ.- Start pf.h, that would have all constant values and eventually non-kernel structures.- Build ALTQ w/o pfvar.h, include if_var.h, that before came via pollution.- Build tcpdump w/o pfvar.h.Sponsored by: NetflixSponsored by: Nginx, Inc.
MFV: libpcap 1.4.0.MFC after: 4 weeks
Add tcp header flags ECE and CWR defined in RFC 3168.PR: 140349Submitted by: Alan Amesbury <[email protected]> (earlier version)Reviewed by: delphijApproved by: sbruno (mentor)
Clean some 'svn:executable' properties in the tree.Submitted by: Christoph MallonMFC after: 3 days
MFV: libpcap 1.3.0.MFC after: 4 weeks
Fix typo: s/pakcet/packet
Add 3 missing files that was generated but not included with the initialcommit.Reported by: buganini via IRCMFC after: 2 weeks
Merge from vendor branch: update libpcap to 1.2.1.MFC after: 2 weeks
Incorporate vendor commit ecdc5c0a7f7591a7cd4a:In userland, sign extend the offset for JA instructions.We currently use that to implement "ip6 protochain", and "pc" might bewider than "pc->k", i
Incorporate vendor commit ecdc5c0a7f7591a7cd4a:In userland, sign extend the offset for JA instructions.We currently use that to implement "ip6 protochain", and "pc" might bewider than "pc->k", in which case we need to arrange that "pc->k" besign-extended, by casting it to bpf_int32.PR: kern/157188Submitted by: plosherMFC after: 2 weeks
Explicitly initialize the packet buffer to NULL after we unmap the zero copybuffers. This fixes a segfault on exit due to calling free on a bogus pointer.This should be considered a temporary stop
Explicitly initialize the packet buffer to NULL after we unmap the zero copybuffers. This fixes a segfault on exit due to calling free on a bogus pointer.This should be considered a temporary stop gap fix to avoid the crash. Thecomplete fix re-shuffles the initializations of some of the clean-up pointers.The details of the fix can be found in the libpcap git repository:commit bc8209b71e928870b0f172d43b174ab27ba24394Proded by: kevlo, rpauloMFC after: 2 weeksSubmitted by: Anton Yuzhaninov
1234