NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bpf generation



Hello,

   Are there any bpf generation libraries which are explicitly meant to
help generate code in runtime?

   rfc4890, for instance, has different parts which are optional and
parts which may be more relevant for routers and others which may be
more relevant for hosts.

   Rather than pre-bake a bunch of different permutations I'd like to be
able to call a function, pass along configuration variables and allow
the bpf code to be generated and returned.

   While writing this mail I thought about it more and realized how
difficult it would be to make such a generic library, and I'll probably
need to write one myself for my specific use -- but hey, it doesn't hurt
to ask I guess.

-- 
Kind Regards,
Jan


Home | Main Index | Thread Index | Old Index