Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c177 case IPPROTO_GRE: in __encap_ipv4()
308 case IPPROTO_GRE: in __encap_ipv6()
447 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_IP); in __encap_gre_none()
456 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls()
465 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_gre_eth()
539 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none()
548 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls()
557 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_ip6gre_eth()
630 case IPPROTO_GRE: in decap_internal()
H A Dbpf_flow.c193 case IPPROTO_GRE: in parse_ip_proto()
/linux/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()
/linux/arch/um/drivers/
H A Dvector_user.h33 #ifndef IPPROTO_GRE
34 #define IPPROTO_GRE 0x2F macro
/linux/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
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c37 *ip_proto = IPPROTO_GRE; in mlx5e_gen_ip_tunnel_header_gretap()
70 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_GRE); in mlx5e_tc_tun_parse_gretap()
/linux/include/net/netfilter/
H A Dnf_reject.h28 case IPPROTO_GRE: in nf_reject_verify_csum()
/linux/tools/testing/selftests/net/
H A Dnat6to4.bpf.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()
/linux/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.c113 case IPPROTO_GRE: { in parse_ip_proto()
173 if (ip_proto != IPPROTO_GRE) { in bpf_func_ip()
/linux/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()
H A Dnf_flow_table_ip.c206 case IPPROTO_GRE: in nf_flow_tuple_ip()
227 case IPPROTO_GRE: { in nf_flow_tuple_ip()
606 case IPPROTO_GRE: in nf_flow_tuple_ipv6()
627 case IPPROTO_GRE: { in nf_flow_tuple_ipv6()
H A Dnf_conntrack_proto_gre.c306 .l4proto = IPPROTO_GRE,
H A Dnft_inner.c177 if (pkt->tprot == IPPROTO_GRE) { in nft_inner_parse_tunhdr()
H A Dnf_nat_core.c425 case IPPROTO_GRE: /* all fall though */ in l4proto_in_range()
605 case IPPROTO_GRE: in nf_nat_l4proto_unique_tuple()
H A Dnf_conntrack_proto.c113 case IPPROTO_GRE: return &nf_conntrack_l4proto_gre; in nf_ct_l4proto_find()
/linux/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()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_classification.c220 if (test->cfg_encap_proto == IPPROTO_GRE) in build_packet()
295 case IPPROTO_GRE: in build_packet()
705 .cfg_encap_proto = IPPROTO_GRE,
H A Dflow_dissector.c440 .iph.protocol = IPPROTO_GRE,
473 .iph.protocol = IPPROTO_GRE,
490 .ip_proto = IPPROTO_GRE,
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.c119 .proto = IPPROTO_GRE,
123 .proto = IPPROTO_GRE,
200 case IPPROTO_GRE: in mlx5_tunnel_proto_supported_rx()
/linux/net/sched/
H A Dact_ct.c483 case IPPROTO_GRE: { in tcf_ct_flow_table_process_conn()
540 case IPPROTO_GRE: in tcf_ct_flow_table_fill_tuple_ipv4()
563 case IPPROTO_GRE: { in tcf_ct_flow_table_fill_tuple_ipv4()
609 case IPPROTO_GRE: in tcf_ct_flow_table_fill_tuple_ipv6()
632 case IPPROTO_GRE: { in tcf_ct_flow_table_fill_tuple_ipv6()
/linux/net/ipv6/
H A Dip6_gre.c778 fl6->flowi6_proto = IPPROTO_GRE; in __gre6_xmit()
1013 fl6.flowi6_proto = IPPROTO_GRE; in ip6erspan_tunnel_xmit()
1130 fl6->flowi6_proto = IPPROTO_GRE; in ip6gre_tnl_link_config_common()
1265 u->proto = IPPROTO_GRE; in ip6gre_tnl_parm_to_user()
2366 err = inet6_add_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init()
2392 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init()
2403 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_fini()
/linux/drivers/net/ppp/
H A Dpptp.c140 RT_SCOPE_UNIVERSE, IPPROTO_GRE, 0, in pptp_route_output()
245 iph->protocol = IPPROTO_GRE; in pptp_xmit()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c700 case IPPROTO_GRE: in fm10k_tx_encap_offload()
848 case IPPROTO_GRE: in fm10k_tx_csum()

12