Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
A Dtest_tc_tunnel.c177 case IPPROTO_GRE: in __encap_ipv4()
308 case IPPROTO_GRE: in __encap_ipv6()
447 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_IP); in __encap_gre_none()
456 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls()
465 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_gre_eth()
539 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none()
548 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls()
557 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_ip6gre_eth()
630 case IPPROTO_GRE: in decap_internal()
A Dbpf_flow.c193 case IPPROTO_GRE: in parse_ip_proto()
A Dtest_cls_redirect.c517 encap_gre->ip.protocol = IPPROTO_GRE; in forward_with_gre()
A Dtest_cls_redirect_dynptr.c405 encap_gre->ip.protocol = IPPROTO_GRE; in forward_with_gre()
/tools/include/uapi/linux/
A Din.h56 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator
57 #define IPPROTO_GRE IPPROTO_GRE macro
/tools/testing/selftests/net/
A Dnat6to4.bpf.c82 case IPPROTO_GRE: // We do not need to bother looking at GRE/ESP headers, in sched_cls_ingress6_nat_6_prog()
205 case IPPROTO_GRE: // address means there is no need to update their checksums. in sched_cls_egress4_snat4_prog()
/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector_classification.c220 if (test->cfg_encap_proto == IPPROTO_GRE) in build_packet()
295 case IPPROTO_GRE: in build_packet()
705 .cfg_encap_proto = IPPROTO_GRE,
A Dflow_dissector.c440 .iph.protocol = IPPROTO_GRE,
473 .iph.protocol = IPPROTO_GRE,
490 .ip_proto = IPPROTO_GRE,

Completed in 18 milliseconds