Home
last modified time | relevance | path

Searched defs:nat (Results 1 – 25 of 35) 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()
1243 ipf_nat6_insert(ipf_main_softc_t *softc, ipf_nat_softc_t *softn, nat_t *nat) in ipf_nat6_insert()
1361 nat_t *nat; in ipf_nat6_icmperrorlookup() local
1553 nat_t *nat; in ipf_nat6_icmperror() local
1868 nat_t *nat; in ipf_nat6_inlookup() local
2088 ipf_nat6_tabmove(ipf_nat_softc_t *softn, nat_t *nat) in ipf_nat6_tabmove()
2188 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 __unused, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_new()
264 ipf_p_tftp_backchannel(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_backchannel()
401 nat_t *nat) in ipf_p_tftp_client()
448 nat_t *nat) in ipf_p_tftp_server()
H A Dip_rcmd_pxy.c66 ipf_p_rcmd_new(void *arg, fr_info_t *fin __unused, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_new()
129 ipf_p_rcmd_portmsg(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_portmsg()
312 ipf_p_rcmd_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_out()
321 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()
391 ipf_p_pptp_message(fr_info_t *fin, nat_t *nat, pptp_pxy_t *pptp, in ipf_p_pptp_message()
413 ipf_p_pptp_mctl(fr_info_t *fin, nat_t *nat, pptp_pxy_t *pptp, in ipf_p_pptp_mctl()
499 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_rpcb_pxy.c199 ipf_p_rpcb_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_in()
267 ipf_p_rpcb_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_out()
399 ipf_p_rpcb_decodereq(fr_info_t *fin, nat_t *nat, rpcb_session_t *rs, in ipf_p_rpcb_decodereq()
740 ipf_p_rpcb_modreq(fr_info_t *fin, nat_t *nat, rpc_msg_t *rm, mb_t *m, in ipf_p_rpcb_modreq()
819 ipf_p_rpcb_decoderep(fr_info_t *fin, nat_t *nat, rpcb_session_t *rs, in ipf_p_rpcb_decoderep()
1097 ipf_p_rpcb_getnat(fr_info_t *fin, nat_t *nat, u_int proto, u_int port) in ipf_p_rpcb_getnat()
1253 ipf_p_rpcb_modv3(fr_info_t *fin, nat_t *nat, rpc_msg_t *rm, mb_t *m, in ipf_p_rpcb_modv3()
1311 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_ftp_pxy.c275 ipf_p_ftp_port(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_port()
427 ipf_p_ftp_addport(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_addport()
588 nat_t *nat, ftpinfo_t *ftp, int dlen) in ipf_p_ftp_client()
666 ipf_p_ftp_pasv(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_pasv()
806 nat_t *nat, ftpinfo_t *ftp, u_int port, char *newmsg, char *s) in ipf_p_ftp_pasvreply()
943 ipf_p_ftp_server(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_server()
1214 ipf_p_ftp_process(ipf_ftp_softc_t *softf, fr_info_t *fin, nat_t *nat, in ipf_p_ftp_process()
1547 ipf_p_ftp_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ftp_out()
1566 ipf_p_ftp_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ftp_in()
1616 ipf_p_ftp_eprt(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat, in ipf_p_ftp_eprt()
[all …]
H A Dip_proxy.c742 ipf_proxy_match(fr_info_t *fin, nat_t *nat) in ipf_proxy_match()
794 ipf_proxy_new(fr_info_t *fin, nat_t *nat) in ipf_proxy_new()
865 ipf_proxy_check(fr_info_t *fin, nat_t *nat) in ipf_proxy_check()
1274 ipf_proxy_rule_rev(nat_t *nat) in ipf_proxy_rule_rev()
1361 ipf_proxy_rule_fwd(nat_t *nat) in ipf_proxy_rule_fwd()
H A Dip_irc_pxy.c244 ipf_p_irc_send(fr_info_t *fin, nat_t *nat) in ipf_p_irc_send()
423 ipf_p_irc_out(void *arg, fr_info_t *fin, ap_session_t *aps __unused, nat_t *nat) in ipf_p_irc_out()
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_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()
H A Dip_raudio_pxy.c171 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_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()
/freebsd/sys/netpfil/pf/
H A Dpflow.c923 copy_nat_ipfix_4_to_m(struct pflow_ipfix_nat4 *nat, const struct pf_kstate *st, in copy_nat_ipfix_4_to_m()
997 bool nat = false; in pflow_pack_flow_ipfix() local

12