Re: Netgraph, meta and socket PF_NG
From: Julian Elischer (julian_at_elischer.org)
Date: 07/24/03
- Previous message: Vincent Jardin: "Netgraph, meta and socket PF_NG"
- In reply to: Vincent Jardin: "Netgraph, meta and socket PF_NG"
- Next in thread: Vincent Jardin: "Re: Netgraph, meta and socket PF_NG"
- Reply: Vincent Jardin: "Re: Netgraph, meta and socket PF_NG"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Jul 2003 11:26:46 -0700 (PDT) To: Vincent Jardin <vjardin@wanadoo.fr>
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.
Alternatively you could look at implementing the recvmesg()
metadata transfer.
On Thu, 24 Jul 2003, Vincent Jardin wrote:
> With the regular data, I would like to send an opaque data from a netgraph
> node to a userland program that has a NG_DATA/PF_NETGRAPH socket. This opaque
> data is the meta.
> How can it be performed ?
>
> Then, from the userland program, how to send data with an opaque to a
> NG_DATA/PF_NG socket ? Then this opaque would be a netgraph's meta.
>
> It seems that ng_socket does not support this feature, however I am not sure
> that I understand properly its source code. ;-(
>
> Thanks,
> Vincent
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Vincent Jardin: "Netgraph, meta and socket PF_NG"
- In reply to: Vincent Jardin: "Netgraph, meta and socket PF_NG"
- Next in thread: Vincent Jardin: "Re: Netgraph, meta and socket PF_NG"
- Reply: Vincent Jardin: "Re: Netgraph, meta and socket PF_NG"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|