Home
last modified time | relevance | path

Searched refs:gre (Results 1 – 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dx2apic_uv_x.c602 struct uv_gam_range_entry *gre = uv_gre_table; in build_uv_gr_table() local
607 if (!gre) in build_uv_gr_table()
615 for (; gre->type != UV_GAM_RANGE_TYPE_UNUSED; gre++) { in build_uv_gr_table()
616 if (gre->type == UV_GAM_RANGE_TYPE_HOLE) { in build_uv_gr_table()
620 last_limit = gre->limit; in build_uv_gr_table()
624 last_limit = gre->limit; in build_uv_gr_table()
625 pr_info("UV: extra hole in GAM RE table @%d\n", (int)(gre - uv_gre_table)); in build_uv_gr_table()
628 if (_max_socket < gre->sockid) { in build_uv_gr_table()
629 …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()
632 sid = gre->sockid - _min_socket; in build_uv_gr_table()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_proto_gre.c55 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()
229 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet()
230 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet()
237 ct->proto.gre.stream_timeout); in nf_conntrack_gre_packet()
243 ct->proto.gre.timeout); in nf_conntrack_gre_packet()
Dnf_conntrack_pptp.c119 ct->proto.gre.timeout = PPTP_GRE_TIMEOUT; in pptp_expectfn()
120 ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT; in pptp_expectfn()
165 sibling->proto.gre.timeout = 0; in destroy_sibling_or_exp()
166 sibling->proto.gre.stream_timeout = 0; in destroy_sibling_or_exp()
194 t.src.u.gre.key = ct_pptp_info->pns_call_id; in pptp_destroy_siblings()
195 t.dst.u.gre.key = ct_pptp_info->pac_call_id; in pptp_destroy_siblings()
202 t.src.u.gre.key = ct_pptp_info->pac_call_id; in pptp_destroy_siblings()
203 t.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_destroy_siblings()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_nat_pptp.c68 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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_flow.c156 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()
Dtest_tc_tunnel.c42 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()
Dtest_cls_redirect.h45 struct gre_base_hdr gre; member
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dipip_flat_gre.sh29 sw1_flat_create gre $ol1 $ul1
30 sw2_flat_create gre $ol2 $ul2
42 test_mtu_change gre
Dipip_hier_gre.sh29 sw1_hierarchical_create gre $ol1 $ul1
30 sw2_hierarchical_create gre $ol2 $ul2
42 test_mtu_change gre
Dipip_flat_gre_key.sh29 sw1_flat_create gre $ol1 $ul1 key 233
30 sw2_flat_create gre $ol2 $ul2 key 233
42 test_mtu_change gre
Dipip_hier_gre_keys.sh29 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
Dipip_hier_gre_key.sh29 sw1_hierarchical_create gre $ol1 $ul1 key 22
30 sw2_hierarchical_create gre $ol2 $ul2 key 22
42 test_mtu_change gre
Dipip_flat_gre_keys.sh29 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
Dgre_multipath.sh85 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
Dgre_inner_v4_multipath.sh99 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
Dgre_inner_v6_multipath.sh99 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
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh131 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
134 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
137 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
Dwith_tunnels.sh11 ip link add "gre_${SUFFIX}" type gre ${CONFIG}
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
Dnf_conntrack_tuple_common.h48 } gre; member
/kernel/linux/linux-5.10/net/ipv4/
DMakefile28 gre-y := gre_demux.o
30 obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
Dnf_conntrack_tuple_common.h41 } gre; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
Dnf_conntrack_tuple_common.h38 } gre; member
/kernel/linux/linux-5.10/net/openvswitch/
DMakefile26 obj-$(CONFIG_OPENVSWITCH_GRE) += vport-gre.o
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_tunnel_ipip.sh71 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit
248 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit key 233
/kernel/linux/linux-5.10/include/net/netns/
Dconntrack.h85 struct nf_gre_net gre; member

12