Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add support for handling loads from BPF_RND. | 2020-08-03 | 1 | -1/+2 | |
| | | | | | | | | | | this adds "rnd" and "random" as keywords in the grammar, and handles them as an arithmetic operator. the decoder recognises the load, so tcpdump can print it as 'ld #random'. most of the handling is copied from the "len"/"length" keywoard handling that generates and decodes a load of the actual wire length of the packet. ok jmatthew@ tb@ kn@ | ||||
* | Convert a format string variable to a static const char[] to reduce warnings | 2018-04-26 | 1 | -2/+3 | |
| | | | | ok tb@ millert@ krw@ | ||||
* | Use the correct structure size when allocating the array for nodes. | 2016-02-05 | 1 | -2/+2 | |
| | | | | ok tb@ millert@ | ||||
* | remove NULL-checks before free() | 2015-12-22 | 1 | -3/+2 | |
| | |||||
* | Remove register keyword. | 2015-11-17 | 1 | -18/+18 | |
| | | | | ok deraadt@ | ||||
* | memory.h -> string.h | 2015-11-17 | 1 | -2/+2 | |
| | | | | ok deraadt@ | ||||
* | Convert several calloc calls to reallocarray. These calloc calls were | 2014-06-26 | 1 | -7/+7 | |
| | | | | | | originally malloc(n * m) calls (without memset/bzero) in the past. ok deraadt@ tedu@ | ||||
* | Overflow check the calculation for a malloc size. | 2014-03-16 | 1 | -8/+39 | |
| | | | | XXX noted by lteo, change proofed & tested as well | ||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | 2007-09-02 | 1 | -6/+6 | |
| | |||||
* | malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaks | 2006-04-02 | 1 | -5/+4 | |
| | | | | suggested by kjell@; ok otto@ pat@ millert@ jaredy@ | ||||
* | In count_stmts(), make sure to account for long jump instructions as well, | 2005-11-19 | 1 | -2/+2 | |
| | | | | | | | avoiding a memory error that could lead to a crash when a sufficiently complex bpf filter has been specified. otto@, millert@, djm@ ok Reference- http://www.tcpdump.org/lists/workers/2000/msg01364.html | ||||
* | remove $Header, it was messing up cvs for me. ok deraadt@ | 2004-01-27 | 1 | -5/+1 | |
| | |||||
* | Swap args to calloc(3) so they are in the correct order; art@ ok. | 2002-08-12 | 1 | -3/+3 | |
| | |||||
* | more error checking of memory allocation, from clodder@acm.org. okay deraadt@ | 2002-07-09 | 1 | -2/+17 | |
| | |||||
* | sync with libpcap v0.5 | 2000-04-26 | 1 | -2/+88 | |
| | | | | add support for INET6 (kame) | ||||
* | changes brought in from v0.4; started by brad, more by me, being tested by mts | 1999-07-20 | 1 | -8/+7 | |
| | |||||
* | Use __inline | 1996-09-16 | 1 | -9/+9 | |
| | |||||
* | bring it to the latest 0.2 LBL release. | 1996-07-12 | 1 | -70/+147 | |
| | |||||
* | merge to latest libpcap | 1996-06-10 | 1 | -30/+30 | |
| | |||||
* | Update to the latest LBL release. | 1996-03-04 | 1 | -0/+1 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+1928 | |