skb_network_protocol
__be16 skb_network_protocol(struct sk_buff *skb, int *depth);
type = skb_network_protocol(skb, NULL);
__be16 type = skb_network_protocol(skb, &vlan_depth);
proto = skb_network_protocol(head_skb, NULL);