Re: Developing New Socket Option on 4.10



Haisang Wu wrote:

Well, I may have some more socket options in the future for the application
to fill
segments of the 20-byte tag, and the tag may be extended to 40 or 64 bytes,
when
OOB information increases.

How does IPSEC prepend the new header in tunnelling mode? Thanks.

Haisang


you COULD use netgraph to do this..
you would have an ng_iface node hooked to your own node that adds the header which could be hooked to
an ng_ether interface as a type filter itself or using ng_etf as the ethertype filter.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"