/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 174 case IPPROTO_GRE: in __encap_ipv4() 305 case IPPROTO_GRE: in __encap_ipv6() 444 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_IP); in __encap_gre_none() 453 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls() 462 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_gre_eth() 536 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none() 545 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls() 554 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_ip6gre_eth() 627 case IPPROTO_GRE: in decap_internal()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | gre_offload.c | 186 skb_gro_checksum_try_convert(skb, IPPROTO_GRE, in gre_gro_receive() 278 err = inet_add_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init() 283 err = inet6_add_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init() 285 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() 205 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) { in gre_init() 214 inet_del_protocol(&net_gre_protocol, IPPROTO_GRE); in gre_exit()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | vector_user.h | 33 #ifndef IPPROTO_GRE 34 #define IPPROTO_GRE 0x2F macro
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | vector_user.h | 33 #ifndef IPPROTO_GRE 34 #define IPPROTO_GRE 0x2F macro
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | in.h | 55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator 56 #define IPPROTO_GRE IPPROTO_GRE macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | in.h | 53 IPPROTO_GRE = 47, enumerator 54 #define IPPROTO_GRE IPPROTO_GRE macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | in.h | 53 IPPROTO_GRE = 47, enumerator 54 #define IPPROTO_GRE IPPROTO_GRE macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | in.h | 39 IPPROTO_GRE = 47, enumerator 40 #define IPPROTO_GRE IPPROTO_GRE macro
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | in.h | 55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator 56 #define IPPROTO_GRE IPPROTO_GRE macro
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A 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()
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A D | nf_reject.h | 24 case IPPROTO_GRE: in nf_reject_verify_csum()
|
/kernel/linux/linux-6.6/include/net/netfilter/ |
H A D | nf_reject.h | 28 case IPPROTO_GRE: in nf_reject_verify_csum()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | ct_fs_smfs.c | 264 if (basic.key->ip_proto != IPPROTO_GRE) in mlx5_ct_fs_smfs_ct_validate_flow_rule() 273 basic.key->ip_proto != IPPROTO_GRE)) { in mlx5_ct_fs_smfs_ct_validate_flow_rule() 280 if (basic.key->ip_proto != IPPROTO_GRE && in mlx5_ct_fs_smfs_ct_validate_flow_rule() 329 outer_headers.ip_protocol) == IPPROTO_GRE; in mlx5_ct_fs_smfs_ct_rule_add()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | sockex2_kern.c | 72 if (*ip_proto != IPPROTO_GRE) { in parse_ip() 128 case IPPROTO_GRE: { in flow_dissector()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | nat6to4.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()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | sockex2_kern.c | 72 if (*ip_proto != IPPROTO_GRE) { in parse_ip() 128 case IPPROTO_GRE: { in flow_dissector()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A 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()
|
/kernel/linux/linux-6.6/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()
|