Searched refs:in_ndst (Results 1 – 8 of 8) sorted by relevance
/netbsd/sys/external/bsd/ipf/netinet/ |
H A D | ip_nat.h | 269 nat_addr_t in_ndst; member 299 #define in_dipnext in_ndst.na_nextaddr.in4 300 #define in_dipnext6 in_ndst.na_nextaddr 301 #define in_dnip in_ndst.na_nextaddr.in4.s_addr 302 #define in_dnip6 in_ndst.na_nextaddr 318 #define in_ndstip in_ndst.na_addr[0].in4 319 #define in_ndstip6 in_ndst.na_addr[0] 321 #define in_ndstmsk in_ndst.na_addr[1].in4.s_addr 322 #define in_ndstmsk6 in_ndst.na_addr[1] 323 #define in_ndstatype in_ndst.na_atype [all …]
|
H A D | ip_nat.c | 1537 if ((n->in_ndst.na_atype == FRI_LOOKUP) && in ipf_nat_ruleaddrinit() 1538 (n->in_ndst.na_type != IPLT_DSTLIST)) { in ipf_nat_ruleaddrinit() 5993 ipf_nat_nextaddrinit(softc, n->in_names, &n->in_ndst, in ipf_nat_sync() 7014 if (ipf_nat_nextaddr(fin, &np->in_ndst, &frnat.fin_daddr, in ipf_nat_newrewrite() 8286 offsetof(ipnat_t, in_ndst) - offsetof(ipnat_t, in_v)) != 0) in ipf_nat_cmp_rules() 8292 if (n1->in_ndst.na_atype != n2->in_ndst.na_atype) in ipf_nat_cmp_rules() 8294 if (n1->in_ndst.na_function != n2->in_ndst.na_function) in ipf_nat_cmp_rules() 8296 if (bcmp((char *)&n1->in_ndst.na_addr, (char *)&n2->in_ndst.na_addr, in ipf_nat_cmp_rules() 8297 sizeof(n1->in_ndst.na_addr))) in ipf_nat_cmp_rules() 8409 if (n->in_ndst.na_atype == FRI_LOOKUP && n->in_ndst.na_ptr != NULL) in ipf_nat_rule_fini() [all …]
|
H A D | ip_fil_compat.c | 2371 np->in_ndst.na_nextaddr = old->in_next6; in ipnat_4_1_14_to_current() 2372 np->in_ndst.na_addr[0] = old->in_in[0]; in ipnat_4_1_14_to_current() 2373 np->in_ndst.na_addr[1] = old->in_in[1]; in ipnat_4_1_14_to_current() 2374 np->in_ndst.na_atype = FRI_NORMAL; in ipnat_4_1_14_to_current() 2462 np->in_ndst.na_nextaddr = old->in_next6; in ipnat_4_1_0_to_current() 4191 old->in_next6 = np->in_ndst.na_nextaddr; in ipnat_current_to_4_1_14() 4192 old->in_in[0] = np->in_ndst.na_addr[0]; in ipnat_current_to_4_1_14() 4193 old->in_in[1] = np->in_ndst.na_addr[1]; in ipnat_current_to_4_1_14() 4270 old->in_next6 = np->in_ndst.na_nextaddr; in ipnat_current_to_4_1_0() 4271 old->in_in[0] = np->in_ndst.na_addr[0]; in ipnat_current_to_4_1_0() [all …]
|
H A D | ip_nat6.c | 192 error = ipf_nat6_nextaddrinit(softc, n->in_names, &n->in_ndst, 1, in ipf_nat6_ruleaddrinit() 3453 if (ipf_nat6_nextaddr(fin, &np->in_ndst, &frnat.fin_dst6, in ipf_nat6_newrewrite()
|
/netbsd/external/bsd/ipf/dist/lib/ |
H A D | printnat.c | 146 printnataddr(np->in_v[1], np->in_names, &np->in_ndst, 178 if (np->in_ndst.na_atype == FRI_LOOKUP && 179 np->in_ndst.na_type == IPLT_DSTLIST) { 181 if (np->in_ndst.na_subtype == 0) 184 PRINTF("%s", base + np->in_ndst.na_num); 186 printnataddr(np->in_v[1], np->in_names, &np->in_ndst, 220 printnataddr(np->in_v[1], np->in_names, &np->in_ndst,
|
/netbsd/external/bsd/ipf/dist/tools/ |
H A D | ipnat_y.y | 460 nat->in_ndst.na_addr[0] = $5.a; 461 nat->in_ndst.na_addr[1] = $5.m; 462 nat->in_ndst.na_atype = $5.t; 464 nat->in_ndst.na_type = $5.u; 465 nat->in_ndst.na_subtype = $5.s; 466 nat->in_ndst.na_num = $5.n; 481 nat->in_ndst.na_addr[0] = $6.a; 482 nat->in_ndst.na_addr[1] = $6.m; 660 nat->in_ndst.na_atype = $1.t;
|
/netbsd/external/bsd/ipf/dist/ |
H A D | ip_fil_compat.c | 2396 np->in_ndst.na_nextaddr = old->in_next6; 2397 np->in_ndst.na_addr[0] = old->in_in[0]; 2398 np->in_ndst.na_addr[1] = old->in_in[1]; 2399 np->in_ndst.na_atype = FRI_NORMAL; 2490 np->in_ndst.na_nextaddr = old->in_next6; 4291 old->in_next6 = np->in_ndst.na_nextaddr; 4292 old->in_in[0] = np->in_ndst.na_addr[0]; 4293 old->in_in[1] = np->in_ndst.na_addr[1]; 4372 old->in_next6 = np->in_ndst.na_nextaddr; 4373 old->in_in[0] = np->in_ndst.na_addr[0]; [all …]
|
H A D | ip_nat6.c | 197 error = ipf_nat6_nextaddrinit(softc, n->in_names, &n->in_ndst, 1, 3513 if (ipf_nat6_nextaddr(fin, &np->in_ndst, &frnat.fin_dst6,
|