summaryrefslogtreecommitdiff
path: root/lib/libpcap/gencode.c
AgeCommit message (Collapse)Author
2006-04-25Build libpcap-0.9.4 from src/dist.drochner
While there are some open issues, particulary wrt support of old NetBSD-specific interfaces, it is better to get the code some public testing before NetBSD-4 is branched.
2006-03-20revert wrong fix to a non-existant problemdrochner
Don't believe Coverity blindly!
2006-03-19Coverity CID 1515: Off-by-one and trash the stack...christos
2004-10-01Move the conditional definition of offsetof() till after all thehe
headers have been included. Fixes compile problem for vax.
2004-09-28Make newchunk() prototype match definition.dyoung
2004-09-27Resolve conflicts in libpcap-0.8.3 import.dyoung
Remove some extraneous files.
2004-06-25support format for if_pflog.c (new format only/old format not supported)itojun
Peter Postma
2002-12-19Add support for VLAN (IEEE 802.1Q) frames.hannken
Built after libpcap-0.7 from tcpdump-3.7.1. Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2002-09-22* Add support for DLT_IEEE802_11.thorpej
* When opening a live pcap, obtain the list of supported DLTs from the BPF. * Add pcap_list_datalinks() to obtain a list of supported DLTs supported by the interface associated with the pcap descriptor. * Add pcap_set_datalink() to set the current DLT of the pcap. * Bump shlib 1.2 -> 1.3; new functions added. From David Young <dyoung@ojctech.com>, with some minor changes by me.
2002-08-26sync partly with tcpdump.org. ok'ed by itojunyamt
patches #454 from yamt@mwd.biglobe.ne.jp - avoid optimization involving subtract operations - correct optimization of bitwise operations TODO: re-introduce subtract optimization
2002-05-16Space before comment after #endif.wiz
2001-06-01compile without INET6. PR 13080itojun
2001-04-29Adapt to (temporary) DLT_PPP_ETHER useage by the pppoe code in treemartin
now. This needs to be fixed when a generic PPP sheme is implemented.
2001-01-19Add VRRP support.kleink
2001-01-06remove redundant declarations.christos
2000-12-28Add support for the DLT_RAWAF() data link type.thorpej
2000-10-06Add pcap_compile_nopcap() from the most recent libpcap releasethorpej
from tcpdump.org, although with a slightly different signature. The tcpdump.org version has no way to report an error string back to the caller. This version takes an additional "errbuf" argument (similar to pcap_open_*()).
2000-04-14more fallback #define. more friendly message on "ip host ip6only-host"itojun
or "ip6 host ip4only-host". (sync with tcpdump.org)
2000-03-01fix "ip host foo" or "ip6 host foo" where foo hasitojun
both A and AAAA. fix from Bill Fenner, FreeBSD PR: 17083.
1999-12-13be more pedant. remove unused vars and such.itojun
don't use s6_addr{8,16,32} directly, they are not in standard. hide not-supposed-to-be-visible functions as static. increase shlib minor.
1999-10-25Add code to do link level address matching for ARCnet interfaces.is
ARCnet link level addresses are encoded as :HH (``:'' followed by a byte encoded in hexadecimal notation).
1999-10-18Limited support for matching on ARCnet payload:is
- oldstyle and PHDS IPv4+ARP; RARP, IPv6, Appletalk are matched now. - in case this is an unfragmented or first-fragment IPv4, IPv6, ARP, RARP or Appletalk packet, matching inside the payload is possible to the extent already supported by tcpdump/libpcap. For 2nd and next fragments, this won't work; it also won't work for oldstyle (RFC1051) IPv4 and ARP.
1999-10-05First part of ARCnet support.is
Matching for anything won't work (as we need to teach the stuff about variable length link level headers), but printing is fine.
1999-07-25add several ETHERTYPE_IPV6 case.itojun
add DLT_PPP_SERIAL case into link type recognition, hoping this to fix ppp packet recognition problem.
1999-07-25support for PPP_IPV6.itojun
1999-07-05quiesce the alpha compilermjacob
1999-07-02More trailing white space.simonb
1999-07-02support IPv6 address and IPv6 protocols.itojun
"tcp" will match both IPv4 TCP and IPv6 TCP. "ip6" will match IPv6. you can chase header chain by using "protochain" instead of "proto" (but bpf code is not optimizable in this case) commit to tcpdump will follow. I've sent this fix to LBL guys to get no response. I wonder why it was.
1999-05-15The only two data link types that support the "inbound" and "outbound"thorpej
qualifiers are DLT_SLIP and DLT_PPP (i.e. old-style serial encap PPP). If an attempt to use these qualifiers is used for any other link type, cause a BPF program compilation error.
1999-05-11Math is hard.thorpej
1999-05-11Handle the new NetBSD PPP data link types.thorpej
1998-07-26make DLT_HDLC interfaces workexplorer
1997-10-03Resolve conflictschristos
1997-03-15New ARP system, supports IPv4 over any hardware link.is
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will only support Ethernet. Tcpdump itself should be ok, but libpcap needs lot of work. For the detailed change history, look at the commit log entries for the is-newarp branch.
1997-01-23- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.mrg
- some KNF.
1996-12-13Merge libpcap-0.2.1.mikel
Includes numerous improvements (see CHANGES), fixes PR bin/2031.
1996-05-29use 'ALIGN' from <sys/param.h> rather than generating a custom alignment exprcgd
1996-05-26switch from long to int32_t, where appropriate, so that this actuallycgd
works on NetBSD/Alpha for non-trivial filters.
1995-03-06Port to NetBSD, and add NetBSD RCS tags.mycroft
1995-03-06Import LBL libpcap, version 0.0 patch level 3.mycroft