Home
last modified time | relevance | path

Searched refs:na_atype (Results 1 – 9 of 9) sorted by relevance

/netbsd/external/bsd/ipf/dist/lib/
H A Dprintnataddr.c30 if (addr->na_atype == FRI_NORMAL &&
34 printaddr(AF_INET, addr->na_atype, base, ifidx,
41 printaddr(AF_INET6, addr->na_atype, base, ifidx,
H A Dprintnat.c156 if (np->in_nsrc.na_atype == FRI_LOOKUP &&
178 if (np->in_ndst.na_atype == FRI_LOOKUP &&
/netbsd/sys/external/bsd/ipf/netinet/
H A Dip_nat.h220 int na_atype; member
311 #define in_odstatype in_odst.na_atype
317 #define in_osrcatype in_osrc.na_atype
323 #define in_ndstatype in_ndst.na_atype
330 #define in_nsrcatype in_nsrc.na_atype
H A Dip_nat.c1537 if ((n->in_ndst.na_atype == FRI_LOOKUP) && in ipf_nat_ruleaddrinit()
1542 if ((n->in_nsrc.na_atype == FRI_LOOKUP) && in ipf_nat_ruleaddrinit()
7412 switch (na->na_atype) in ipf_nat_nextaddr()
7441 if (na->na_atype == FRI_LOOKUP) { in ipf_nat_nextaddr()
7449 } else if (na->na_atype == IPLT_NONE) { in ipf_nat_nextaddr()
7462 if (ipf_ifpaddr(softc, 4, na->na_atype, in ipf_nat_nextaddr()
7507 switch (na->na_atype) in ipf_nat_nextaddrinit()
8292 if (n1->in_ndst.na_atype != n2->in_ndst.na_atype) in ipf_nat_cmp_rules()
8299 if (n1->in_nsrc.na_atype != n2->in_nsrc.na_atype) in ipf_nat_cmp_rules()
8306 if (n1->in_odst.na_atype != n2->in_odst.na_atype) in ipf_nat_cmp_rules()
[all …]
H A Dip_nat6.c3819 switch (na->na_atype) in ipf_nat6_nextaddr()
3867 if (ipf_ifpaddr(softc, 6, na->na_atype, in ipf_nat6_nextaddr()
3913 switch (na->na_atype) in ipf_nat6_nextaddrinit()
3942 (void )ipf_ifpaddr(softc, 6, na->na_atype, ifp, in ipf_nat6_nextaddrinit()
3966 if (initial && (na->na_atype == FRI_NORMAL)) { in ipf_nat6_nextaddrinit()
H A Dip_fil_compat.c2374 np->in_ndst.na_atype = FRI_NORMAL; in ipnat_4_1_14_to_current()
2377 np->in_odst.na_atype = FRI_NORMAL; in ipnat_4_1_14_to_current()
2380 np->in_osrc.na_atype = FRI_NORMAL; in ipnat_4_1_14_to_current()
2385 np->in_nsrc.na_atype = FRI_NORMAL; in ipnat_4_1_14_to_current()
2388 np->in_osrc.na_atype = FRI_NORMAL; in ipnat_4_1_14_to_current()
2391 np->in_odst.na_atype = FRI_NORMAL; in ipnat_4_1_14_to_current()
/netbsd/external/bsd/ipf/dist/tools/
H A Dipnat_y.y452 nat->in_nsrc.na_atype = $2.t;
462 nat->in_ndst.na_atype = $5.t;
660 nat->in_ndst.na_atype = $1.t;
/netbsd/external/bsd/ipf/dist/
H A Dip_nat6.c3889 switch (na->na_atype)
3937 if (ipf_ifpaddr(softc, 6, na->na_atype,
3987 switch (na->na_atype)
4016 (void )ipf_ifpaddr(softc, 6, na->na_atype, ifp,
4040 if (initial && (na->na_atype == FRI_NORMAL)) {
H A Dip_fil_compat.c2399 np->in_ndst.na_atype = FRI_NORMAL;
2402 np->in_odst.na_atype = FRI_NORMAL;
2405 np->in_osrc.na_atype = FRI_NORMAL;
2410 np->in_nsrc.na_atype = FRI_NORMAL;
2413 np->in_osrc.na_atype = FRI_NORMAL;
2416 np->in_odst.na_atype = FRI_NORMAL;