Home
last modified time | relevance | path

Searched refs:ipnp (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintpool.c21 ip_pool_node_t *ipnp, *ipnpn, ipn; local
86 ipnp = (ip_pool_node_t *)malloc(sizeof(*ipnp));
87 (*copyfunc)(ipnpn, ipnp, sizeof(ipn));
88 ipnpn = ipnp->ipn_next;
89 ipnp->ipn_next = ipp.ipo_list;
90 ipp.ipo_list = ipnp;
96 for (ipnp = ipp.ipo_list; ipnp != NULL; ) {
97 ipnp = printpoolnode(ipnp, opts);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c703 nat_save_t *ipnp = NULL, *next = NULL; local
723 printf("Getting nat from addr %p\n", ipnp);
729 if (ipnp != NULL)
730 free(ipnp);
740 if (!ipnp)
741 ipnp = malloc(ng.ng_sz);
743 ipnp = realloc((char *)ipnp, ng.ng_sz);
744 if (!ipnp) {
750 bzero((char *)ipnp, ng.ng_sz);
752 obj.ipfo_ptr = ipnp;
[all …]