Home
last modified time | relevance | path

Searched refs:nat (Results 1 – 25 of 42) sorted by relevance

12

/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_nat6.c1028 bzero((char *)nat, sizeof(*nat));
1342 nat->nat_ref = nat->nat_me ? 2 : 1;
1360 nat->nat_ifps[1] = nat->nat_ifps[0];
1953 for (; nat; nat = nat->nat_hnext[1]) {
2043 for (; nat; nat = nat->nat_hnext[1]) {
2079 nat = ipf_nat_clone(fin, nat);
2152 *nat->nat_phnext[0] = nat->nat_hnext[0];
2157 *nat->nat_phnext[1] = nat->nat_hnext[1];
2270 for (; nat; nat = nat->nat_hnext[0]) {
2360 for (; nat; nat = nat->nat_hnext[0]) {
[all …]
H A Dip_nat.c2009 nat->nat_tqe.tqe_parent = nat;
2272 struct nat *nat;
2306 *nat->nat_pnext = nat->nat_next;
3160 bzero((char *)nat, sizeof(*nat));
4124 for (; nat; nat = nat->nat_hnext[1]) {
4220 for (; nat; nat = nat->nat_hnext[1]) {
4453 for (; nat; nat = nat->nat_hnext[0]) {
4543 for (; nat; nat = nat->nat_hnext[0]) {
5967 for (nat = softn->ipf_nat_instances; nat; nat = nat->nat_next) {
6140 struct nat *nat;
[all …]
H A Dip_tftp_pxy.c137 nat_t *nat;
153 nat_t *nat;
169 nat_t *nat;
179 np = nat->nat_ptr;
286 nat_t *nat;
338 if (nat->nat_v[0] == 4) {
367 if (nat->nat_v[0] == 6)
380 if (nat->nat_v[0] == 4) {
406 if (nat->nat_v[0] == 4) {
426 nat_t *nat;
[all …]
H A Dip_rcmd_pxy.c72 nat_t *nat;
82 np = nat->nat_ptr;
147 nat_t *nat;
228 nat->nat_pr[1],
233 nat->nat_pr[0],
243 nat->nat_pr[1],
244 nat->nat_osrcip,
248 nat->nat_pr[0],
249 nat->nat_osrcip,
334 nat_t *nat;
[all …]
H A Dip_ftp_pxy.c232 nat_t *nat;
241 nat = nat; /* LINT */
293 nat_t *nat;
456 nat_t *nat;
620 nat_t *nat;
705 nat_t *nat;
855 nat_t *nat;
1002 nat_t *nat;
1289 nat_t *nat;
1625 nat_t *nat;
[all …]
H A Dip_pptp_pxy.c110 ipf_p_pptp_new(arg, fin, aps, nat) in ipf_p_pptp_new() argument
114 nat_t *nat;
126 np = nat->nat_ptr;
194 ipf_p_pptp_donatstate(fin, nat, pptp) in ipf_p_pptp_donatstate() argument
196 nat_t *nat;
246 NAT_SLAVE, nat->nat_dir);
263 if (nat->nat_dir == NAT_INBOUND)
284 nat_t *nat;
409 nat_t *nat;
434 nat_t *nat;
[all …]
H A Dip_proxy.c774 nat_t *nat;
785 (u_long)fin, (u_long)nat, (u_long)nat->nat_aps,
804 result = (*apr->apr_match)(fin, nat->nat_aps, nat);
828 nat_t *nat;
838 if ((nat->nat_ptr == NULL) || (nat->nat_aps != NULL)) {
841 (u_long)nat->nat_ptr, (u_long)nat->nat_aps);
901 nat_t *nat;
982 aps, nat);
986 aps, nat);
1322 nat_t *nat; in ipf_proxy_rule_rev()
[all …]
H A Dip_rpcb_pxy.c151 nat_t *nat;
155 nat = nat; /* LINT */
211 nat_t *nat;
283 nat_t *nat;
342 if (nat->nat_odstaddr != nat->nat_ndstaddr) {
418 nat_t *nat;
505 if ((nat->nat_ndstaddr != nat->nat_odstaddr) ||
506 (nat->nat_ndport != nat->nat_odport))
774 nat_t *nat;
861 nat_t *nat;
[all …]
H A Dip_ipsec_pxy.c137 nat_t *nat;
171 np = nat->nat_ptr;
204 ipn->in_osrcip = nat->nat_osrcip;
206 ipn->in_nsrcip = nat->nat_nsrcip;
208 ipn->in_odstip = nat->nat_odstip;
210 ipn->in_ndstip = nat->nat_ndstip;
273 nat_t *nat;
320 nat->nat_dir);
359 ipf_p_ipsec_match(fin, aps, nat) in ipf_p_ipsec_match() argument
362 nat_t *nat;
[all …]
H A Dip_raudio_pxy.c53 ipf_p_raudio_new(arg, fin, aps, nat) in ipf_p_raudio_new() argument
57 nat_t *nat;
61 nat = nat; /* LINT */
80 ipf_p_raudio_out(arg, fin, aps, nat) in ipf_p_raudio_out() argument
84 nat_t *nat;
94 nat = nat; /* LINT */
184 ipf_p_raudio_in(arg, fin, aps, nat) in ipf_p_raudio_in() argument
188 nat_t *nat;
278 ip->ip_src = nat->nat_ndstip;
279 ip->ip_dst = nat->nat_odstip;
[all …]
H A Dip_irc_pxy.c227 ipf_p_irc_new(arg, fin, aps, nat) in ipf_p_irc_new() argument
231 nat_t *nat;
242 nat = nat; /* LINT */
253 ipf_p_irc_send(fin, nat) in ipf_p_irc_send() argument
255 nat_t *nat;
291 irc = nat->nat_aps->aps_data;
399 nat2 = ipf_nat_outlookup(fin, IPN_TCP, nat->nat_pr[1], nat->nat_nsrcip,
418 ip->ip_src = nat->nat_nsrcip;
438 ipf_p_irc_out(arg, fin, aps, nat) in ipf_p_irc_out() argument
442 nat_t *nat;
[all …]
H A Dip_netbios_pxy.c70 ipf_p_netbios_out(arg, fin, aps, nat) in ipf_p_netbios_out() argument
74 nat_t *nat;
83 nat = nat; /* LINT */
H A Dip_proxy.h30 struct nat;
113 struct nat *));
116 struct nat *));
118 struct nat *));
119 int (* apr_match) __P((fr_info_t *, ap_session_t *, struct nat *));
442 extern int ipf_proxy_check __P((fr_info_t *, struct nat *));
450 extern int ipf_proxy_match __P((fr_info_t *, struct nat *));
451 extern int ipf_proxy_new __P((fr_info_t *, struct nat *));
H A Dip_frag.c563 nat_t *nat;
578 fra->ipfr_data = nat;
579 nat->nat_data = fra;
821 nat_t *nat; local
833 nat = ipf->ipfr_data;
843 nat = NULL;
844 return nat;
1041 nat_t *nat; local
1055 if (nat != NULL) {
1081 nat_t *nat; local
[all …]
H A Dip_dns_pxy.c177 ipf_p_dns_new(arg, fin, aps, nat) in ipf_p_dns_new() argument
181 nat_t *nat;
335 ipf_p_dns_inout(arg, fin, aps, nat) in ipf_p_dns_inout() argument
339 nat_t *nat;
386 ipf_p_dns_match(fin, aps, nat) in ipf_p_dns_match() argument
389 nat_t *nat;
H A Dip_sync.h63 struct nat *slu_ipn;
94 struct nat sleu_ipn;
H A Dip_nat.h91 typedef struct nat { struct
93 struct nat *nat_next; argument
94 struct nat **nat_pnext; argument
95 struct nat *nat_hnext[2]; argument
96 struct nat **nat_phnext[2]; argument
99 struct nat **nat_me; argument
410 struct nat ipn_nat;
679 extern void ipf_nat_delete __P((ipf_main_softc_t *, struct nat *, int));
698 struct nat *, u_int));
H A Dip_sync.c137 void ipf_sync_natorder __P((int, struct nat *));
903 nat_t *n, *nat; local
928 nat = (nat_t *)data;
930 bcopy((char *)&nat->nat_age, (char *)&n->nat_age,
965 nat = sl->sl_ipn;
966 nat->nat_rev = sl->sl_rev;
968 MUTEX_ENTER(&nat->nat_lock);
970 MUTEX_EXIT(&nat->nat_lock);
1144 nat_t *nat; local
1199 nat = sl->sl_ipn;
[all …]
H A Dip_frag.h112 extern int ipf_frag_natnew __P((ipf_main_softc_t *, fr_info_t *, u_32_t, struct nat *));
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_nat.c116 LIST_FOREACH(ptr, &chain->nat, _next) { in ifaddr_change()
152 (ix < 0 || cmd->nat->id == ix)) in flush_nat_ptrs()
153 cmd->nat = NULL; in flush_nat_ptrs()
360 LIST_FOREACH(t, &chain->nat, _next) { in ipfw_nat()
784 LIST_FOREACH(ptr, &chain->nat, _next) in nat44_list_nat()
796 LIST_FOREACH(ptr, &chain->nat, _next) { in nat44_list_nat()
1001 ptr = lookup_nat(&chain->nat, i); in ipfw_nat_del()
1035 LIST_FOREACH(n, &chain->nat, _next) { in ipfw_nat_get_cfg()
1058 LIST_FOREACH(n, &chain->nat, _next) { in ipfw_nat_get_cfg()
1110 LIST_FOREACH(ptr, &chain->nat, _next) { in ipfw_nat_get_log()
[all …]
H A Dip_fw_table_value.c116 _MCPY(nat, IPFW_VTYPE_NAT); in mask_table_value()
614 v->nat = value; in ipfw_import_table_value_legacy()
650 v.nat = iv->nat; in ipfw_import_table_value_v1()
676 iv.nat = v->nat; in ipfw_export_table_value_v1()
/f-stack/tools/ipfw/
H A DMakefile8 SRCS= ipfw2.c ipv6.c main.c nat.c tables.c compat.c
/f-stack/dpdk/examples/ip_pipeline/
H A Daction.h53 struct rte_table_action_nat_config nat; member
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c1202 if ((nat->proto != 0x06) && in nat_cfg_check()
1203 (nat->proto != 0x11)) in nat_cfg_check()
2224 struct rte_table_action_nat_config nat; member
2273 return &ap_config->nat; in action_cfg_get()
2327 return nat_data_size(&ap_config->nat, in action_data_size()
2964 pkt_ipv4_work_nat(ip, data, &cfg->nat); in pkt_work()
2966 pkt_ipv6_work_nat(ip, data, &cfg->nat); in pkt_work()
3248 pkt_ipv4_work_nat(ip0, data0, &cfg->nat); in pkt4_work()
3249 pkt_ipv4_work_nat(ip1, data1, &cfg->nat); in pkt4_work()
3250 pkt_ipv4_work_nat(ip2, data2, &cfg->nat); in pkt4_work()
[all …]
/f-stack/tools/compat/include/netinet/
H A Dip_fw.h557 struct cfg_nat *nat; member
874 uint32_t nat; /* O_NAT */ member

12