cvs now contains ebtables library functions (was Re: Invoking ebtables from User programs)
Bart De Schuymer <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.user,gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
On Monday 05 January 2004 23:43, Bart De Schuymer wrote: > On Monday 05 January 2004 08:19, Bart De Schuymer wrote: > > I'll have a look this evening to see what needs to be done. IIRC, > > some functions assume being called only once, etc... > > Things look quite doable. I think I should have something useful by next > week. I've just checked in the new code. The makefile doesn't actually construct a shared library yet, but all you need to do to be able to put ebtables stuff in the kernel is compile communication.c, userful_functions.c and libebtc.c in your userspace program. I haven't tested things extensively yet for bugs, and some details will still change. The code that deals with reading from/to a file instead of the kernel inside communication.c still has to be polished a bit, f.e. The functions inside communication.c contain all the hard code that talks to the kernel and converts the kernel monolithic hunk into linked lists. The code in the other c-files is quite readable. Comments are welcome. Until the next official release of ebtables, the library can still be changed. Please direct any follow-ups to ebtables-devel instead of ebtables-user. cheers, Bart ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html