Home
last modified time | relevance | path

Searched refs:ipn_addr (Results 1 – 9 of 9) sorted by last modified time

/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_pool.h37 addrfamily_t ipn_addr; member
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_pool.c221 c, c->ipn_name, c->ipn_addr.adf_addr.in4.s_addr,
459 bcopy(addr, &x->ipn_addr, sizeof(*addr));
460 x->ipn_addr.adf_len = sizeof(x->ipn_addr);
464 rn = ipo->ipo_head->rnh_addaddr(&x->ipn_addr, &x->ipn_mask,
599 ipo->ipo_head->rnh_deladdr(&n->ipn_addr, &n->ipn_mask,
703 ipo->ipo_head->rnh_deladdr(&n->ipn_addr, &n->ipn_mask,
H A Dip_lookup.c252 m = ip_pool_findeq(p, &node.ipn_addr, &node.ipn_mask);
255 err = ip_pool_insert(p, &node.ipn_addr,
320 m = ip_pool_findeq(p, &node.ipn_addr, &node.ipn_mask);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c174 node.ipn_addr.adf_len = sizeof(node.ipn_addr);
175 node.ipn_addr.adf_addr.in4.s_addr = inet_addr(optarg);
H A Dippool_y.y289 $$->ipn_addr.adf_len = sizeof($$->ipn_addr);
292 $$->ipn_addr.adf_family = AF_INET6;
293 $$->ipn_addr.adf_addr = $1[0];
297 $$->ipn_addr.adf_family = AF_INET;
298 $$->ipn_addr.adf_addr.in4.s_addr = $1[0].in4.s_addr;
307 $$->ipn_addr.adf_len = sizeof($$->ipn_addr);
310 $$->ipn_addr.adf_family = AF_INET6;
311 $$->ipn_addr.adf_addr = $2[0];
314 $$->ipn_addr.adf_family = AF_INET;
315 $$->ipn_addr.adf_addr.in4.s_addr = $2[0].in4.s_addr;
H A Dipf_y.y2121 n->ipn_addr.adf_family = a->al_family;
2124 (void *)&n->ipn_addr.adf_addr,
2125 sizeof(n->ipn_addr.adf_addr));
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintpoolnode.c23 if (np->ipn_addr.adf_family == AF_INET6)
24 printhostmask(6, (u_32_t *)&np->ipn_addr.adf_addr.in6,
29 printip((u_32_t *)&np->ipn_addr.adf_addr.in4);
H A Dremove_poolnode.c40 bcopy((char *)&node->ipn_addr, (char *)&pn.ipn_addr,
41 sizeof(pn.ipn_addr));
H A Dload_poolnode.c48 bcopy((char *)&node->ipn_addr, (char *)&pn.ipn_addr,
49 sizeof(pn.ipn_addr));