Lines Matching refs:protocol
59 __be16 protocol; member
131 iph_inner.protocol = iph6_inner.nexthdr; in __encap_ipv4()
145 if (iph_inner.ihl != 5 || iph_inner.protocol != IPPROTO_TCP) in __encap_ipv4()
180 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv4()
233 h_outer.ip.protocol = encap_proto; in __encap_ipv4()
311 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv6()
437 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_ipip_none()
446 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_none()
455 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_mpls()
464 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_eth()
473 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_udp_none()
482 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_udp_mpls()
491 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_udp_eth()
500 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_vxlan_eth()
511 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_sit_none()
520 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6tnl_none()
529 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_ipip6_none()
538 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_none()
547 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_mpls()
556 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_eth()
565 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_none()
574 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_mpls()
583 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_eth()
592 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6vxlan_eth()
634 switch (bpf_ntohs(greh.protocol)) { in decap_internal()
681 iph_outer.protocol); in decap_ipv4()
699 switch (skb->protocol) { in decap_f()