Skip to contentSkip to conversation

Question: Variable sized matchinfo

DISCUSSION Patrick McHardy 1 participant 1 message Jan 20, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

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