table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
ETH_TYPE_TRANS(9) | Network device support | ETH_TYPE_TRANS(9) |
NAME¶
eth_type_trans - determine the packet's protocol ID.SYNOPSIS¶
__be16
eth_type_trans(struct sk_buff * skb,
struct net_device * dev);
ARGUMENTS¶
skbreceived socket data
dev
receiving network device
DESCRIPTION¶
The rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any 'now in use' protocol.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |