Home
last modified time | relevance | path

Searched refs:nat_t (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h133 } nat_t; typedef
388 nat_t **ns_table[2];
399 nat_t *ns_instances;
472 extern nat_t *nat_new __P((fr_info_t *, ipnat_t *, nat_t **, u_int, int));
473 extern nat_t *nat_outlookup __P((fr_info_t *, u_int, u_int, struct in_addr,
476 extern nat_t *nat_inlookup __P((fr_info_t *, u_int, u_int, struct in_addr,
478 extern nat_t *nat_tnlookup __P((fr_info_t *, int));
479 extern nat_t *nat_maplookup __P((void *, u_int, struct in_addr,
481 extern nat_t *nat_lookupredir __P((natlookup_t *, ipf_stack_t *));
482 extern nat_t *nat_icmperrorlookup __P((fr_info_t *, int));
[all …]
H A Dip_h323_pxy.c43 int ippr_h323_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
45 int ippr_h323_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
46 int ippr_h323_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
48 int ippr_h245_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
49 int ippr_h245_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
50 int ippr_h245_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
130 nat_t *nat;
181 nat_t *nat;
250 nat_t *nat;
266 nat_t *nat;
[all …]
H A Dip_rcmd_pxy.c24 int ippr_rcmd_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
25 int ippr_rcmd_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
26 int ippr_rcmd_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
28 int ippr_rcmd_portmsg __P((fr_info_t *, ap_session_t *, nat_t *, ifs_rcmdpxy_t *));
80 nat_t *nat;
123 nat_t *nat;
132 nat_t *nat2;
240 nat_t *nat;
252 nat_t *nat;
H A Dip_pptp_pxy.c46 int ippr_pptp_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
48 int ippr_pptp_inout __P((fr_info_t *, ap_session_t *, nat_t *, void *));
49 void ippr_pptp_donatstate __P((fr_info_t *, nat_t *, pptp_pxy_t *, ifs_pptppxy_t *));
50 int ippr_pptp_message __P((fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *, ifs_pptppxy_t *));
51 int ippr_pptp_nextmessage __P((fr_info_t *, nat_t *, pptp_pxy_t *, int, ifs_pptppxy_t *));
52 int ippr_pptp_mctl __P((fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *, ifs_pptppxy_t *));
109 nat_t *nat;
172 nat_t *nat;
178 nat_t *nat2;
256 nat_t *nat;
[all …]
H A Dip_rpcb_pxy.c61 int ippr_rpcb_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
63 int ippr_rpcb_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
64 int ippr_rpcb_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
67 static int ippr_rpcb_decodereq __P((fr_info_t *, nat_t *,
76 static int ippr_rpcb_modreq __P((fr_info_t *, nat_t *, rpc_msg_t *,
78 static int ippr_rpcb_decoderep __P((fr_info_t *, nat_t *,
85 static int ippr_rpcb_getnat __P((fr_info_t *, nat_t *, u_int, u_int, ifs_rpcbpxy_t *));
86 static int ippr_rpcb_modv3 __P((fr_info_t *, nat_t *, rpc_msg_t *,
88 static int ippr_rpcb_modv4 __P((fr_info_t *, nat_t *, rpc_msg_t *,
173 nat_t *nat;
[all …]
H A Dip_irc_pxy.c24 int ippr_irc_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
25 int ippr_irc_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
26 int ippr_irc_send __P((fr_info_t *, nat_t *, ifs_ircpxy_t *));
251 nat_t *nat;
273 nat_t *nat;
284 nat_t *nat2;
450 nat_t *nat;
H A Dip_raudio_pxy.c21 int ippr_raudio_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
22 int ippr_raudio_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
23 int ippr_raudio_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
75 nat_t *nat;
99 nat_t *nat;
206 nat_t *nat;
218 nat_t *nat2;
H A Dip_ftp_pxy.c67 int ippr_ftp_client __P((fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int,
70 int ippr_ftp_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
73 int ippr_ftp_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
74 int ippr_ftp_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
75 int ippr_ftp_pasv __P((fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int,
77 int ippr_ftp_epsv __P((fr_info_t *, ip_t *, nat_t *, ftpside_t *, int,
79 int ippr_ftp_port __P((fr_info_t *, ip_t *, nat_t *, ftpside_t *, int,
81 int ippr_ftp_process __P((fr_info_t *, nat_t *, ftpinfo_t *, int,
83 int ippr_ftp_server __P((fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int,
89 int ippr_ftp_pasvreply __P((fr_info_t *, ip_t *, nat_t *, ftpside_t *,
[all …]
H A Dip_ipsec_pxy.c28 int ippr_ipsec_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
30 int ippr_ipsec_inout __P((fr_info_t *, ap_session_t *, nat_t *, void *));
31 int ippr_ipsec_match __P((fr_info_t *, ap_session_t *, nat_t *, void *));
114 nat_t *nat;
221 nat_t *nat;
303 nat_t *nat;
H A Dip_netbios_pxy.c47 int ippr_netbios_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
96 nat_t *nat;
H A Dipf_stack.h217 nat_t **ifs_nat_table[2];
218 nat_t *ifs_nat_instances;
H A Dip_proxy.h249 nat_t *ipsc_nat;
269 nat_t *pptp_nat;
H A Dip_frag.h63 extern nat_t *fr_nat_knownfrag __P((fr_info_t *));
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c119 static INLINE int nat6_newmap __P((fr_info_t *, nat_t *, natinfo_t *));
120 static INLINE int nat6_newrdr __P((fr_info_t *, nat_t *, natinfo_t *));
121 static INLINE int nat6_finalise __P((fr_info_t *, nat_t *, natinfo_t *,
122 tcphdr_t *, nat_t **, int));
123 static void nat6_tabmove __P((nat_t *, ipf_stack_t *));
282 nat_t *nat;
290 nat_t *natl;
548 nat_t *nat;
557 nat_t *natl;
736 nat_t *nat6_new(fin, np, natsave, flags, direction) in nat6_new()
[all …]
H A Dip_nat.c147 static void nat_tabmove __P((nat_t *, ipf_stack_t *));
149 static INLINE int nat_newmap __P((fr_info_t *, nat_t *, natinfo_t *));
150 static INLINE int nat_newrdr __P((fr_info_t *, nat_t *, natinfo_t *));
159 static INLINE int nat_finalise __P((fr_info_t *, nat_t *, natinfo_t *,
160 tcphdr_t *, nat_t **, int));
184 KMALLOCS(ifs->ifs_nat_table[0], nat_t **,
185 sizeof(nat_t *) * ifs->ifs_ipf_nattable_sz);
188 ifs->ifs_ipf_nattable_sz * sizeof(nat_t *));
192 KMALLOCS(ifs->ifs_nat_table[1], nat_t **,
193 sizeof(nat_t *) * ifs->ifs_ipf_nattable_sz);
[all …]
H A Dip_frag.c426 nat_t *nat;
595 nat_t *fr_nat_knownfrag(fin) in fr_nat_knownfrag()
598 nat_t *nat;
789 nat_t *nat;
827 nat_t *nat;
H A Dip_proxy.c359 nat_t *nat;
405 nat_t *nat;
472 nat_t *nat;
H A Dfil.c7220 fr_natderef((nat_t **)datap, ifs);
7544 if (nat_delete((nat_t *)ent, NL_FLUSH, ifs) == 0)
7581 nat_t *nat;
7608 nat = (nat_t *)ent;
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dgetnattype.c24 nat_t *nat; in getnattype()
H A Dprintactivenat.c16 nat_t *nat; in printactivenat()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat.c294 nat_t *np, nat; in dostats()
427 nat_t nat; in dostats_live()
H A Dipfs.c170 nat_t *nat;
570 nat_t *nat;
H A Dipftest.c634 nat_t *nat;