summaryrefslogtreecommitdiff
path: root/lib/lua/sqlite
diff options
context:
space:
mode:
authorgutteridge <gutteridge@NetBSD.org>2023-02-08 01:37:53 +0000
committergutteridge <gutteridge@NetBSD.org>2023-02-08 01:37:53 +0000
commit020c85a1ce6aa2e9ab27d336633a17d78231520e (patch)
tree620f0a6699410e9aecc508c1e3dac6d087325806 /lib/lua/sqlite
parentbf257e3fbaf2531cbc468519b57268f52c3ceca1 (diff)
bpf.c: support loopback writes when BIOCSHDRCMPLT is set
Following changes in r. 1.249 "bpf: support sending packets on loopback interfaces", also allow for this to succeed when the "header complete" flag is set, which is the practice of some tools, e.g., tcpreplay and Scapy. With this change, both of those example tools now work, e.g., Scapy passes "L3bpfSocket - send and sniff on loopback" in its test suite. There are several ways of addressing this issue; this commit is intended to be the most conservative and consistent with the previous changes. (E.g., FreeBSD instead has special handling of this condition in its if_loop.c.)
Diffstat (limited to 'lib/lua/sqlite')
0 files changed, 0 insertions, 0 deletions