Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dprintpool.c23 ip_pool_node_t *ipnp, *ipnpn, ipn; local
88 ipnp = (ip_pool_node_t *)malloc(sizeof(*ipnp));
89 (*copyfunc)(ipnpn, ipnp, sizeof(ipn));
90 ipnpn = ipnp->ipn_next;
91 ipnp->ipn_next = ipp.ipo_list;
92 ipp.ipo_list = ipnp;
98 for (ipnp = ipp.ipo_list; ipnp != NULL; ) {
99 ipnp = printpoolnode(ipnp, opts);
/titanic_41/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 …]