Searched refs:in_ifnames (Results 1 – 9 of 9) sorted by relevance
/freebsd/sbin/ipf/libipf/ |
H A D | printnat.c | 91 if (!strcmp(base + np->in_ifnames[0], "-")) in printnat() 92 PRINTF(" \"%s\"", base + np->in_ifnames[0]); in printnat() 94 PRINTF(" %s", base + np->in_ifnames[0]); in printnat() 95 if ((np->in_ifnames[1] != -1) && in printnat() 96 (strcmp(base + np->in_ifnames[0], base + np->in_ifnames[1]) != 0)) { in printnat() 97 if (!strcmp(base + np->in_ifnames[1], "-")) in printnat() 98 PRINTF(",\"%s\"", base + np->in_ifnames[1]); in printnat() 100 PRINTF(",%s", base + np->in_ifnames[1]); in printnat() 120 np->in_ifnames[0]); in printnat() 128 np->in_ifnames[0]); in printnat() [all …]
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_ipsec_pxy.c | 208 bcopy(np->in_names, ipn->in_ifnames, ipn->in_namelen); in ipf_p_ipsec_new() 209 ipn->in_ifnames[0] = np->in_ifnames[0]; in ipf_p_ipsec_new() 210 ipn->in_ifnames[1] = np->in_ifnames[1]; in ipf_p_ipsec_new()
|
H A D | ip_tftp_pxy.c | 239 bcopy(np->in_names, ipn->in_ifnames, ipn->in_namelen); in ipf_p_tftp_new() 240 ipn->in_ifnames[0] = np->in_ifnames[0]; in ipf_p_tftp_new() 241 ipn->in_ifnames[1] = np->in_ifnames[1]; in ipf_p_tftp_new()
|
H A D | ip_pptp_pxy.c | 176 bcopy(np->in_names, ipn->in_ifnames, ipn->in_namelen); in ipf_p_pptp_new() 177 ipn->in_ifnames[0] = np->in_ifnames[0]; in ipf_p_pptp_new() 178 ipn->in_ifnames[1] = np->in_ifnames[1]; in ipf_p_pptp_new()
|
H A D | ip_proxy.c | 1341 ipn->in_ifnames[0] = old->in_ifnames[1]; in ipf_proxy_rule_rev() 1342 ipn->in_ifnames[1] = old->in_ifnames[0]; in ipf_proxy_rule_rev() 1413 ipn->in_ifnames[0] = old->in_ifnames[0]; in ipf_proxy_rule_fwd() 1414 ipn->in_ifnames[1] = old->in_ifnames[1]; in ipf_proxy_rule_fwd()
|
H A D | ip_nat.c | 1590 n->in_ifps[0] = ipf_resolvenic(softc, base + n->in_ifnames[0], in ipf_nat_resolverule() 1593 if (n->in_ifnames[1] == -1) { in ipf_nat_resolverule() 1594 n->in_ifnames[1] = n->in_ifnames[0]; in ipf_nat_resolverule() 1597 n->in_ifps[1] = ipf_resolvenic(softc, base + n->in_ifnames[1], in ipf_nat_resolverule() 3405 } else if (in->in_ifnames[1] != -1) { in ipf_nat_insert() 3408 name = in->in_names + in->in_ifnames[1]; in ipf_nat_insert() 5942 base + n->in_ifnames[0], in ipf_nat_sync() 5946 base + n->in_ifnames[1], in ipf_nat_sync()
|
H A D | ip_nat.h | 252 int in_ifnames[2]; member
|
H A D | ip_nat6.c | 1321 } else if (in->in_ifnames[1] != -1) { in ipf_nat6_insert() 1324 name = in->in_names + in->in_ifnames[1]; in ipf_nat6_insert()
|
/freebsd/sbin/ipf/ipnat/ |
H A D | ipnat_y.y | 1387 n->in_ifnames[0] = -1; in newnatrule() 1388 n->in_ifnames[1] = -1; in newnatrule() 1547 if (nat->in_ifnames[1] == -1) in setmapifnames() 1548 nat->in_ifnames[1] = nat->in_ifnames[0]; in setmapifnames() 1572 if (nat->in_ifnames[1] == -1) in setrdrifnames() 1573 nat->in_ifnames[1] = nat->in_ifnames[0]; in setrdrifnames() 1719 (*np)->in_ifnames[idx] = pos; in setifname()
|