Lines Matching defs:protocol
94 if (skb->protocol == htons(ETH_P_IP)) {
104 } else if (skb->protocol == htons(ETH_P_IPV6)) {
188 if (skb->protocol == htons(ETH_P_IP))
190 else if (skb->protocol == htons(ETH_P_IPV6))
214 fl4.flowi4_proto = iph->protocol;
280 __be16 proto = skb->protocol;
288 * protocol was also changed.
290 if (skb->protocol != proto) {
544 __u8 protocol;
554 protocol = ip_hdr(skb)->protocol;
558 protocol = ipv6_hdr(skb)->nexthdr;
563 switch (protocol) {
605 /* validate protocol and length */
630 skb_set_inner_protocol(skb, skb->protocol);
641 skb->protocol = htons(ETH_P_IP);
648 skb->protocol = htons(ETH_P_IPV6);