Date: Thu, 01 Jul 2004 16:48:57 +0400 From: Roman Kurakin <rik@cronyx.ru> To: Anil Madhavapeddy <anil@recoil.org> Cc: freebsd-net@lists.freebsd.org Subject: Re: Packing netgraph structs Message-ID: <40E40839.20500@cronyx.ru> In-Reply-To: <122AE07F-CB5B-11D8-99F8-000A95DA50A6@recoil.org> References: <122AE07F-CB5B-11D8-99F8-000A95DA50A6@recoil.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E40839.20500>