/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/ |
H A D | ip_nat.h | 128 } nat_t; typedef in typeref:struct:nat 353 nat_t **ns_table[2]; 364 nat_t *ns_instances; 430 extern nat_t **nat_table[2]; 431 extern nat_t *nat_instances; 443 extern nat_t *nat_new(fr_info_t *, ipnat_t *, nat_t **, u_int, int); 444 extern nat_t *nat_outlookup(fr_info_t *, u_int, u_int, struct in_addr, 447 extern nat_t *nat_inlookup(fr_info_t *, u_int, u_int, struct in_addr, 449 extern nat_t *nat_tnlooku [all...] |
H A D | ip_h323_pxy.c | 34 ippr_h323_new(fr_info_t *, ap_session_t *, nat_t *); 38 ippr_h323_out(fr_info_t *, ap_session_t *, nat_t *); 40 ippr_h323_in(fr_info_t *, ap_session_t *, nat_t *); 43 ippr_h245_new(fr_info_t *, ap_session_t *, nat_t *); 45 ippr_h245_out(fr_info_t *, ap_session_t *, nat_t *); 47 ippr_h245_in(fr_info_t *, ap_session_t *, nat_t *); 111 ippr_h323_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 156 ippr_h323_in(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 220 ippr_h245_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 232 ippr_h245_out(fr_info_t *fin, ap_session_t *aps, nat_t *na [all...] |
H A D | ip_rcmd_pxy.c | 25 ippr_rcmd_new(fr_info_t *, ap_session_t *, nat_t *); 27 ippr_rcmd_out(fr_info_t *, ap_session_t *, nat_t *); 29 ippr_rcmd_in(fr_info_t *, ap_session_t *, nat_t *); 33 ippr_rcmd_portmsg(fr_info_t *, ap_session_t *, nat_t *); 70 ippr_rcmd_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 110 ippr_rcmd_portmsg(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 118 nat_t *nat2; 228 ippr_rcmd_out(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 237 ippr_rcmd_in(fr_info_t *fin, ap_session_t *aps, nat_t *nat)
|
H A D | ip_netbios_pxy.c | 47 ippr_netbios_out(fr_info_t *, ap_session_t *, nat_t *); 80 ippr_netbios_out(fr_info_t *fin, ap_session_t *aps, nat_t *nat)
|
H A D | ip_pptp_pxy.c | 47 ippr_pptp_new(fr_info_t *, ap_session_t *, nat_t *); 51 ippr_pptp_inout(fr_info_t *, ap_session_t *, nat_t *); 53 ippr_pptp_donatstate(fr_info_t *, nat_t *, pptp_pxy_t *); 55 ippr_pptp_message(fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *); 57 ippr_pptp_nextmessage(fr_info_t *, nat_t *, pptp_pxy_t *, int); 59 ippr_pptp_mctl(fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *); 104 ippr_pptp_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 167 ippr_pptp_donatstate(fr_info_t *fin, nat_t *nat, pptp_pxy_t *pptp) 171 nat_t *nat2; 253 ippr_pptp_nextmessage(fr_info_t *fin, nat_t *na [all...] |
H A D | ip_irc_pxy.c | 24 ippr_irc_new(fr_info_t *, ap_session_t *, nat_t *); 26 ippr_irc_out(fr_info_t *, ap_session_t *, nat_t *); 28 ippr_irc_send(fr_info_t *, nat_t *); 238 ippr_irc_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 258 ippr_irc_send(fr_info_t *fin, nat_t *nat) 268 nat_t *nat2; 436 ippr_irc_out(fr_info_t *fin, ap_session_t *aps, nat_t *nat)
|
H A D | ip_raudio_pxy.c | 22 ippr_raudio_new(fr_info_t *, ap_session_t *, nat_t *); 24 ippr_raudio_in(fr_info_t *, ap_session_t *, nat_t *); 26 ippr_raudio_out(fr_info_t *, ap_session_t *, nat_t *); 63 ippr_raudio_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 84 ippr_raudio_out(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 188 ippr_raudio_in(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 199 nat_t *nat2;
|
H A D | ip_rpcb_pxy.c | 55 int ippr_rpcb_new(fr_info_t *, ap_session_t *, nat_t *); 57 int ippr_rpcb_in(fr_info_t *, ap_session_t *, nat_t *); 58 int ippr_rpcb_out(fr_info_t *, ap_session_t *, nat_t *); 61 static int ippr_rpcb_decodereq(fr_info_t *, nat_t *, 69 static int ippr_rpcb_modreq(fr_info_t *, nat_t *, rpc_msg_t *, 71 static int ippr_rpcb_decoderep(fr_info_t *, nat_t *, 77 static int ippr_rpcb_getnat(fr_info_t *, nat_t *, u_int, u_int); 78 static int ippr_rpcb_modv3(fr_info_t *, nat_t *, rpc_msg_t *, 80 static int ippr_rpcb_modv4(fr_info_t *, nat_t *, rpc_msg_t *, 153 ippr_rpcb_new(fr_info_t *fin, ap_session_t *aps, nat_t *na [all...] |
H A D | ip_ipsec_pxy.c | 26 ippr_ipsec_new(fr_info_t *, ap_session_t *, nat_t *); 30 ippr_ipsec_inout(fr_info_t *, ap_session_t *, nat_t *); 32 ippr_ipsec_match(fr_info_t *, ap_session_t *, nat_t *); 99 ippr_ipsec_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 204 ippr_ipsec_inout(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 283 ippr_ipsec_match(fr_info_t *fin, ap_session_t *aps, nat_t *nat)
|
H A D | ip_ftp_pxy.c | 54 ippr_ftp_client(fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int); 58 ippr_ftp_in(fr_info_t *, ap_session_t *, nat_t *); 64 ippr_ftp_new(fr_info_t *, ap_session_t *, nat_t *); 66 ippr_ftp_out(fr_info_t *, ap_session_t *, nat_t *); 68 ippr_ftp_pasv(fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int); 70 ippr_ftp_epsv(fr_info_t *, ip_t *, nat_t *, ftpside_t *, int); 72 ippr_ftp_port(fr_info_t *, ip_t *, nat_t *, ftpside_t *, int); 74 ippr_ftp_process(fr_info_t *, nat_t *, ftpinfo_t *, int); 76 ippr_ftp_server(fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int); 86 ippr_ftp_pasvreply(fr_info_t *, ip_t *, nat_t *, ftpside_ [all...] |
H A D | ip_nat.c | 153 nat_t **nat_table[2] = { NULL, NULL }, 204 static void nat_tabmove(nat_t *); 207 nat_newmap(fr_info_t *, nat_t *, natinfo_t *); 209 nat_newrdr(fr_info_t *, nat_t *, natinfo_t *); 215 static int nat_finalise(fr_info_t *, nat_t *, natinfo_t *, 216 tcphdr_t *, nat_t **, int); 218 static nat_t *fr_natclone(fr_info_t *, nat_t *); 220 static int nat_wildok(nat_t *, int, int, int, int); 237 KMALLOCS(nat_table[0], nat_t **, sizeo [all...] |
H A D | ip_frag.h | 73 extern nat_t *fr_nat_knownfrag(fr_info_t *);
|
H A D | ip_frag.c | 421 fr_nat_newfrag(fr_info_t *fin, u_32_t pass, nat_t *nat) 582 /* Returns: nat_t* - pointer to 'parent' NAT structure if frag table */ 588 nat_t * 591 nat_t *nat; 785 nat_t *nat; 823 nat_t *nat;
|
H A D | ip_sync.c | 209 ipfsync_natorder(int way, nat_t *n) 719 nat_t *n, *nat; 729 KMALLOC(n, nat_t *); 742 nat = (nat_t *)data; 743 bzero((char *)n, offsetof(nat_t, nat_age)); 745 sizeof(*n) - offsetof(nat_t, nat_age)); 942 nat_t *nat;
|
H A D | ip_proxy.h | 242 nat_t *ipsc_nat; 262 nat_t *pptp_nat;
|
H A D | ip_fil_compat.c | 523 nat_t **ns_table[2]; 534 nat_t *ns_instances; 552 nat_t **ns_table[2]; 563 nat_t *ns_instances; 580 nat_t **ns_table[2]; 591 nat_t *ns_instances; 1043 bzero(ptr, sizeof(nat_t)); 1426 nat_3_to_current(nat_4_1_3_t *old, nat_t *current) 1434 nat_14_to_current(nat_4_1_14_t *old, nat_t *current)
|
/netbsd-6-1-5-RELEASE/dist/ipf/lib/ |
H A D | getnattype.c | 22 nat_t *nat;
|
H A D | printactivenat.c | 20 nat_t *nat;
|
/netbsd-6-1-5-RELEASE/dist/ipf/ |
H A D | ip_pptp_pxy.c | 40 int ippr_pptp_new(fr_info_t *, ap_session_t *, nat_t *); 42 int ippr_pptp_inout(fr_info_t *, ap_session_t *, nat_t *); 43 void ippr_pptp_donatstate(fr_info_t *, nat_t *, pptp_pxy_t *); 44 int ippr_pptp_message(fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *); 45 int ippr_pptp_nextmessage(fr_info_t *, nat_t *, pptp_pxy_t *, int); 46 int ippr_pptp_mctl(fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *); 90 ippr_pptp_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 153 ippr_pptp_donatstate(fr_info_t *fin, nat_t *nat, pptp_pxy_t *pptp) 157 nat_t *nat2; 239 ippr_pptp_nextmessage(fr_info_t *fin, nat_t *na [all...] |
H A D | ip_irc_pxy.c | 18 int ippr_irc_new(fr_info_t *, ap_session_t *, nat_t *); 19 int ippr_irc_out(fr_info_t *, ap_session_t *, nat_t *); 20 int ippr_irc_send(fr_info_t *, nat_t *); 228 ippr_irc_new(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 248 ippr_irc_send(fr_info_t *fin, nat_t *nat) 258 nat_t *nat2; 426 ippr_irc_out(fr_info_t *fin, ap_session_t *aps, nat_t *nat)
|
H A D | ip_rpcb_pxy.c | 52 int ippr_rpcb_new(fr_info_t *, ap_session_t *, nat_t *); 54 int ippr_rpcb_in(fr_info_t *, ap_session_t *, nat_t *); 55 int ippr_rpcb_out(fr_info_t *, ap_session_t *, nat_t *); 58 static int ippr_rpcb_decodereq(fr_info_t *, nat_t *, 66 static int ippr_rpcb_modreq(fr_info_t *, nat_t *, rpc_msg_t *, 68 static int ippr_rpcb_decoderep(fr_info_t *, nat_t *, 74 static int ippr_rpcb_getnat(fr_info_t *, nat_t *, u_int, u_int); 75 static int ippr_rpcb_modv3(fr_info_t *, nat_t *, rpc_msg_t *, 77 static int ippr_rpcb_modv4(fr_info_t *, nat_t *, rpc_msg_t *, 150 ippr_rpcb_new(fr_info_t *fin, ap_session_t *aps, nat_t *na [all...] |
H A D | ip_sync.c | 201 ipfsync_natorder(int way, nat_t *n) 711 nat_t *n, *nat; 721 KMALLOC(n, nat_t *); 734 nat = (nat_t *)data; 735 bzero((char *)n, offsetof(nat_t, nat_age)); 737 sizeof(*n) - offsetof(nat_t, nat_age)); 934 nat_t *nat;
|
H A D | ip_fil_compat.c | 523 nat_t **ns_table[2]; 534 nat_t *ns_instances; 552 nat_t **ns_table[2]; 563 nat_t *ns_instances; 580 nat_t **ns_table[2]; 591 nat_t *ns_instances; 1049 bzero(ptr, sizeof(nat_t)); 1432 nat_3_to_current(nat_4_1_3_t *old, nat_t *current) 1440 nat_14_to_current(nat_4_1_14_t *old, nat_t *current)
|
/netbsd-6-1-5-RELEASE/dist/ipf/tools/ |
H A D | ipnat.c | 317 nat_t *np, nat; 453 nat_t nat;
|
H A D | ipfs.c | 170 nat_t *nat; 576 nat_t *nat;
|