Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2004 14:00:06 +0100
From:      Anil Madhavapeddy <anil@recoil.org>
To:        Roman Kurakin <rik@cronyx.ru>
Cc:        freebsd-net@lists.freebsd.org
Subject:   Re: Packing netgraph structs
Message-ID:  <931572E3-CB5E-11D8-99F8-000A95DA50A6@recoil.org>
In-Reply-To: <40E40839.20500@cronyx.ru>
References:  <122AE07F-CB5B-11D8-99F8-000A95DA50A6@recoil.org> <40E40839.20500@cronyx.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1 Jul 2004, at 13:48, Roman Kurakin wrote:
>
> 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?

Because I want to minimise the size of the foreign bindings - this 
would require C code for every single Netgraph struct.  If they were 
packed, I could just do it all in OCaml.

Isn't this a problem for other language bindings as well, or is 
everyone doing Netgraph userland hacking in C at the moment?

--
Anil Madhavapeddy                                   
http://anil.recoil.org
University of Cambridge                            
http://www.cl.cam.ac.uk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?931572E3-CB5E-11D8-99F8-000A95DA50A6>