Lines Matching refs:protocol
71 (skb->protocol == htons(ETH_P_8021Q) && \
76 (skb->protocol == htons(ETH_P_8021Q) && \
81 (skb->protocol == htons(ETH_P_8021Q) && \
92 (skb->protocol == htons(ETH_P_PPP_SES) && \
97 (skb->protocol == htons(ETH_P_PPP_SES) && \
107 .protocol = cpu_to_be16(ETH_P_IP),
207 skb->protocol = htons(ETH_P_8021Q);
209 skb->protocol = htons(ETH_P_PPP_SES);
283 * protocol number. */
427 if (skb->protocol == htons(ETH_P_8021Q))
429 else if (skb->protocol == htons(ETH_P_PPP_SES))
529 skb->protocol = htons(ETH_P_IPV6);
563 if (skb->protocol == htons(ETH_P_IPV6) || IS_VLAN_IPV6(skb) ||
575 if (skb->protocol != htons(ETH_P_IP) && !IS_VLAN_IP(skb) &&
610 skb->protocol = htons(ETH_P_IP);
650 if (skb->protocol != htons(ETH_P_ARP) && !IS_VLAN_ARP(skb)) {
693 if (skb->protocol == htons(ETH_P_IP) || IS_VLAN_IP(skb) ||
696 else if (skb->protocol == htons(ETH_P_IPV6) || IS_VLAN_IPV6(skb) ||
714 skb->protocol = htons(ETH_P_IP);
716 skb->protocol = htons(ETH_P_IPV6);
741 if (skb->protocol != htons(ETH_P_ARP)) {
762 if (skb->nfct != NULL && skb->protocol == htons(ETH_P_IP) &&
794 if (skb->protocol == htons(ETH_P_IP) || IS_VLAN_IP(skb) ||
797 else if (skb->protocol == htons(ETH_P_IPV6) || IS_VLAN_IPV6(skb) ||
813 skb->protocol = htons(ETH_P_IP);
815 skb->protocol = htons(ETH_P_IPV6);