Home
last modified time | relevance | path

Searched refs:IPPROTO_GRE (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c150 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()
Dbpf_flow.c179 case IPPROTO_GRE: in parse_ip_proto()
/tools/include/uapi/linux/
Din.h55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator
56 #define IPPROTO_GRE IPPROTO_GRE macro
/tools/testing/selftests/bpf/
Dtest_flow_dissector.c288 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()