Lines Matching defs:protocol
59 __be16 protocol;
107 * network protocol, and derive the outer header fields from
131 iph_inner.protocol = iph6_inner.nexthdr;
145 if (iph_inner.ihl != 5 || iph_inner.protocol != IPPROTO_TCP)
180 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto);
233 h_outer.ip.protocol = encap_proto;
311 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto);
437 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
446 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
455 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
464 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
473 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
482 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
491 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
500 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
511 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
520 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
529 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
538 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
547 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
556 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
565 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
574 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
583 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
592 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
634 switch (bpf_ntohs(greh.protocol)) {
681 iph_outer.protocol);
699 switch (skb->protocol) {