In classic BPF 'SKF_AD_HATYPE' can be used to fetch skb->dev->type.

Are my eyes deceiving me, or is there a similar way to get at it from eBPF?

(while we're at it, skb->dev->mtu would probably be useful too)

Cheers,
Maciej

Reply via email to