/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 177 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()
|
H A D | bpf_flow.c | 193 case IPPROTO_GRE: in parse_ip_proto()
|
/linux/net/ipv4/ |
H A D | gre_offload.c | 188 skb_gro_checksum_try_convert(skb, IPPROTO_GRE, in gre_gro_receive() 275 err = inet_add_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init() 280 err = inet6_add_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init() 282 inet_del_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init()
|
H A D | gre_demux.c | 88 skb_checksum_try_convert(skb, IPPROTO_GRE, in gre_parse_header() 204 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) { in gre_init() 213 inet_del_protocol(&net_gre_protocol, IPPROTO_GRE); in gre_exit()
|
/linux/arch/um/drivers/ |
H A D | vector_user.h | 33 #ifndef IPPROTO_GRE 34 #define IPPROTO_GRE 0x2F macro
|
/linux/tools/include/uapi/linux/ |
H A D | in.h | 56 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator 57 #define IPPROTO_GRE IPPROTO_GRE macro
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_gre.c | 37 *ip_proto = IPPROTO_GRE; in mlx5e_gen_ip_tunnel_header_gretap() 70 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_GRE); in mlx5e_tc_tun_parse_gretap()
|
/linux/include/net/netfilter/ |
H A D | nf_reject.h | 28 case IPPROTO_GRE: in nf_reject_verify_csum()
|
/linux/tools/testing/selftests/net/ |
H A D | nat6to4.bpf.c | 82 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()
|
/linux/samples/bpf/ |
H A D | sockex2_kern.c | 72 if (*ip_proto != IPPROTO_GRE) { in parse_ip() 128 case IPPROTO_GRE: { in flow_dissector()
|
H A D | sockex3_kern.c | 113 case IPPROTO_GRE: { in parse_ip_proto() 173 if (ip_proto != IPPROTO_GRE) { in bpf_func_ip()
|
/linux/net/netfilter/ |
H A D | nf_conntrack_pptp.c | 171 t.dst.protonum = IPPROTO_GRE; in pptp_destroy_siblings() 179 t.dst.protonum = IPPROTO_GRE; in pptp_destroy_siblings() 208 IPPROTO_GRE, &peer_callid, &callid); in exp_gre() 217 IPPROTO_GRE, &callid, &peer_callid); in exp_gre()
|
H A D | nf_flow_table_ip.c | 206 case IPPROTO_GRE: in nf_flow_tuple_ip() 227 case IPPROTO_GRE: { in nf_flow_tuple_ip() 606 case IPPROTO_GRE: in nf_flow_tuple_ipv6() 627 case IPPROTO_GRE: { in nf_flow_tuple_ipv6()
|
H A D | nf_conntrack_proto_gre.c | 306 .l4proto = IPPROTO_GRE,
|
H A D | nft_inner.c | 177 if (pkt->tprot == IPPROTO_GRE) { in nft_inner_parse_tunhdr()
|
H A D | nf_nat_core.c | 425 case IPPROTO_GRE: /* all fall though */ in l4proto_in_range() 605 case IPPROTO_GRE: in nf_nat_l4proto_unique_tuple()
|
H A D | nf_conntrack_proto.c | 113 case IPPROTO_GRE: return &nf_conntrack_l4proto_gre; in nf_ct_l4proto_find()
|
/linux/net/ipv4/netfilter/ |
H A D | nf_nat_pptp.c | 71 t.dst.protonum = IPPROTO_GRE; in pptp_nat_expected() 80 t.dst.protonum = IPPROTO_GRE; in pptp_nat_expected()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector_classification.c | 220 if (test->cfg_encap_proto == IPPROTO_GRE) in build_packet() 295 case IPPROTO_GRE: in build_packet() 705 .cfg_encap_proto = IPPROTO_GRE,
|
H A D | flow_dissector.c | 440 .iph.protocol = IPPROTO_GRE, 473 .iph.protocol = IPPROTO_GRE, 490 .ip_proto = IPPROTO_GRE,
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_ttc.c | 119 .proto = IPPROTO_GRE, 123 .proto = IPPROTO_GRE, 200 case IPPROTO_GRE: in mlx5_tunnel_proto_supported_rx()
|
/linux/net/sched/ |
H A D | act_ct.c | 483 case IPPROTO_GRE: { in tcf_ct_flow_table_process_conn() 540 case IPPROTO_GRE: in tcf_ct_flow_table_fill_tuple_ipv4() 563 case IPPROTO_GRE: { in tcf_ct_flow_table_fill_tuple_ipv4() 609 case IPPROTO_GRE: in tcf_ct_flow_table_fill_tuple_ipv6() 632 case IPPROTO_GRE: { in tcf_ct_flow_table_fill_tuple_ipv6()
|
/linux/net/ipv6/ |
H A D | ip6_gre.c | 778 fl6->flowi6_proto = IPPROTO_GRE; in __gre6_xmit() 1013 fl6.flowi6_proto = IPPROTO_GRE; in ip6erspan_tunnel_xmit() 1130 fl6->flowi6_proto = IPPROTO_GRE; in ip6gre_tnl_link_config_common() 1265 u->proto = IPPROTO_GRE; in ip6gre_tnl_parm_to_user() 2366 err = inet6_add_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init() 2392 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init() 2403 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_fini()
|
/linux/drivers/net/ppp/ |
H A D | pptp.c | 140 RT_SCOPE_UNIVERSE, IPPROTO_GRE, 0, in pptp_route_output() 245 iph->protocol = IPPROTO_GRE; in pptp_xmit()
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 700 case IPPROTO_GRE: in fm10k_tx_encap_offload() 848 case IPPROTO_GRE: in fm10k_tx_csum()
|