Lines Matching defs:natl
2599 nat_t *natl;
2718 natl = NULL;
2794 natl = ipf_nat_inlookup(fin, flags & ~(SI_WILDP|NAT_SEARCH),
2803 if ((natl != NULL) &&
2810 } while (natl != NULL);
2860 nat_t *natl;
3003 natl = ipf_nat_outlookup(fin, flags & ~(SI_WILDP|NAT_SEARCH),
3007 if (natl != NULL) {
3008 DT2(ns_new_xlate_exists, fr_info_t *, fin, nat_t *, natl);
3065 nat_t *nat, *natl;
3152 natl = ipf_nat_outlookup(fin, nflags, (u_int)fin->fin_p,
3154 if (natl != NULL) {
3156 nat = natl;
3165 natl = ipf_nat_inlookup(fin, nflags, (u_int)fin->fin_p,
3167 if (natl != NULL) {
3169 nat = natl;
6061 struct natlog natl;
6066 bcopy((char *)&nat->nat_osrc6, (char *)&natl.nl_osrcip,
6067 sizeof(natl.nl_osrcip));
6068 bcopy((char *)&nat->nat_nsrc6, (char *)&natl.nl_nsrcip,
6069 sizeof(natl.nl_nsrcip));
6070 bcopy((char *)&nat->nat_odst6, (char *)&natl.nl_odstip,
6071 sizeof(natl.nl_odstip));
6072 bcopy((char *)&nat->nat_ndst6, (char *)&natl.nl_ndstip,
6073 sizeof(natl.nl_ndstip));
6075 natl.nl_bytes[0] = nat->nat_bytes[0];
6076 natl.nl_bytes[1] = nat->nat_bytes[1];
6077 natl.nl_pkts[0] = nat->nat_pkts[0];
6078 natl.nl_pkts[1] = nat->nat_pkts[1];
6079 natl.nl_odstport = nat->nat_odport;
6080 natl.nl_osrcport = nat->nat_osport;
6081 natl.nl_nsrcport = nat->nat_nsport;
6082 natl.nl_ndstport = nat->nat_ndport;
6083 natl.nl_p[0] = nat->nat_pr[0];
6084 natl.nl_p[1] = nat->nat_pr[1];
6085 natl.nl_v[0] = nat->nat_v[0];
6086 natl.nl_v[1] = nat->nat_v[1];
6087 natl.nl_type = nat->nat_redir;
6088 natl.nl_action = action;
6089 natl.nl_rule = -1;
6091 bcopy(nat->nat_ifnames[0], natl.nl_ifnames[0],
6093 bcopy(nat->nat_ifnames[1], natl.nl_ifnames[1],
6101 natl.nl_rule = rulen;
6106 items[0] = &natl;
6107 sizes[0] = sizeof(natl);
6934 nat_t *natl;
6938 natl = NULL;
6997 (changed == -1) && (natl != NULL)) {
7034 (natl != NULL)) {
7084 natl = ipf_nat_inlookup(&frnat,
7090 natl = ipf_nat_outlookup(&frnat,
7101 /* TRACE natl, in_stepnext, l */
7103 if ((natl != NULL) && (l > 8)) /* XXX 8 is arbitrary */
7110 } while (natl != NULL);
7152 nat_t *natl;
7181 natl = ipf_nat_inlookup(&frnat, 0, p,
7185 natl = ipf_nat_outlookup(&frnat, 0, p,
7189 if (natl != NULL) {