Home
last modified time | relevance | path

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

123

/openbmc/linux/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()
H A Dbpf_flow.c193 case IPPROTO_GRE: in parse_ip_proto()
/openbmc/linux/arch/um/drivers/
H A Dvector_user.h33 #ifndef IPPROTO_GRE
34 #define IPPROTO_GRE 0x2F macro
/openbmc/linux/net/ipv4/
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()
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 Dip_gre.c241 skb->dev->ifindex, IPPROTO_GRE); in gre_err()
246 IPPROTO_GRE); in gre_err()
512 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in gre_fb_xmit()
595 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in erspan_fb_xmit()
615 ip_tunnel_init_flow(&fl4, IPPROTO_GRE, key->u.ipv4.dst, key->u.ipv4.src, in gre_fill_metadata_dst()
799 if (p->iph.version != 4 || p->iph.protocol != IPPROTO_GRE || in ipgre_tunnel_ctl()
967 tunnel->parms.iph.protocol = IPPROTO_GRE; in __gre_tunnel_init()
1144 parms->iph.protocol = IPPROTO_GRE; in ipgre_netlink_parms()
1309 tunnel->parms.iph.protocol = IPPROTO_GRE; in erspan_tunnel_init()
/openbmc/linux/include/uapi/linux/
H A Din.h56 IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ enumerator
57 #define IPPROTO_GRE IPPROTO_GRE macro
/openbmc/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
/openbmc/linux/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()
/openbmc/linux/include/net/netfilter/
H A Dnf_reject.h28 case IPPROTO_GRE: in nf_reject_verify_csum()
/openbmc/linux/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()
/openbmc/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()
/openbmc/linux/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()
/openbmc/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.c202 case IPPROTO_GRE: in nf_flow_tuple_ip()
223 case IPPROTO_GRE: { in nf_flow_tuple_ip()
599 case IPPROTO_GRE: in nf_flow_tuple_ipv6()
620 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()
/openbmc/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()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.c116 .proto = IPPROTO_GRE,
120 .proto = IPPROTO_GRE,
150 case IPPROTO_GRE: in mlx5_tunnel_proto_supported_rx()
/openbmc/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()
/openbmc/linux/net/ipv6/
H A Dip6_gre.c777 fl6->flowi6_proto = IPPROTO_GRE; in __gre6_xmit()
1003 fl6.flowi6_proto = IPPROTO_GRE; in ip6erspan_tunnel_xmit()
1117 fl6->flowi6_proto = IPPROTO_GRE; in ip6gre_tnl_link_config_common()
1252 u->proto = IPPROTO_GRE; in ip6gre_tnl_parm_to_user()
2369 err = inet6_add_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init()
2395 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_init()
2406 inet6_del_protocol(&ip6gre_protocol, IPPROTO_GRE); in ip6gre_fini()
/openbmc/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()
/openbmc/linux/include/net/
H A Droute.h189 fl4->flowi4_proto = IPPROTO_GRE; in ip_route_output_gre()

123