/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_nat.h | 133 } 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 D | ip_h323_pxy.c | 43 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 D | ip_rcmd_pxy.c | 24 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 D | ip_pptp_pxy.c | 46 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 D | ip_rpcb_pxy.c | 61 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 D | ip_irc_pxy.c | 24 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 D | ip_raudio_pxy.c | 21 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 D | ip_ftp_pxy.c | 67 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 D | ip_ipsec_pxy.c | 28 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 D | ip_netbios_pxy.c | 47 int ippr_netbios_out __P((fr_info_t *, ap_session_t *, nat_t *, void *)); 96 nat_t *nat;
|
H A D | ipf_stack.h | 217 nat_t **ifs_nat_table[2]; 218 nat_t *ifs_nat_instances;
|
H A D | ip_proxy.h | 249 nat_t *ipsc_nat; 269 nat_t *pptp_nat;
|
H A D | ip_frag.h | 63 extern nat_t *fr_nat_knownfrag __P((fr_info_t *));
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_nat6.c | 119 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 D | ip_nat.c | 147 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 D | ip_frag.c | 426 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 D | ip_proxy.c | 359 nat_t *nat; 405 nat_t *nat; 472 nat_t *nat;
|
H A D | fil.c | 7220 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 D | getnattype.c | 24 nat_t *nat; in getnattype()
|
H A D | printactivenat.c | 16 nat_t *nat; in printactivenat()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipnat.c | 294 nat_t *np, nat; in dostats() 427 nat_t nat; in dostats_live()
|
H A D | ipfs.c | 170 nat_t *nat; 570 nat_t *nat;
|
H A D | ipftest.c | 634 nat_t *nat;
|