Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv4/netfilter/
Dnf_nat_proto_gre.c56 keyptr = &tuple->src.u.gre.key; in gre_unique_tuple()
58 keyptr = &tuple->dst.u.gre.key; in gre_unique_tuple()
65 min = ntohs(range->min.gre.key); in gre_unique_tuple()
66 range_size = ntohs(range->max.gre.key) - min + 1; in gre_unique_tuple()
110 pr_debug("call_id -> 0x%04x\n", ntohs(tuple->dst.u.gre.key)); in gre_manip_pkt()
111 pgreh->call_id = tuple->dst.u.gre.key; in gre_manip_pkt()
120 static const struct nf_nat_protocol gre = { variable
132 return nf_nat_protocol_register(&gre); in nf_nat_proto_gre_init()
137 nf_nat_protocol_unregister(&gre); in nf_nat_proto_gre_fini()
Dnf_nat_pptp.c61 t.src.u.gre.key = ct_pptp_info->pac_call_id; in pptp_nat_expected()
63 t.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_nat_expected()
70 t.src.u.gre.key = nat_pptp_info->pns_call_id; in pptp_nat_expected()
72 t.dst.u.gre.key = nat_pptp_info->pac_call_id; in pptp_nat_expected()
202 expect_orig->saved_proto.gre.key = ct_pptp_info->pns_call_id; in pptp_exp_gre()
203 expect_orig->tuple.src.u.gre.key = nat_pptp_info->pns_call_id; in pptp_exp_gre()
204 expect_orig->tuple.dst.u.gre.key = ct_pptp_info->pac_call_id; in pptp_exp_gre()
208 expect_reply->saved_proto.gre.key = nat_pptp_info->pns_call_id; in pptp_exp_gre()
209 expect_reply->tuple.src.u.gre.key = nat_pptp_info->pac_call_id; in pptp_exp_gre()
210 expect_reply->tuple.dst.u.gre.key = ct_pptp_info->pns_call_id; in pptp_exp_gre()
/linux-3.4.99/net/netfilter/
Dnf_conntrack_proto_gre.c95 key = km->tuple.src.u.gre.key; in gre_keymap_lookup()
179 tuple->dst.u.gre.key = orig->src.u.gre.key; in gre_invert_tuple()
180 tuple->src.u.gre.key = orig->dst.u.gre.key; in gre_invert_tuple()
214 tuple->dst.u.gre.key = pgrehdr->call_id; in gre_pkt_to_tuple()
216 tuple->src.u.gre.key = srckey; in gre_pkt_to_tuple()
226 ntohs(tuple->src.u.gre.key), in gre_print_tuple()
227 ntohs(tuple->dst.u.gre.key)); in gre_print_tuple()
234 (ct->proto.gre.timeout / HZ), in gre_print_conntrack()
235 (ct->proto.gre.stream_timeout / HZ)); in gre_print_conntrack()
256 ct->proto.gre.stream_timeout); in gre_packet()
[all …]
Dnf_conntrack_pptp.c108 ct->proto.gre.timeout = PPTP_GRE_TIMEOUT; in pptp_expectfn()
109 ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT; in pptp_expectfn()
155 sibling->proto.gre.timeout = 0; in destroy_sibling_or_exp()
156 sibling->proto.gre.stream_timeout = 0; in destroy_sibling_or_exp()
185 t.src.u.gre.key = help->help.ct_pptp_info.pns_call_id; in pptp_destroy_siblings()
186 t.dst.u.gre.key = help->help.ct_pptp_info.pac_call_id; in pptp_destroy_siblings()
193 t.src.u.gre.key = help->help.ct_pptp_info.pac_call_id; in pptp_destroy_siblings()
194 t.dst.u.gre.key = help->help.ct_pptp_info.pns_call_id; in pptp_destroy_siblings()
/linux-3.4.99/include/linux/netfilter/
Dnf_conntrack_tuple_common.h34 } gre; member
/linux-3.4.99/net/ipv4/
DMakefile21 obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o
/linux-3.4.99/include/net/netfilter/
Dnf_conntrack_tuple.h63 } gre; member
Dnf_conntrack.h35 struct nf_ct_gre gre; member
/linux-3.4.99/
DMAINTAINERS3005 F: net/ipv4/gre.c
3006 F: include/net/gre.h