/Linux-v5.4/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 425 struct uv_gam_range_entry *gre = uv_gre_table; in build_uv_gr_table() local 430 if (!gre) in build_uv_gr_table() 438 for (; gre->type != UV_GAM_RANGE_TYPE_UNUSED; gre++) { in build_uv_gr_table() 439 if (gre->type == UV_GAM_RANGE_TYPE_HOLE) { in build_uv_gr_table() 443 last_limit = gre->limit; in build_uv_gr_table() 447 last_limit = gre->limit; in build_uv_gr_table() 448 pr_info("UV: extra hole in GAM RE table @%d\n", (int)(gre - uv_gre_table)); in build_uv_gr_table() 451 if (_max_socket < gre->sockid) { in build_uv_gr_table() 452 …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() 455 sid = gre->sockid - _min_socket; in build_uv_gr_table() [all …]
|
/Linux-v5.4/net/netfilter/ |
D | nf_conntrack_proto_gre.c | 55 return &net->ct.nf_ct_proto.gre; in gre_pernet() 90 key = km->tuple.src.u.gre.key; in gre_keymap_lookup() 192 tuple->dst.u.gre.key = pgrehdr->call_id; in gre_pkt_to_tuple() 194 tuple->src.u.gre.key = srckey; in gre_pkt_to_tuple() 204 (ct->proto.gre.timeout / HZ), in gre_print_conntrack() 205 (ct->proto.gre.stream_timeout / HZ)); in gre_print_conntrack() 232 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet() 233 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet() 240 ct->proto.gre.stream_timeout); in nf_conntrack_gre_packet() 246 ct->proto.gre.timeout); in nf_conntrack_gre_packet()
|
D | nf_conntrack_pptp.c | 111 ct->proto.gre.timeout = PPTP_GRE_TIMEOUT; in pptp_expectfn() 112 ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT; in pptp_expectfn() 157 sibling->proto.gre.timeout = 0; in destroy_sibling_or_exp() 158 sibling->proto.gre.stream_timeout = 0; in destroy_sibling_or_exp() 186 t.src.u.gre.key = ct_pptp_info->pns_call_id; in pptp_destroy_siblings() 187 t.dst.u.gre.key = ct_pptp_info->pac_call_id; in pptp_destroy_siblings() 194 t.src.u.gre.key = ct_pptp_info->pac_call_id; in pptp_destroy_siblings() 195 t.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_destroy_siblings()
|
D | nf_nat_core.c | 432 keyptr = &tuple->src.u.gre.key; in nf_nat_l4proto_unique_tuple() 434 keyptr = &tuple->dst.u.gre.key; in nf_nat_l4proto_unique_tuple() 440 min = ntohs(range->min_proto.gre.key); in nf_nat_l4proto_unique_tuple() 441 range_size = ntohs(range->max_proto.gre.key) - min + 1; in nf_nat_l4proto_unique_tuple()
|
/Linux-v5.4/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() 218 expect_orig->saved_proto.gre.key = ct_pptp_info->pns_call_id; in pptp_exp_gre() 219 expect_orig->tuple.src.u.gre.key = nat_pptp_info->pns_call_id; in pptp_exp_gre() 220 expect_orig->tuple.dst.u.gre.key = ct_pptp_info->pac_call_id; in pptp_exp_gre() 224 expect_reply->saved_proto.gre.key = nat_pptp_info->pns_call_id; in pptp_exp_gre() 225 expect_reply->tuple.src.u.gre.key = nat_pptp_info->pac_call_id; in pptp_exp_gre() 226 expect_reply->tuple.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_exp_gre()
|
/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | bpf_flow.c | 156 struct gre_hdr *gre, _gre; in parse_ip_proto() local 180 gre = bpf_flow_dissect_get_header(skb, sizeof(*gre), &_gre); in parse_ip_proto() 181 if (!gre) in parse_ip_proto() 184 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto() 188 keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */ in parse_ip_proto() 189 if (GRE_IS_CSUM(gre->flags)) in parse_ip_proto() 191 if (GRE_IS_KEY(gre->flags)) in parse_ip_proto() 193 if (GRE_IS_SEQ(gre->flags)) in parse_ip_proto() 200 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto() 210 return parse_eth_proto(skb, gre->proto); in parse_ip_proto()
|
D | test_tc_tunnel.c | 42 struct gre_hdr gre; member 152 olen += sizeof(h_outer.l4hdr.gre); in encap_ipv4() 153 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in encap_ipv4() 154 h_outer.l4hdr.gre.flags = 0; in encap_ipv4() 260 olen += sizeof(h_outer.l4hdr.gre); in encap_ipv6() 261 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in encap_ipv6() 262 h_outer.l4hdr.gre.flags = 0; in encap_ipv6()
|
/Linux-v5.4/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_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 | 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 | 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 | gre_inner_v4_multipath.sh | 99 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 179 tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol4
|
D | gre_inner_v6_multipath.sh | 99 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 179 tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol4
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | test_flow_dissector.sh | 95 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \ 98 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \ 101 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
|
D | with_tunnels.sh | 11 ip link add "gre_${SUFFIX}" type gre ${CONFIG}
|
D | test_tc_tunnel.sh | 105 $0 ipv4 gre $mac 100 111 $0 ipv4 gre $mac 2000
|
/Linux-v5.4/net/ipv4/ |
D | Makefile | 28 gre-y := gre_demux.o 30 obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o
|
/Linux-v5.4/include/uapi/linux/netfilter/ |
D | nf_conntrack_tuple_common.h | 41 } gre; member
|
/Linux-v5.4/net/openvswitch/ |
D | Makefile | 26 obj-$(CONFIG_OPENVSWITCH_GRE) += vport-gre.o
|
/Linux-v5.4/include/net/netns/ |
D | conntrack.h | 85 struct nf_gre_net gre; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste.c | 1701 DR_STE_SET_MASK_V(gre, bit_mask, gre_protocol, misc_mask, gre_protocol); in dr_ste_build_gre_bit_mask() 1702 DR_STE_SET_MASK_V(gre, bit_mask, gre_k_present, misc_mask, gre_k_present); in dr_ste_build_gre_bit_mask() 1703 DR_STE_SET_MASK_V(gre, bit_mask, gre_key_h, misc_mask, gre_key_h); in dr_ste_build_gre_bit_mask() 1704 DR_STE_SET_MASK_V(gre, bit_mask, gre_key_l, misc_mask, gre_key_l); in dr_ste_build_gre_bit_mask() 1706 DR_STE_SET_MASK_V(gre, bit_mask, gre_c_present, misc_mask, gre_c_present); in dr_ste_build_gre_bit_mask() 1707 DR_STE_SET_MASK_V(gre, bit_mask, gre_s_present, misc_mask, gre_s_present); in dr_ste_build_gre_bit_mask() 1718 DR_STE_SET_TAG(gre, tag, gre_protocol, misc, gre_protocol); in dr_ste_build_gre_tag() 1720 DR_STE_SET_TAG(gre, tag, gre_k_present, misc, gre_k_present); in dr_ste_build_gre_tag() 1721 DR_STE_SET_TAG(gre, tag, gre_key_h, misc, gre_key_h); in dr_ste_build_gre_tag() 1722 DR_STE_SET_TAG(gre, tag, gre_key_l, misc, gre_key_l); in dr_ste_build_gre_tag() [all …]
|
/Linux-v5.4/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 64 } gre; member
|