Hi,

Adrian Chadd <adr...@freebsd.org> wrote:
> >> > It provides us a capability to offload more complex packet
> >> > processing. My primary user would be NPF in NetBSD, e.g. one of the
> >> > operations is to lookup an IP address in a table/ipset.
> >
> > I would like to coordinate the reservation of BPF opcodes though.
> 
> That's a good idea. I have no problem with that.
> 

I have added these to the NetBSD tree:

 #define BPF_MISCOP(code) ((code) & 0xf8)
 #define                BPF_TAX         0x00
+#define                BPF_COP         0x20
+#define                BPF_COPX        0x40
 #define                BPF_TXA         0x80

Would you like to reserve them in FreeBSD as well?

Thanks.

-- 
Mindaugas
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to