Re: `among' match

Grzegorz Borowiak <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
On Mon, 1 Sep 2003, Grzegorz Borowiak wrote:

> Maybe you will not like the way I implemented this. There is a large,
> 4102-byte target info structure (unlike standard info structures, which
> are <100 bytes long). Also, I have used some tricks to gain max
> efficiency.

I mean match info, of course. It's a match, not a target.

> created a patch for them, it would probably fail and you would have to
> modify them manually anyway (since you probably have different Makefile's
> and Config.in's than I have).

I mean, please just add:

to net/bridge/netfilter/Config.in, the following line as last:

dep_tristate '    ebt: among target support (EXPERIMENTAL)' CONFIG_BRIDGE_EBT_AMONG $CONFIG_BRIDGE_NF_EBTABLES

to net/bridge/netfilter/Makefile, the following line as next-to-last:

obj-$(CONFIG_BRIDGE_EBT_AMONG) += ebt_among.o

and in userspace utility please add to extensions/Makefile:

EXT_FUNC+=among


I hope you'll enjoy the new match.

-- 
Grzesław


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.