Home
last modified time | relevance | path

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

123

/linux/arch/x86/kernel/apic/
A Dx2apic_uv_x.c609 if (!gre) in build_uv_gr_table()
617 for (; gre->type != UV_GAM_RANGE_TYPE_UNUSED; gre++) { in build_uv_gr_table()
665 grt->nasid = gre->nasid; in build_uv_gr_table()
1348 uv_gre_table = gre; in decode_gam_rng_tbl()
1349 for (; gre->type != UV_GAM_RANGE_TYPE_UNUSED; gre++) { in decode_gam_rng_tbl()
1362 if (gre->type == 1 || gre->type == 2) in decode_gam_rng_tbl()
1375 gre->type, gre->nasid, gre->sockid, gre->pnode); in decode_gam_rng_tbl()
1378 lgre = gre->limit; in decode_gam_rng_tbl()
1494 if (!gre) { in build_socket_tables()
1522 for (; gre->type != UV_GAM_RANGE_TYPE_UNUSED; gre++) { in build_socket_tables()
[all …]
/linux/net/netfilter/
A Dnf_conntrack_proto_gre.c55 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()
216 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet()
217 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet()
224 ct->proto.gre.stream_timeout); in nf_conntrack_gre_packet()
230 ct->proto.gre.timeout); in nf_conntrack_gre_packet()
A 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()
/linux/net/ipv4/netfilter/
A 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()
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_flow.c155 struct gre_hdr *gre, _gre; in parse_ip_proto() local
179 gre = bpf_flow_dissect_get_header(skb, sizeof(*gre), &_gre); in parse_ip_proto()
180 if (!gre) in parse_ip_proto()
183 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto()
187 keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */ in parse_ip_proto()
188 if (GRE_IS_CSUM(gre->flags)) in parse_ip_proto()
190 if (GRE_IS_KEY(gre->flags)) in parse_ip_proto()
192 if (GRE_IS_SEQ(gre->flags)) in parse_ip_proto()
199 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
209 return parse_eth_proto(skb, gre->proto); in parse_ip_proto()
A Dtest_tc_tunnel.c57 struct gre_hdr gre; member
172 olen += sizeof(h_outer.l4hdr.gre); in __encap_ipv4()
173 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv4()
174 h_outer.l4hdr.gre.flags = 0; in __encap_ipv4()
303 olen += sizeof(h_outer.l4hdr.gre); in __encap_ipv6()
304 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv6()
305 h_outer.l4hdr.gre.flags = 0; in __encap_ipv6()
/linux/tools/testing/selftests/net/forwarding/
A Dipip_flat_gre.sh29 sw1_flat_create gre $ol1 $ul1
30 sw2_flat_create gre $ol2 $ul2
42 test_mtu_change gre
A Dipip_hier_gre.sh29 sw1_hierarchical_create gre $ol1 $ul1
30 sw2_hierarchical_create gre $ol2 $ul2
42 test_mtu_change gre
A 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
A 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
A 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
A 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
A 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
A Dgre_multipath_nh.sh94 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
A Dgre_multipath_nh_res.sh94 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
A Dip6gre_hier.sh44 test_mtu_change gre
A 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
A Dip6gre_flat_keys.sh44 test_mtu_change gre
/linux/tools/testing/selftests/bpf/
A 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 \
A Dtest_tc_tunnel.sh116 $0 ipv4 gre $mac 100
122 $0 ipv4 gre $mac 2000
254 elif [[ "$tuntype" =~ (gre|vxlan) && "$mac" == "eth" ]]; then
A Dwith_tunnels.sh11 ip link add "gre_${SUFFIX}" type gre ${CONFIG}
/linux/net/ipv4/
A DMakefile28 gre-y := gre_demux.o
30 obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Ddevlink_trap_tunnel_ipip.sh71 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/include/uapi/linux/netfilter/
A Dnf_conntrack_tuple_common.h41 } gre; member
/linux/net/openvswitch/
A DMakefile27 obj-$(CONFIG_OPENVSWITCH_GRE) += vport-gre.o

Completed in 28 milliseconds

123