Packing netgraph structs
Roman Kurakin
rik at cronyx.ru
Thu Jul 1 05:54:48 PDT 2004
Anil Madhavapeddy wrote:
> I'm creating Netgraph bindings for OCaml in order to play around more
> easily with various Bluetooth and Ethernet things I'm working on.
> It's all pretty straightforward except for the problem that the
> netgraph message structs aren't all packed (e.g. struct ng_mesg).
> This means that it's very difficult to serialise them in a language
> other than C.
If this is a problem why can't you make some wrapper that will
pack/unpack written on C,
which will be a lib for you?
rik
>
> Is there any reason why these aren't packed? If not, I can submit a
> diff to make them so.
>
> thanks,
>
> --
> Anil Madhavapeddy
> http://anil.recoil.org
> University of Cambridge
> http://www.cl.cam.ac.uk
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
>
More information about the freebsd-net
mailing list