1ETH_TYPE_TRANS(9)           Network device support           ETH_TYPE_TRANS(9)
2
3
4

NAME

6       eth_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

12       skb
13           received socket data
14
15       dev
16           receiving network device
17

DESCRIPTION

19       The rule here is that we assume 802.3 if the type field is short enough
20       to be a length. This is normal practice and works for any 'now in use'
21       protocol.
22
24Kernel Hackers Manual 2.6.       November 2011               ETH_TYPE_TRANS(9)
Impressum