Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
H A Dbpf_flow.c179 case IPPROTO_GRE: in parse_ip_proto()
/OK3568_Linux_fs/kernel/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()
H A Dip_gre.c239 skb->dev->ifindex, IPPROTO_GRE); in gre_err()
244 IPPROTO_GRE); in gre_err()
502 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in gre_fb_xmit()
584 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in erspan_fb_xmit()
604 ip_tunnel_init_flow(&fl4, IPPROTO_GRE, key->u.ipv4.dst, key->u.ipv4.src, in gre_fill_metadata_dst()
787 if (p->iph.version != 4 || p->iph.protocol != IPPROTO_GRE || in ipgre_tunnel_ctl()
954 tunnel->parms.iph.protocol = IPPROTO_GRE; in __gre_tunnel_init()
1135 parms->iph.protocol = IPPROTO_GRE; in ipgre_netlink_parms()
1300 tunnel->parms.iph.protocol = IPPROTO_GRE; in erspan_tunnel_init()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Din.h55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator
56 #define IPPROTO_GRE IPPROTO_GRE macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Din.h55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator
56 #define IPPROTO_GRE IPPROTO_GRE macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Din.h55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator
56 #define IPPROTO_GRE IPPROTO_GRE macro
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dvector_user.h33 #ifndef IPPROTO_GRE
34 #define IPPROTO_GRE 0x2F macro
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/net/netfilter/
H A Dnf_reject.h24 case IPPROTO_GRE: in nf_reject_verify_csum()
/OK3568_Linux_fs/kernel/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()
H A Dnf_conntrack_proto_gre.c311 .l4proto = IPPROTO_GRE,
H A Dnf_conntrack_standalone.c86 case IPPROTO_GRE: in print_tuple()
266 case IPPROTO_GRE: return "gre"; in l4proto_name()
H A Dnf_nat_core.c244 case IPPROTO_GRE: /* all fall though */ in l4proto_in_range()
425 case IPPROTO_GRE: in nf_nat_l4proto_unique_tuple()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dsockex2_kern.c72 if (*ip_proto != IPPROTO_GRE) { in parse_ip()
128 case IPPROTO_GRE: { in flow_dissector()
H A Dsockex3_kern.c148 case IPPROTO_GRE: { in parse_ip_proto()
207 if (ip_proto != IPPROTO_GRE) { in PROG()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/netinet/
H A Din.h68 IPPROTO_GRE = 47, /* General Routing Encapsulation. */ enumerator
69 #define IPPROTO_GRE IPPROTO_GRE macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/netinet/
H A Din.h68 IPPROTO_GRE = 47, /* General Routing Encapsulation. */ enumerator
69 #define IPPROTO_GRE IPPROTO_GRE macro
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dnf_nat_pptp.c71 t.dst.protonum = IPPROTO_GRE; in pptp_nat_expected()
80 t.dst.protonum = IPPROTO_GRE; in pptp_nat_expected()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c288 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()
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dpptp.c157 0, 0, IPPROTO_GRE, in pptp_xmit()
231 iph->protocol = IPPROTO_GRE; in pptp_xmit()
447 IPPROTO_GRE, RT_CONN_FLAGS(sk), in pptp_connect()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dip6_gre.c752 fl6->flowi6_proto = IPPROTO_GRE; in __gre6_xmit()
999 fl6.flowi6_proto = IPPROTO_GRE; in ip6erspan_tunnel_xmit()
1111 fl6->flowi6_proto = IPPROTO_GRE; in ip6gre_tnl_link_config_common()
1246 u->proto = IPPROTO_GRE; in ip6gre_tnl_parm_to_user()
2363 err = inet6_add_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init()
2389 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init()
2400 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_fini()
/OK3568_Linux_fs/kernel/include/net/
H A Droute.h181 fl4->flowi4_proto = IPPROTO_GRE; in ip_route_output_gre()

12