1ETH_TYPE_TRANS(9) Network device support ETH_TYPE_TRANS(9)
23
4
NAME
6eth_type_trans - determine the packet´s protocol ID.
7
SYNOPSIS
9__be16 eth_type_trans(struct sk_buff * skb, struct net_device * dev);
10
ARGUMENTS
12skb
13received socket data
1415
dev
16receiving network device
17
DESCRIPTION
19The rule here is that we assume 802.3 if the type field is short enough
20to be a length. This is normal practice and works for any ´now in use´
21protocol.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. June 2019 ETH_TYPE_TRANS(9)