From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Question: Variable sized matchinfo Date: Mon, 20 Jan 2003 13:14:30 +0100 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3E2BE826.7020502@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: Netfilter Development Mailinglist Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hi. I want to write a match where it would be nice to pass a variable sized matchinfo to kernelspace. Is this possible ? I want to avoid always using the largest possible values (2^16 + a few bytes). The data in question is a bpf program compiled with pcap_compile .. This is probably not the most useful match but i think it beats u32 because bpf syntax is already well-known and very pleasant to use. Regards, Patrick