Lines Matching refs:protocol
52 __be16 protocol; member
124 iph_inner.protocol = iph6_inner.nexthdr; in __encap_ipv4()
138 if (iph_inner.ihl != 5 || iph_inner.protocol != IPPROTO_TCP) in __encap_ipv4()
173 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv4()
226 h_outer.ip.protocol = encap_proto; in __encap_ipv4()
304 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv6()
375 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_ipip_none()
384 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_none()
393 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_mpls()
402 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_eth()
411 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_udp_none()
420 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_udp_mpls()
429 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_udp_eth()
438 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_vxlan_eth()
449 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_sit_none()
458 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6tnl_none()
467 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_none()
476 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_mpls()
485 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_eth()
494 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_none()
503 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_mpls()
512 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_eth()
521 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6vxlan_eth()
543 switch (bpf_ntohs(greh.protocol)) { in decap_internal()
591 iph_outer.protocol); in decap_ipv4()
609 switch (skb->protocol) { in decap_f()