struct pkthdr already has a field (struct mbuf *aux)
which i think is used to store info per-packet
state by ipsec, at least according to the comment
(my dummynet hack predated this, i would have used
this field if it had been available at the time).
So this field could be used to access the metadata.

Unfortunately i suspect that making a truly
extensible format is going to kill performance,
because each module would have to hunt its own
metadata in the chain. I'd rather go with specific
fields in the pkthdr pointing/storing specific info
(if you think of it, this is what the pkthdr is.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to