Home
last modified time | relevance | path

Searched defs:nat (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_nat.c978 ipnat_t *nat, *nt, *n; in ipf_nat_ioctl() local
1665 nat_t *nat, *n; in ipf_nat_getsz() local
1758 nat_t *n, *nat; in ipf_nat_getent() local
1889 nat_t *n, *nat; in ipf_nat_putent() local
2226 ipf_nat_delete(ipf_main_softc_t *softc, struct nat *nat, int logtype) in ipf_nat_delete()
2401 nat_t *nat; in ipf_nat_flushtable() local
2493 nat_t *nat; in ipf_nat_delrule() local
2550 ipf_nat_newmap(fr_info_t *fin, nat_t *nat, natinfo_t *ni) in ipf_nat_newmap()
2814 ipf_nat_newrdr(fr_info_t *fin, nat_t *nat, natinfo_t *ni) in ipf_nat_newrdr()
3031 nat_t *nat, *natl; in ipf_nat_add() local
[all …]
H A Dip_nat.h87 typedef struct nat { struct
88 ipfmutex_t nat_lock; argument
89 struct nat *nat_next; argument
90 struct nat **nat_pnext; argument
91 struct nat *nat_hnext[2]; argument
92 struct nat **nat_phnext[2]; argument
93 struct hostmap *nat_hm; argument
94 void *nat_data; argument
95 struct nat **nat_me; argument
96 struct ipstate *nat_state; argument
[all …]
H A Dip_nat6.c440 ipf_nat6_newmap(fr_info_t *fin, nat_t *nat, natinfo_t *ni) in ipf_nat6_newmap()
718 ipf_nat6_newrdr(fr_info_t *fin, nat_t *nat, natinfo_t *ni) in ipf_nat6_newrdr()
936 nat_t *nat, *natl; in ipf_nat6_add() local
1127 ipf_nat6_finalise(fr_info_t *fin, nat_t *nat) in ipf_nat6_finalise()
1246 ipf_nat6_insert(ipf_main_softc_t *softc, ipf_nat_softc_t *softn, nat_t *nat) in ipf_nat6_insert()
1364 nat_t *nat; in ipf_nat6_icmperrorlookup() local
1560 nat_t *nat; in ipf_nat6_icmperror() local
1875 nat_t *nat; in ipf_nat6_inlookup() local
2098 ipf_nat6_tabmove(ipf_nat_softc_t *softn, nat_t *nat) in ipf_nat6_tabmove()
2197 nat_t *nat; in ipf_nat6_outlookup() local
[all …]
H A Dip_tftp_pxy.c130 ipf_p_tftp_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_out()
142 ipf_p_tftp_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_in()
154 ipf_p_tftp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_new()
266 ipf_p_tftp_backchannel(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_backchannel()
403 nat_t *nat) in ipf_p_tftp_client()
450 nat_t *nat) in ipf_p_tftp_server()
H A Dip_rpcb_pxy.c147 ipf_p_rpcb_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_new()
201 ipf_p_rpcb_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_in()
269 ipf_p_rpcb_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_out()
401 ipf_p_rpcb_decodereq(fr_info_t *fin, nat_t *nat, rpcb_session_t *rs, in ipf_p_rpcb_decodereq()
742 ipf_p_rpcb_modreq(fr_info_t *fin, nat_t *nat, rpc_msg_t *rm, mb_t *m, in ipf_p_rpcb_modreq()
821 ipf_p_rpcb_decoderep(fr_info_t *fin, nat_t *nat, rpcb_session_t *rs, in ipf_p_rpcb_decoderep()
1101 ipf_p_rpcb_getnat(fr_info_t *fin, nat_t *nat, u_int proto, u_int port) in ipf_p_rpcb_getnat()
1257 ipf_p_rpcb_modv3(fr_info_t *fin, nat_t *nat, rpc_msg_t *rm, mb_t *m, in ipf_p_rpcb_modv3()
1315 ipf_p_rpcb_modv4(fr_info_t *fin, nat_t *nat, rpc_msg_t *rm, mb_t *m, in ipf_p_rpcb_modv4()
H A Dip_rcmd_pxy.c66 ipf_p_rcmd_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_new()
135 ipf_p_rcmd_portmsg(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_portmsg()
318 ipf_p_rcmd_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_out()
327 ipf_p_rcmd_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_in()
H A Dip_pptp_pxy.c110 ipf_p_pptp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_pptp_new()
190 ipf_p_pptp_donatstate(fr_info_t *fin, nat_t *nat, pptp_pxy_t *pptp) in ipf_p_pptp_donatstate()
275 ipf_p_pptp_nextmessage(fr_info_t *fin, nat_t *nat, pptp_pxy_t *pptp, int rev) in ipf_p_pptp_nextmessage()
396 ipf_p_pptp_message(fr_info_t *fin, nat_t *nat, pptp_pxy_t *pptp, in ipf_p_pptp_message()
418 ipf_p_pptp_mctl(fr_info_t *fin, nat_t *nat, pptp_pxy_t *pptp, in ipf_p_pptp_mctl()
504 ipf_p_pptp_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_pptp_inout()
H A Dip_ftp_pxy.c222 ipf_p_ftp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ftp_new()
277 ipf_p_ftp_port(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_port()
429 ipf_p_ftp_addport(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_addport()
590 nat_t *nat, ftpinfo_t *ftp, int dlen) in ipf_p_ftp_client()
668 ipf_p_ftp_pasv(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_pasv()
808 nat_t *nat, ftpinfo_t *ftp, u_int port, char *newmsg, char *s) in ipf_p_ftp_pasvreply()
945 ipf_p_ftp_server(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_server()
1216 ipf_p_ftp_process(ipf_ftp_softc_t *softf, fr_info_t *fin, nat_t *nat, in ipf_p_ftp_process()
1549 ipf_p_ftp_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ftp_out()
1568 ipf_p_ftp_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ftp_in()
[all …]
H A Dip_irc_pxy.c224 ipf_p_irc_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_irc_new()
246 ipf_p_irc_send(fr_info_t *fin, nat_t *nat) in ipf_p_irc_send()
425 ipf_p_irc_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_irc_out()
H A Dip_raudio_pxy.c52 ipf_p_raudio_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_raudio_new()
75 ipf_p_raudio_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_raudio_out()
175 ipf_p_raudio_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_raudio_in()
H A Dip_ipsec_pxy.c126 ipf_p_ipsec_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ipsec_new()
258 ipf_p_ipsec_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ipsec_inout()
344 ipf_p_ipsec_match(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ipsec_match()
H A Dip_proxy.c744 ipf_proxy_match(fr_info_t *fin, nat_t *nat) in ipf_proxy_match()
796 ipf_proxy_new(fr_info_t *fin, nat_t *nat) in ipf_proxy_new()
867 ipf_proxy_check(fr_info_t *fin, nat_t *nat) in ipf_proxy_check()
1276 ipf_proxy_rule_rev(nat_t *nat) in ipf_proxy_rule_rev()
1363 ipf_proxy_rule_fwd(nat_t *nat) in ipf_proxy_rule_fwd()
H A Dip_frag.c534 nat_t *nat) in ipf_frag_natnew()
783 nat_t *nat; in ipf_frag_natknown() local
993 nat_t *nat; in ipf_frag_clear() local
1032 nat_t *nat; in ipf_frag_expire() local
H A Dip_dns_pxy.c171 ipf_p_dns_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_dns_new()
314 ipf_p_dns_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_dns_inout()
361 ipf_p_dns_match(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_dns_match()
H A Dip_netbios_pxy.c70 ipf_p_netbios_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_netbios_out()
H A Dip_sync.c870 nat_t *n, *nat; in ipf_sync_nat() local
1104 nat_t *nat; in ipf_sync_update() local
/freebsd/sbin/ipf/libipf/
H A Dgetnattype.c18 getnattype(nat_t *nat) in getnattype()
H A Dprintactivenat.c17 printactivenat(nat_t *nat, int opts, u_long ticks) in printactivenat()
/freebsd/sbin/ipf/ipnat/
H A Dipnat.c328 nat_t *np, nat; in dostats_dead() local
520 nat_t nat; in dostats_live() local
676 nat_matcharray(nat_t *nat, int *array) in nat_matcharray()
/freebsd/sbin/ipf/ipfs/
H A Dipfs.c152 nat_t *nat; in changenatif() local
539 nat_t *nat; in readnat() local
/freebsd/share/examples/ipfilter/samples/
H A Dproxy.c144 nat_t *nat; local
/freebsd/tests/sys/netinet/libalias/
H A Dperf.c78 } nat, usenat, unnat, random, attack; in main() local
/freebsd/usr.sbin/ppp/
H A Dmain.c203 unsigned nat : 1; member
/freebsd/contrib/pf/ftp-proxy/
H A Dfilter.c86 u_int16_t d_port, struct sockaddr *nat, u_int16_t nat_range_low, in add_nat()
/freebsd/contrib/pf/tftp-proxy/
H A Dfilter.c90 u_int16_t d_port, struct sockaddr *nat, u_int16_t nat_range_low, in add_nat()

12