osandov/drgn

add helper for skb_shinfo()

Closed this issue · 0 comments

Add helper for skb_shinfo(): https://elixir.bootlin.com/linux/v6.4-rc7/source/include/linux/skbuff.h#L1663
Unlike netdev_priv() this one doesn't do explicit alignments.
IMHO NET_SKBUFF_DATA_USES_OFFSET can be ignored for vast majority of practical purposes (by which I mean it should be set).