/linux-6.6.21/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 611 struct uv_gam_range_entry *gre = uv_gre_table; in build_uv_gr_table() local 616 if (!gre) in build_uv_gr_table() 625 for (; gre->type != UV_GAM_RANGE_TYPE_UNUSED; gre++) { in build_uv_gr_table() 626 if (gre->type == UV_GAM_RANGE_TYPE_HOLE) { in build_uv_gr_table() 630 last_limit = gre->limit; in build_uv_gr_table() 634 last_limit = gre->limit; in build_uv_gr_table() 635 pr_info("UV: extra hole in GAM RE table @%d\n", (int)(gre - uv_gre_table)); in build_uv_gr_table() 638 if (_max_socket < gre->sockid) { in build_uv_gr_table() 639 …pr_err("UV: GAM table sockid(%d) too large(>%d) @%d\n", gre->sockid, _max_socket, (int)(gre - uv_g… in build_uv_gr_table() 642 sid = gre->sockid - _min_socket; in build_uv_gr_table() [all …]
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_proto_gre.c | 55 return &net->ct.nf_ct_proto.gre; in gre_pernet() 77 key = km->tuple.src.u.gre.key; in gre_keymap_lookup() 179 tuple->dst.u.gre.key = pgrehdr->call_id; in gre_pkt_to_tuple() 181 tuple->src.u.gre.key = srckey; in gre_pkt_to_tuple() 191 (ct->proto.gre.timeout / HZ), in gre_print_conntrack() 192 (ct->proto.gre.stream_timeout / HZ)); in gre_print_conntrack() 218 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet() 219 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet() 227 ct->proto.gre.stream_timeout); in nf_conntrack_gre_packet() 238 ct->proto.gre.timeout); in nf_conntrack_gre_packet()
|
D | nf_conntrack_pptp.c | 97 ct->proto.gre.timeout = PPTP_GRE_TIMEOUT; in pptp_expectfn() 98 ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT; in pptp_expectfn() 143 sibling->proto.gre.timeout = 0; in destroy_sibling_or_exp() 144 sibling->proto.gre.stream_timeout = 0; in destroy_sibling_or_exp() 172 t.src.u.gre.key = ct_pptp_info->pns_call_id; in pptp_destroy_siblings() 173 t.dst.u.gre.key = ct_pptp_info->pac_call_id; in pptp_destroy_siblings() 180 t.src.u.gre.key = ct_pptp_info->pac_call_id; in pptp_destroy_siblings() 181 t.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_destroy_siblings()
|
D | nft_payload.c | 106 struct gre_base_hdr *gre, _gre; in __nft_payload_inner_offset() local 109 gre = skb_header_pointer(pkt->skb, thoff, sizeof(_gre), &_gre); in __nft_payload_inner_offset() 110 if (!gre) in __nft_payload_inner_offset() 113 version = gre->flags & GRE_VERSION; in __nft_payload_inner_offset() 116 if (gre->flags & GRE_ROUTING) in __nft_payload_inner_offset() 119 if (gre->flags & GRE_CSUM) { in __nft_payload_inner_offset() 123 if (gre->flags & GRE_KEY) in __nft_payload_inner_offset() 126 if (gre->flags & GRE_SEQ) in __nft_payload_inner_offset()
|
/linux-6.6.21/net/ipv4/netfilter/ |
D | nf_nat_pptp.c | 68 t.src.u.gre.key = ct_pptp_info->pac_call_id; in pptp_nat_expected() 70 t.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_nat_expected() 77 t.src.u.gre.key = nat_pptp_info->pns_call_id; in pptp_nat_expected() 79 t.dst.u.gre.key = nat_pptp_info->pac_call_id; in pptp_nat_expected() 217 expect_orig->saved_proto.gre.key = ct_pptp_info->pns_call_id; in pptp_exp_gre() 218 expect_orig->tuple.src.u.gre.key = nat_pptp_info->pns_call_id; in pptp_exp_gre() 219 expect_orig->tuple.dst.u.gre.key = ct_pptp_info->pac_call_id; in pptp_exp_gre() 223 expect_reply->saved_proto.gre.key = nat_pptp_info->pns_call_id; in pptp_exp_gre() 224 expect_reply->tuple.src.u.gre.key = nat_pptp_info->pac_call_id; in pptp_exp_gre() 225 expect_reply->tuple.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_exp_gre()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | ct_fs_smfs.c | 48 bool gre) in mlx5_ct_fs_smfs_fill_mask() argument 81 } else if (!gre) { in mlx5_ct_fs_smfs_fill_mask() 91 bool tcp, bool gre, u32 priority) in mlx5_ct_fs_smfs_matcher_create() argument 100 mlx5_ct_fs_smfs_fill_mask(fs, spec, ipv4, tcp, gre); in mlx5_ct_fs_smfs_matcher_create() 112 mlx5_ct_fs_smfs_matcher_get(struct mlx5_ct_fs *fs, bool nat, bool ipv4, bool tcp, bool gre) in mlx5_ct_fs_smfs_matcher_get() argument 123 smfs_matcher = &matchers->smfs_matchers[ipv4 * 3 + tcp * 2 + gre]; in mlx5_ct_fs_smfs_matcher_get() 149 dr_matcher = mlx5_ct_fs_smfs_matcher_create(fs, tbl, ipv4, tcp, gre, prio); in mlx5_ct_fs_smfs_matcher_get() 153 nat, ipv4, tcp, gre, PTR_ERR(dr_matcher)); in mlx5_ct_fs_smfs_matcher_get() 305 bool nat, tcp, ipv4, gre; in mlx5_ct_fs_smfs_ct_rule_add() local 328 gre = MLX5_GET(fte_match_param, spec->match_value, in mlx5_ct_fs_smfs_ct_rule_add() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | bpf_flow.c | 170 struct gre_hdr *gre, _gre; in parse_ip_proto() local 194 gre = bpf_flow_dissect_get_header(skb, sizeof(*gre), &_gre); in parse_ip_proto() 195 if (!gre) in parse_ip_proto() 198 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto() 202 keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */ in parse_ip_proto() 203 if (GRE_IS_CSUM(gre->flags)) in parse_ip_proto() 205 if (GRE_IS_KEY(gre->flags)) in parse_ip_proto() 207 if (GRE_IS_SEQ(gre->flags)) in parse_ip_proto() 214 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto() 224 return parse_eth_proto(skb, gre->proto); in parse_ip_proto()
|
D | test_tc_tunnel.c | 61 struct gre_hdr gre; member 176 olen += sizeof(h_outer.l4hdr.gre); in __encap_ipv4() 177 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv4() 178 h_outer.l4hdr.gre.flags = 0; in __encap_ipv4() 307 olen += sizeof(h_outer.l4hdr.gre); in __encap_ipv6() 308 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv6() 309 h_outer.l4hdr.gre.flags = 0; in __encap_ipv6()
|
/linux-6.6.21/tools/testing/selftests/net/forwarding/ |
D | ipip_flat_gre.sh | 29 sw1_flat_create gre $ol1 $ul1 30 sw2_flat_create gre $ol2 $ul2 42 test_mtu_change gre
|
D | ipip_hier_gre.sh | 29 sw1_hierarchical_create gre $ol1 $ul1 30 sw2_hierarchical_create gre $ol2 $ul2 42 test_mtu_change gre
|
D | ipip_hier_gre_keys.sh | 29 sw1_hierarchical_create gre $ol1 $ul1 ikey 111 okey 222 30 sw2_hierarchical_create gre $ol2 $ul2 ikey 222 okey 111 42 test_mtu_change gre
|
D | ipip_flat_gre_key.sh | 29 sw1_flat_create gre $ol1 $ul1 key 233 30 sw2_flat_create gre $ol2 $ul2 key 233 42 test_mtu_change gre
|
D | ipip_flat_gre_keys.sh | 29 sw1_flat_create gre $ol1 $ul1 ikey 111 okey 222 30 sw2_flat_create gre $ol2 $ul2 ikey 222 okey 111 42 test_mtu_change gre
|
D | ipip_hier_gre_key.sh | 29 sw1_hierarchical_create gre $ol1 $ul1 key 22 30 sw2_hierarchical_create gre $ol2 $ul2 key 22 42 test_mtu_change gre
|
D | gre_multipath.sh | 85 tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 89 tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 123 tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 127 tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2
|
D | hw_stats_l3_gre.sh | 35 sw1_flat_create gre $ol1 $ul1 36 sw2_flat_create gre $ol2 $ul2
|
D | gre_multipath_nh.sh | 94 tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 98 tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 140 tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 144 tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2
|
D | gre_multipath_nh_res.sh | 94 tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 98 tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 141 tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 145 tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_flow_dissector.sh | 141 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \ 144 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \ 147 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
|
D | test_tc_tunnel.sh | 120 $0 ipv4 gre $mac 100 126 $0 ipv4 gre $mac 2000 264 elif [[ "$tuntype" =~ (gre|vxlan) && "$mac" == "eth" ]]; then
|
D | with_tunnels.sh | 11 ip link add "gre_${SUFFIX}" type gre ${CONFIG}
|
/linux-6.6.21/include/uapi/linux/netfilter/ |
D | nf_conntrack_tuple_common.h | 41 } gre; member
|
/linux-6.6.21/net/ipv4/ |
D | Makefile | 28 gre-y := gre_demux.o 31 obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o
|
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_tunnel_ipip.sh | 71 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit 233 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit key 233
|
/linux-6.6.21/net/openvswitch/ |
D | Makefile | 27 obj-$(CONFIG_OPENVSWITCH_GRE) += vport-gre.o
|