Download raw body.
convert bpf interface list into a tailq
19 нояб. 2024 г. 15:19:52 David Gwynne <david@gwynne.id.au>: > at the moment it's a good old hand rolled list. > > we have clean water^W^Wsys/queue.h now, so let's use it. this diff also > inserts new bpf_ifs at the end of the list instead of the head. this > means that the list of DLTs per interface will change order, eg, what > tcpdump -i iwx0 -L prints will change order. currently attachinig > a bpf descriptor to an interface prefers low numbered DLTs, so this > doesnt change which one is picked if you run somethinig like tcpdump > without specifying a dlt. OK kn
convert bpf interface list into a tailq