aboutsummaryrefslogtreecommitdiff
path: root/pcap-bpf.c
AgeCommit message (Expand)Author
2022-07-13bpf: make the BPF device number unsigned.Guy Harris
2022-07-13Squelch a GCC warning on NetBSD/AArch64. [skip appveyor]Denis Ovsienko
2022-03-15Make sure some error message is provided for PCAP_ERROR_NO_SUCH_DEVICE.Guy Harris
2022-03-15bpf: fix error check.Guy Harris
2022-03-15Set the error message for "permission denied" errors.Guy Harris
2022-02-20Make sure no read routine process more than INT_MAX packets.Guy Harris
2022-02-20Fix get_if_flags() signature after commit ff647f1. [skip ci]Denis Ovsienko
2020-12-12Fix some typosFrancois-Xavier Le Bail
2020-09-27Clean up allocation of some lists.Guy Harris
2020-07-01Handle the pcap_t+private data in a fashion that makes fewer assumptions.Guy Harris
2020-06-17Remove some trailing tabsFrancois-Xavier Le Bail
2020-05-12bpf: fix build on Solaris 11.Guy Harris
2020-05-12bpf: device_exists() is needed only on macOS.Guy Harris
2020-05-12Squelch a warning on non-macOS builds.Guy Harris
2020-05-12Fix FreeBSD build.Guy Harris
2020-05-12Use pcap_strlcpy() to copy interface names to ioctl structures.Guy Harris
2020-05-12Check whether a name is too longer before using it in an ioctl.Guy Harris
2020-05-12Put some ioctls into helper routines and make them handle long names.Guy Harris
2020-05-11bpf: in check_setif_failure(), refer to the error code we were passed.Guy Harris
2020-02-18Cope with getting EPWROFF from SIOCGIFMEDIA.Guy Harris
2020-02-03Remove trailing spaces/tabsFrancois-Xavier Le Bail
2019-11-09Do the check for a valid direction value in pcap_setdirection().Guy Harris
2019-11-08More pcap_setdirection() cleanups.Guy Harris
2019-11-07Clean up direction setting.Guy Harris
2019-11-07Have a less nerdy error message for "output only isn't supported here".Guy Harris
2019-11-07Add OpenBSD support for pcap_setdirection().Guy Harris
2019-08-31Don't use ctype.h macros.Guy Harris
2019-08-09Remove some workarounds for old compilers.Guy Harris
2019-06-30Change the error message for ENXIO/EIO to match reality.Guy Harris
2019-06-30Treat both ENXIO and EIO as "device went away".Guy Harris
2019-01-13Handle older OSes without DLT_PRISM_HEADER/DLT_AIRONET_HEADER/DLT_PPI.Guy Harris
2019-01-10Revert "Do the same tests for "not supported" SIOCGIFMEDIA as is done elsewhe...Guy Harris
2019-01-05Do the same tests for "not supported" SIOCGIFMEDIA as is done elsewhere.Guy Harris
2019-01-04Work around a macOS botch.Guy Harris
2018-12-03fix use of sizeof on a pointerAlexander Galanin
2018-11-10Have separate full definitions for some additional routines.Guy Harris
2018-11-10Have separate full definitions for pcap_can_set_rfmon_bpf().Guy Harris
2018-10-16Provide out own strlcpy() and strlcat() routines if necessary.Guy Harris
2018-10-07Fix removal of 802.11/non-802.11 link-layer header types in macOS.Guy Harris
2018-09-12Squelch more narrowing warnings.Guy Harris
2018-09-09Use -Wshorten-64-to-32 if it's available, and fix warnings it shows.Guy Harris
2018-08-31Clean up the declaration of the packet-filtering routines.Guy Harris
2018-05-14UN*X - the OS family with at least 4 ways of saying "no can do" for an ioctl.Guy Harris
2018-05-01Don't mark loopback devices as "connection status unknown".Guy Harris
2018-05-01Fix typo in previous commit.Guy Harris
2018-05-01Fix function signature.Guy Harris
2018-05-01Or maybe you'll get ENOTTY for an invalid ioctl.Guy Harris
2018-04-30Either EOPNOTSUPP or EINVAL mean "that ioctl isn't supported".Guy Harris
2018-04-30Fix build on FreeBSD.Guy Harris
2018-04-30Pass the "get additional flags" function to the findalldevs helpers.Guy Harris