Searched refs:IPPROTO_GRE (Results 1 – 4 of 4) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 150 case IPPROTO_GRE: in encap_ipv4() 258 case IPPROTO_GRE: in encap_ipv6() 325 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_IP); in __encap_gre_none() 334 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls() 343 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_gre_eth() 397 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none() 406 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls() 415 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_ip6gre_eth() 458 case IPPROTO_GRE: in decap_internal()
|
D | bpf_flow.c | 179 case IPPROTO_GRE: in parse_ip_proto()
|
/tools/include/uapi/linux/ |
D | in.h | 55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator 56 #define IPPROTO_GRE IPPROTO_GRE macro
|
/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 288 if (cfg_encap_proto == IPPROTO_GRE) in build_packet() 362 case IPPROTO_GRE: in build_packet() 646 cfg_encap_proto = IPPROTO_GRE; in parse_opts()
|