Richard Braun <[EMAIL PROTECTED]> writes: > NETF filters are considered to be native filters, so there is no macro > for them (a requirement for all non-native filters is to be non-zero). > > Macros were also added in include/device/bpf.h : > #define BPF_BEGIN NETF_BPF > #define BPF_IN NETF_IN > #define BPF_OUT NETF_OUT > > Here is the NETF filter that would be used in pfinet : > static short ether_filter[] = > { > NETF_IN, /* header */ > NETF_PUSHLIT | NETF_NOP, > 1 > };
Is it possible to move NETF_IN to the end of the struct? Would that mean the interface change would not break existing code? -- Marco _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd