Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/netfilter/
Dnf_nat_proto_gre.c58 keyptr = &tuple->src.u.gre.key; in gre_unique_tuple()
60 keyptr = &tuple->dst.u.gre.key; in gre_unique_tuple()
67 min = ntohs(range->min_proto.gre.key); in gre_unique_tuple()
68 range_size = ntohs(range->max_proto.gre.key) - min + 1; in gre_unique_tuple()
113 pr_debug("call_id -> 0x%04x\n", ntohs(tuple->dst.u.gre.key)); in gre_manip_pkt()
114 pgreh->call_id = tuple->dst.u.gre.key; in gre_manip_pkt()
123 static const struct nf_nat_l4proto gre = { variable
135 return nf_nat_l4proto_register(NFPROTO_IPV4, &gre); in nf_nat_proto_gre_init()
140 nf_nat_l4proto_unregister(NFPROTO_IPV4, &gre); in nf_nat_proto_gre_fini()
Dnf_nat_pptp.c67 t.src.u.gre.key = ct_pptp_info->pac_call_id; in pptp_nat_expected()
69 t.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_nat_expected()
76 t.src.u.gre.key = nat_pptp_info->pns_call_id; in pptp_nat_expected()
78 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-v4.19/arch/x86/kernel/apic/
Dx2apic_uv_x.c444 struct uv_gam_range_entry *gre = uv_gre_table; in build_uv_gr_table() local
449 if (!gre) in build_uv_gr_table()
457 for (; gre->type != UV_GAM_RANGE_TYPE_UNUSED; gre++) { in build_uv_gr_table()
458 if (gre->type == UV_GAM_RANGE_TYPE_HOLE) { in build_uv_gr_table()
462 last_limit = gre->limit; in build_uv_gr_table()
466 last_limit = gre->limit; in build_uv_gr_table()
467 pr_info("UV: extra hole in GAM RE table @%d\n", (int)(gre - uv_gre_table)); in build_uv_gr_table()
470 if (_max_socket < gre->sockid) { in build_uv_gr_table()
471 …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()
474 sid = gre->sockid - _min_socket; in build_uv_gr_table()
[all …]
/Linux-v4.19/net/netfilter/
Dnf_conntrack_proto_gre.c103 key = km->tuple.src.u.gre.key; in gre_keymap_lookup()
212 tuple->dst.u.gre.key = pgrehdr->call_id; in gre_pkt_to_tuple()
214 tuple->src.u.gre.key = srckey; in gre_pkt_to_tuple()
224 (ct->proto.gre.timeout / HZ), in gre_print_conntrack()
225 (ct->proto.gre.stream_timeout / HZ)); in gre_print_conntrack()
244 ct->proto.gre.stream_timeout); in gre_packet()
250 ct->proto.gre.timeout); in gre_packet()
269 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in gre_new()
270 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in gre_new()
Dnf_conntrack_pptp.c110 ct->proto.gre.timeout = PPTP_GRE_TIMEOUT; in pptp_expectfn()
111 ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT; in pptp_expectfn()
156 sibling->proto.gre.timeout = 0; in destroy_sibling_or_exp()
157 sibling->proto.gre.stream_timeout = 0; in destroy_sibling_or_exp()
185 t.src.u.gre.key = ct_pptp_info->pns_call_id; in pptp_destroy_siblings()
186 t.dst.u.gre.key = ct_pptp_info->pac_call_id; in pptp_destroy_siblings()
193 t.src.u.gre.key = ct_pptp_info->pac_call_id; in pptp_destroy_siblings()
194 t.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_destroy_siblings()
Dnf_conntrack_standalone.c84 ntohs(tuple->src.u.gre.key), in print_tuple()
85 ntohs(tuple->dst.u.gre.key)); in print_tuple()
/Linux-v4.19/tools/testing/selftests/net/forwarding/
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
131 tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2
135 tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2
/Linux-v4.19/include/uapi/linux/netfilter/
Dnf_conntrack_tuple_common.h41 } gre; member
/Linux-v4.19/net/ipv4/
DMakefile28 gre-y := gre_demux.o
30 obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o
/Linux-v4.19/net/openvswitch/
DMakefile26 obj-$(CONFIG_OPENVSWITCH_GRE) += vport-gre.o
/Linux-v4.19/include/net/netfilter/
Dnf_conntrack_tuple.h64 } gre; member
Dnf_conntrack.h36 struct nf_ct_gre gre; member
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dmain.c2692 if (ib_spec->gre.mask.c_ks_res0_ver) in parse_flow_attr()
2701 ntohs(ib_spec->gre.mask.protocol)); in parse_flow_attr()
2703 ntohs(ib_spec->gre.val.protocol)); in parse_flow_attr()
2707 &ib_spec->gre.mask.key, in parse_flow_attr()
2708 sizeof(ib_spec->gre.mask.key)); in parse_flow_attr()
2711 &ib_spec->gre.val.key, in parse_flow_attr()
2712 sizeof(ib_spec->gre.val.key)); in parse_flow_attr()
/Linux-v4.19/tools/testing/selftests/net/
Drtnetlink.sh117 ip tunnel add $gredev mode gre remote $rem local $loc ttl 1
/Linux-v4.19/arch/um/drivers/
DKconfig243 This driver provides tap, raw, gre and l2tpv3 network transports
/Linux-v4.19/drivers/infiniband/core/
Duverbs_cmd.c3042 ib_spec->gre.size = sizeof(struct ib_flow_spec_gre); in ib_uverbs_kern_spec_to_ib_spec_filter()
3043 memcpy(&ib_spec->gre.val, kern_spec_val, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
3044 memcpy(&ib_spec->gre.mask, kern_spec_mask, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c597 struct gre_base_hdr *gre; in hns3_set_l2l3l4_len() member
701 struct gre_base_hdr *gre; in hns3_tunnel_csum_bug() member
/Linux-v4.19/include/rdma/
Dib_verbs.h2070 struct ib_flow_spec_gre gre; member
/Linux-v4.19/
DMAINTAINERS6284 F: include/net/gre.h