Lines Matching refs:protocol
71 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP))
74 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6))
77 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_ARP))
82 return skb->protocol; in vlan_proto()
83 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto()
122 return skb->protocol == htons(ETH_P_PPP_SES) && in is_pppoe_ip()
131 return skb->protocol == htons(ETH_P_PPP_SES) && in is_pppoe_ipv6()
169 switch (skb->protocol) { in nf_bridge_encap_header_len()
255 skb->protocol = htons(ETH_P_8021Q); in nf_bridge_update_protocol()
258 skb->protocol = htons(ETH_P_PPP_SES); in nf_bridge_update_protocol()
481 if (skb->protocol == htons(ETH_P_8021Q)) in setup_pre_routing()
483 else if (skb->protocol == htons(ETH_P_PPP_SES)) in setup_pre_routing()
550 skb->protocol = htons(ETH_P_IP); in br_nf_pre_routing()
659 if (skb->protocol == htons(ETH_P_IP)) in br_nf_forward_finish()
662 if (skb->protocol == htons(ETH_P_IPV6)) in br_nf_forward_finish()
746 skb->protocol = htons(ETH_P_IP); in br_nf_forward_ip()
748 skb->protocol = htons(ETH_P_IPV6); in br_nf_forward_ip()
874 skb->protocol == htons(ETH_P_IP)) { in br_nf_dev_queue_xmit()
900 skb->protocol == htons(ETH_P_IPV6)) { in br_nf_dev_queue_xmit()
965 skb->protocol = htons(ETH_P_IP); in br_nf_post_routing()
967 skb->protocol = htons(ETH_P_IPV6); in br_nf_post_routing()