Home
last modified time | relevance | path

Searched refs:ipnat_t (Results 1 – 18 of 18) sorted by relevance

/titanic_44/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h214 } ipnat_t; typedef
277 #define IPN_CMPSIZ (sizeof (ipnat_t) - offsetof(ipnat_t, in_flags))
366 ipnat_t *nai_np;
390 ipnat_t *ns_list;
472 extern nat_t *nat_new __P((fr_info_t *, ipnat_t *, nat_t **, u_int, int));
497 extern void fr_ipnatderef __P((ipnat_t **, ipf_stack_t *));
500 extern void nat_update __P((fr_info_t *, nat_t *, ipnat_t *));
514 extern void nat6_addnat __P((ipnat_t *, ipf_stack_t *));
515 extern void nat6_addrdr __P((ipnat_t *, ipf_stack_t *));
516 extern nat_t *nat6_new __P((fr_info_t *, ipnat_t *, nat_t **, u_int, int));
H A Dip_h323_pxy.c151 ipnat_t *ipn;
155 i < (aps->aps_psiz / sizeof(ipnat_t));
156 i++, ipn = (ipnat_t *)((char *)ipn + sizeof(*ipn)))
200 ipnat_t *ipn;
211 ipn = (ipnat_t *)&newarray[aps->aps_psiz];
212 bcopy((caddr_t)nat->nat_ptr, (caddr_t)ipn, sizeof(ipnat_t));
H A Dipf_stack.h213 ipnat_t *ifs_nat_list;
225 ipnat_t **ifs_nat_rules;
226 ipnat_t **ifs_rdr_rules;
H A Dip_proxy.h248 ipnat_t ipsc_rule;
268 ipnat_t pptp_rule;
H A Dip_ipsec_pxy.c119 ipnat_t *ipn;
H A Dip_pptp_pxy.c113 ipnat_t *ipn;
H A Dip_rpcb_pxy.c1179 ipnat_t *ipn, ipnat;
/titanic_44/usr/src/uts/common/inet/ipf/
H A Dip_nat.c148 static int nat_match __P((fr_info_t *, ipnat_t *));
151 static hostmap_t *nat_hostmap __P((ipnat_t *, struct in_addr,
155 static int nat_ruleaddrinit __P((ipnat_t *));
156 static int nat_siocaddnat __P((ipnat_t *, ipnat_t **, int, ipf_stack_t *));
157 static void nat_siocdelnat __P((ipnat_t *, ipnat_t **, int, ipf_stack_t *));
161 static INLINE int nat_resolverule __P((ipnat_t *, ipf_stack_t *));
200 KMALLOCS(ifs->ifs_nat_rules, ipnat_t **,
201 sizeof(ipnat_t *) * ifs->ifs_ipf_natrules_sz);
204 ifs->ifs_ipf_natrules_sz * sizeof(ipnat_t *));
208 KMALLOCS(ifs->ifs_rdr_rules, ipnat_t **,
[all …]
H A Dip_nat6.c117 static hostmap_t *nat6_hostmap __P((ipnat_t *, i6addr_t *, i6addr_t *,
124 static int nat6_match __P((fr_info_t *, ipnat_t *));
138 ipnat_t *n; in nat6_addrdr()
141 ipnat_t **np;
171 ipnat_t *n; in nat6_addnat()
174 ipnat_t **np;
209 ipnat_t *np; in nat6_hostmap()
289 ipnat_t *np;
556 ipnat_t *np;
738 ipnat_t *np;
[all …]
H A Dip_proxy.c287 ipnat_t *nat;
362 ipnat_t *ipn;
H A Dfil.c7214 fr_ipnatderef((ipnat_t **)datap, ifs);
/titanic_44/usr/src/cmd/ipf/lib/common/
H A Dgetnattype.c30 ipnat_t *ipn, ipnatbuff;
H A Dprintproto.c18 ipnat_t *np;
H A Dnat_setgroupmap.c15 ipnat_t *n; in nat_setgroupmap()
H A Dprintnat.c26 ipnat_t *np; in printnat()
/titanic_44/usr/src/cmd/ipf/tools/
H A Dipnat_y.y61 static ipnat_t *nattop = NULL;
62 static ipnat_t *nat = NULL;
906 ipnat_t *n; in newnatrule()
973 ipnat_t *ipn;
978 obj.ipfo_size = sizeof(ipnat_t);
H A Dipnat.c308 ipnat_t ipn;
440 ipnat_t ipn;
H A Dipftest.c633 ipnat_t *ipn;