[tcpdump-workers] Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle

2025-07-08 Thread Guy Harris
On Jul 8, 2025, at 7:36 AM, Denis Ovsienko wrote: > The need to have a pcap_t at all times is very similar to using file > descriptors or sockets: first you obtain a descriptor, then you > initialise it in various ways as necessary, then you have a very small > number of methods to read and to wr

[tcpdump-workers] Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle

2025-07-08 Thread Stephen Hemminger via tcpdump-workers
--- Begin Message --- On Fri, 4 Jul 2025 13:05:01 -0700 Guy Harris wrote: > On Jul 4, 2025, at 8:55 AM, Bill Fenner wrote: > > > We may know that we will be using this code on a kernel that > > requires BPF_SPECIAL_VLAN_HANDLING, and so I'd like to be able to set that > > flag on a "dead" handl

[tcpdump-workers] Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle

2025-07-08 Thread Guy Harris
On Jul 8, 2025, at 7:58 AM, Denis Ovsienko wrote: > On Mon, 7 Jul 2025 13:26:25 -0700 > Guy Harris wrote: > >> There could probably be a bunch of optimizations done to programs in >> that IR. > > The parse tree, as a means of data handover between layers, would be an > encoding. If by "layers