Lines Matching defs:protocol
2688 struct sk_buff *skb, __be16 protocol)
2718 eth->h_proto = protocol;
2866 __be16 protocol = htons(ETH_P_IP);
2875 protocol = htons(ETH_P_MPLS_UC);
2878 protocol = htons(ETH_P_8021Q);
2929 *(__be16 *) & eth[12] = protocol;
2946 iph->protocol = IPPROTO_UDP; /* UDP */
2955 skb->protocol = protocol;
2970 /* add protocol-dependent pseudo-header */
2979 if (!process_ipsec(pkt_dev, skb, protocol))
2994 __be16 protocol = htons(ETH_P_IPV6);
3003 protocol = htons(ETH_P_MPLS_UC);
3006 protocol = htons(ETH_P_8021Q);
3057 *(__be16 *) ð[12] = protocol;
3090 skb->protocol = protocol;
3106 /* add protocol-dependent pseudo-header */
3485 skb->protocol = eth_type_trans(skb, skb->dev);
3794 * ip header protocol/ttl/id field, here creat a phony one.