Name
eth_type_trans —
determine the packet's protocol ID.
Arguments
struct sk_buff * skb
received socket data
struct net_device * 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.