aboutsummaryrefslogtreecommitdiff
path: root/extract.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix spellingJosh Soref2023-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * amount * anymore * authentication * availability * bracket * captured * casted * communications * compliant * configurable * cumulate * deinitialize * descriptors * didn't * disassembler * disassociate * distributions * divvy * doing * entries * everything * explicitly * explosion * expression * extracting * failed * family * find * github * global * implementations * incorrectly * intel * interlocked * justifying * know * launched * libraries * malloced * mask * maximum * network * nonexistent * number * occurred * optimizer * overflow * overwrite lower * packet * packetfilter * packets * parse hosts * payload * phase * programmers * promiscuous * protocol * receiving * redefinition * sampling * savefile * schwartz * should * snapshot * something * specifies * straightforward * stream * subdir * support * surrogate * suse * system is * test with * than * those * unmaintained * valid * way * western * wireshark Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* Fix some typosFrancois-Xavier Le Bail2022-07-041-1/+1
| | | | [skip ci]
* Remove duplicate wordsFrancois-Xavier Le Bail2020-03-281-1/+1
| | | | [skip ci]
* Don't assume ARM supports unaligned accesses.Guy Harris2018-09-091-4/+10
| | | | | | | | | | | | Prior to ARMv6, it didn't support it. ARMv6 supports it, if the "don't act like ARMv5" bit isn't set in the system control register, but has another bit in the system control register to cause unaligned accesses to fault rather than succeed. ARMv7 and later don't have "act like ARMv5" mode, but still has the "fault on unaligned access" bit. At least some OSes might set the "fault on unaligned access" bit; if your OS *doesn't* set it, feel free to modify the #if to check for your OS and for ARM.
* Use the libpcap compiler test macro, not the tcpdump one.Guy Harris2018-08-041-1/+1
|
* Pick up extract.h stuff from tcpdump, and use it in bpf_filter.c.Guy Harris2018-08-041-50/+242
| | | | No point in duplicating the unaligned-big-endian-extraction stuff.
* Don't test for __attribute__ in the configure script.Guy Harris2018-01-211-6/+8
| | | | | | Instead, use compiler test macros for the one remaining case where we tested for __attribute__ to check whether that *particular* attribute is supported.
* Use C99 {u}intN_t types rather than BSD {u_}intN_t types.Guy Harris2017-09-111-0/+2
| | | | | | | | | | | | | We can get them on any sufficiently modern UN*X, as they provide <inttypes.h>. We can get them with MSVC, by including <inttypes.h> on newer versions or defining them ourselves in older versions. We can get them with various development environments on MS-DOS. Add a pcap/pcap-inttypes.h header file that does what's necessary to get them defined, and include that in the pcap/*.h headers that use those types. Have pcap-types.h only include what's necessary to get u_int defined.
* Exclude the <arpa/inet.h> header on WindowsFrancois-Xavier Le Bail2016-08-291-0/+2
|
* Fix warnings about implicit declarations of functions 'ntohs' and 'ntohl'Francois-Xavier Le Bail2016-08-191-0/+2
|
* For DLT_LINUX_SLL SocketCAN packets, fix up the header when reading.Guy Harris2016-08-181-0/+217
As with other SocketCAN headers, except for those captured with pcap-can-linux.c, the CAN ID and flags field is in host byte order, and needs to be fixed up if we're reading a capture written by a host with the opposite byte order.