Home
last modified time | relevance | path

Searched refs:IPPROTO_GRE (Results 1 - 25 of 105) sorted by relevance

12345

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A 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()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c174 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 Dgre_offload.c186 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 Dgre_demux.c88 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 Dvector_user.h33 #ifndef IPPROTO_GRE
34 #define IPPROTO_GRE 0x2F macro
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dvector_user.h33 #ifndef IPPROTO_GRE
34 #define IPPROTO_GRE 0x2F macro
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Din.h55 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 Din.h53 IPPROTO_GRE = 47, enumerator
54 #define IPPROTO_GRE IPPROTO_GRE macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Din.h53 IPPROTO_GRE = 47, enumerator
54 #define IPPROTO_GRE IPPROTO_GRE macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Din.h39 IPPROTO_GRE = 47, enumerator
40 #define IPPROTO_GRE IPPROTO_GRE macro
/kernel/linux/linux-6.6/net/ipv4/
H A Dgre_offload.c188 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 Dgre_demux.c88 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 Din.h55 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 Din.h56 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 Din.h56 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 Dtc_tun_gre.c36 *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 Dtc_tun_gre.c36 *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 Dnf_reject.h24 case IPPROTO_GRE: in nf_reject_verify_csum()
/kernel/linux/linux-6.6/include/net/netfilter/
H A Dnf_reject.h28 case IPPROTO_GRE: in nf_reject_verify_csum()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_smfs.c264 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 Dsockex2_kern.c72 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 Dnat6to4.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()
/kernel/linux/linux-6.6/samples/bpf/
H A Dsockex2_kern.c72 if (*ip_proto != IPPROTO_GRE) { in parse_ip()
128 case IPPROTO_GRE: { in flow_dissector()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conntrack_pptp.c193 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 Dnf_conntrack_pptp.c171 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()

Completed in 14 milliseconds

12345