Developing New Socket Option on 4.10

Julian Elischer julian at elischer.org
Tue Jan 24 22:54:46 PST 2006


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.


More information about the freebsd-net mailing list