Use mbufs where possible at the packet deliver phase when disambiguating between callbacks. This doesn't have a performance impact and may be useful in case we support https://github.com/stanford-esrg/retina/issues/66 in the future.
Some cleanup to filtergen code: move packet filter codegen to filtergen/utils; remove unused param from gen_pktfilter.
This also adds reasonable developer documentation within the datatypes crate, which would be needed for anyone adding new datatypes.
Document invalid filter (https://github.com/stanford-esrg/retina/issues/66) with error message
Use
mbufs
where possible at the packet deliver phase when disambiguating between callbacks. This doesn't have a performance impact and may be useful in case we support https://github.com/stanford-esrg/retina/issues/66 in the future.Some cleanup to filtergen code: move packet filter codegen to filtergen/utils; remove unused param from gen_pktfilter.
This also adds reasonable developer documentation within the
datatypes
crate, which would be needed for anyone adding new datatypes.