Netgraph, meta and socket PF_NG
Vincent Jardin
vjardin at wanadoo.fr
Thu Jul 24 11:51:30 PDT 2003
Le Jeudi 24 Juillet 2003 20:26, Julian Elischer a écrit :
> you are correct
>
> My plan was to use the metadata part of recvmesg()
> to transfer metadata but never implemented it and it has not been
> needed.
> I suggest that you write a very simple node (start with ng_sample.c)
> that converts metadata to a 'header' prepends it to the data
> and then pass that up.
I though about it, however I would like to avoid this case that is not enough
generic.
> Alternatively you could look at implementing the recvmesg()
> metadata transfer.
However I am not a Unix socket expert ;-( I'll look how it can be done.
Thanks,
Vincent
More information about the freebsd-net
mailing list