Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/ipv4/
Dgre_demux.c94 skb_checksum_try_convert(skb, IPPROTO_GRE, 0, in gre_parse_header()
179 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) { in gre_init()
188 inet_del_protocol(&net_gre_protocol, IPPROTO_GRE); in gre_exit()
Dgre_offload.c181 skb_gro_checksum_try_convert(skb, IPPROTO_GRE, 0, in gre_gro_receive()
273 err = inet_add_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init()
278 err = inet6_add_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init()
280 inet_del_offload(&gre_offload, IPPROTO_GRE); in gre_offload_init()
Dip_gre.c245 skb->dev->ifindex, 0, IPPROTO_GRE, 0); in gre_err()
250 IPPROTO_GRE, 0); in gre_err()
474 fl->flowi4_proto = IPPROTO_GRE; in gre_get_rt()
562 iptunnel_xmit(skb->sk, rt, skb, fl.saddr, key->u.ipv4.dst, IPPROTO_GRE, in gre_fb_xmit()
645 iptunnel_xmit(skb->sk, rt, skb, fl.saddr, key->u.ipv4.dst, IPPROTO_GRE, in erspan_fb_xmit()
826 if (p.iph.version != 4 || p.iph.protocol != IPPROTO_GRE || in ipgre_tunnel_ioctl()
996 tunnel->parms.iph.protocol = IPPROTO_GRE; in __gre_tunnel_init()
1168 parms->iph.protocol = IPPROTO_GRE; in ipgre_netlink_parms()
1311 tunnel->parms.iph.protocol = IPPROTO_GRE; in erspan_tunnel_init()
Dxfrm4_policy.c193 case IPPROTO_GRE: in _decode_session4()
/Linux-v4.19/arch/um/drivers/
Dvector_user.h26 #ifndef IPPROTO_GRE
27 #define IPPROTO_GRE 0x2F macro
Dvector_user.c358 dsthints.ai_protocol = IPPROTO_GRE; in user_init_socket_fds()
/Linux-v4.19/include/uapi/linux/
Din.h55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator
56 #define IPPROTO_GRE IPPROTO_GRE macro
/Linux-v4.19/tools/include/uapi/linux/
Din.h55 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator
56 #define IPPROTO_GRE IPPROTO_GRE macro
/Linux-v4.19/samples/bpf/
Dsockex2_kern.c71 if (*ip_proto != IPPROTO_GRE) { in parse_ip()
126 case IPPROTO_GRE: { in flow_dissector()
Dsockex3_kern.c145 case IPPROTO_GRE: { in parse_ip_proto()
204 if (ip_proto != IPPROTO_GRE) { in PROG()
/Linux-v4.19/net/netfilter/
Dnf_conntrack_pptp.c184 t.dst.protonum = IPPROTO_GRE; in pptp_destroy_siblings()
192 t.dst.protonum = IPPROTO_GRE; in pptp_destroy_siblings()
221 IPPROTO_GRE, &peer_callid, &callid); in exp_gre()
230 IPPROTO_GRE, &callid, &peer_callid); in exp_gre()
Dnf_conntrack_proto_generic.c22 case IPPROTO_GRE: in nf_generic_should_process()
Dnf_conntrack_standalone.c82 case IPPROTO_GRE: in print_tuple()
262 case IPPROTO_GRE: return "gre"; in l4proto_name()
Dnf_conntrack_proto_gre.c355 .l4proto = IPPROTO_GRE,
/Linux-v4.19/net/ipv4/netfilter/
Dnf_nat_proto_gre.c124 .l4proto = IPPROTO_GRE,
Dnf_nat_pptp.c70 t.dst.protonum = IPPROTO_GRE; in pptp_nat_expected()
79 t.dst.protonum = IPPROTO_GRE; in pptp_nat_expected()
/Linux-v4.19/drivers/net/ppp/
Dpptp.c162 0, 0, IPPROTO_GRE, in pptp_xmit()
236 iph->protocol = IPPROTO_GRE; in pptp_xmit()
457 IPPROTO_GRE, RT_CONN_FLAGS(sk), 0); in pptp_connect()
/Linux-v4.19/net/ipv6/
Dip6_gre.c758 fl6->flowi6_proto = IPPROTO_GRE; in __gre6_xmit()
986 fl6.flowi6_proto = IPPROTO_GRE; in ip6erspan_tunnel_xmit()
1097 fl6->flowi6_proto = IPPROTO_GRE; in ip6gre_tnl_link_config_common()
1215 u->proto = IPPROTO_GRE; in ip6gre_tnl_parm_to_user()
2327 err = inet6_add_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init()
2353 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init()
2364 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_fini()
/Linux-v4.19/include/net/
Droute.h173 fl4->flowi4_proto = IPPROTO_GRE; in ip_route_output_gre()
Dxfrm.h924 case IPPROTO_GRE: in xfrm_flowi_sport()
948 case IPPROTO_GRE: in xfrm_flowi_dport()
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c709 case IPPROTO_GRE: in fm10k_tx_encap_offload()
857 case IPPROTO_GRE: in fm10k_tx_csum()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c744 .proto = IPPROTO_GRE,
748 .proto = IPPROTO_GRE,
/Linux-v4.19/net/core/
Dflow_dissector.c933 case IPPROTO_GRE: in __skb_flow_dissect()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1998 case IPPROTO_GRE: in i40e_tx_enable_csum()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c630 if ((ol4_proto == IPPROTO_UDP) || (ol4_proto == IPPROTO_GRE)) { in hns3_set_l2l3l4_len()
756 case IPPROTO_GRE: in hns3_set_l3l4_type_csum()

12