| /Linux-v5.15/tools/testing/selftests/bpf/progs/ |
| D | test_tc_tunnel.c | 170 case IPPROTO_GRE: in __encap_ipv4() 301 case IPPROTO_GRE: in __encap_ipv6() 385 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_IP); in __encap_gre_none() 394 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls() 403 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_gre_eth() 468 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none() 477 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls() 486 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_ip6gre_eth() 539 case IPPROTO_GRE: in decap_internal()
|
| D | bpf_flow.c | 179 case IPPROTO_GRE: in parse_ip_proto()
|
| /Linux-v5.15/arch/um/drivers/ |
| D | vector_user.h | 33 #ifndef IPPROTO_GRE 34 #define IPPROTO_GRE 0x2F macro
|
| /Linux-v5.15/net/ipv4/ |
| D | gre_offload.c | 190 skb_gro_checksum_try_convert(skb, IPPROTO_GRE, in gre_gro_receive() 282 err = inet_add_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init() 287 err = inet6_add_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init() 289 inet_del_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init()
|
| 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()
|
| D | ip_gre.c | 241 skb->dev->ifindex, IPPROTO_GRE); in gre_err() 246 IPPROTO_GRE); in gre_err() 509 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in gre_fb_xmit() 586 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in erspan_fb_xmit() 606 ip_tunnel_init_flow(&fl4, IPPROTO_GRE, key->u.ipv4.dst, key->u.ipv4.src, in gre_fill_metadata_dst() 789 if (p->iph.version != 4 || p->iph.protocol != IPPROTO_GRE || in ipgre_tunnel_ctl() 956 tunnel->parms.iph.protocol = IPPROTO_GRE; in __gre_tunnel_init() 1137 parms->iph.protocol = IPPROTO_GRE; in ipgre_netlink_parms() 1302 tunnel->parms.iph.protocol = IPPROTO_GRE; in erspan_tunnel_init()
|
| /Linux-v5.15/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
|
| /Linux-v5.15/include/uapi/linux/ |
| D | in.h | 55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator 56 #define IPPROTO_GRE IPPROTO_GRE macro
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_tun_gre.c | 36 *ip_proto = IPPROTO_GRE; in mlx5e_gen_ip_tunnel_header_gretap() 66 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_GRE); in mlx5e_tc_tun_parse_gretap()
|
| /Linux-v5.15/include/net/netfilter/ |
| D | nf_reject.h | 24 case IPPROTO_GRE: in nf_reject_verify_csum()
|
| /Linux-v5.15/samples/bpf/ |
| D | sockex2_kern.c | 72 if (*ip_proto != IPPROTO_GRE) { in parse_ip() 128 case IPPROTO_GRE: { in flow_dissector()
|
| D | sockex3_kern.c | 148 case IPPROTO_GRE: { in parse_ip_proto() 207 if (ip_proto != IPPROTO_GRE) { in PROG()
|
| /Linux-v5.15/net/netfilter/ |
| D | nf_conntrack_pptp.c | 193 t.dst.protonum = IPPROTO_GRE; in pptp_destroy_siblings() 201 t.dst.protonum = IPPROTO_GRE; in pptp_destroy_siblings() 230 IPPROTO_GRE, &peer_callid, &callid); in exp_gre() 239 IPPROTO_GRE, &callid, &peer_callid); in exp_gre()
|
| D | nf_conntrack_proto_gre.c | 298 .l4proto = IPPROTO_GRE,
|
| D | nf_conntrack_standalone.c | 89 case IPPROTO_GRE: in print_tuple() 269 case IPPROTO_GRE: return "gre"; in l4proto_name()
|
| D | nf_nat_core.c | 224 case IPPROTO_GRE: /* all fall though */ in l4proto_in_range() 405 case IPPROTO_GRE: in nf_nat_l4proto_unique_tuple()
|
| D | nfnetlink_cttimeout.c | 465 case IPPROTO_GRE: in cttimeout_default_get()
|
| D | nf_conntrack_proto.c | 113 case IPPROTO_GRE: return &nf_conntrack_l4proto_gre; in nf_ct_l4proto_find()
|
| /Linux-v5.15/net/ipv4/netfilter/ |
| 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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | fs_ttc.c | 116 .proto = IPPROTO_GRE, 120 .proto = IPPROTO_GRE, 150 case IPPROTO_GRE: in mlx5_tunnel_proto_supported_rx()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/drivers/net/ppp/ |
| D | pptp.c | 157 0, 0, IPPROTO_GRE, in pptp_xmit() 231 iph->protocol = IPPROTO_GRE; in pptp_xmit() 445 IPPROTO_GRE, RT_CONN_FLAGS(sk), in pptp_connect()
|
| /Linux-v5.15/net/ipv6/ |
| D | ip6_gre.c | 754 fl6->flowi6_proto = IPPROTO_GRE; in __gre6_xmit() 989 fl6.flowi6_proto = IPPROTO_GRE; in ip6erspan_tunnel_xmit() 1100 fl6->flowi6_proto = IPPROTO_GRE; in ip6gre_tnl_link_config_common() 1232 u->proto = IPPROTO_GRE; in ip6gre_tnl_parm_to_user() 2350 err = inet6_add_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init() 2376 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init() 2387 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_fini()
|
| /Linux-v5.15/include/net/ |
| D | route.h | 181 fl4->flowi4_proto = IPPROTO_GRE; in ip_route_output_gre()
|
| /Linux-v5.15/net/core/ |
| D | lwt_bpf.c | 560 case IPPROTO_GRE: in handle_gso_encap()
|