Home
last modified time | relevance | path

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

/freebsd/sbin/ipf/libipf/
H A Dprintpool.c15 ip_pool_node_t *ipnp, *ipnpn, ipn, **pnext; in printpool() local
35 ipnp = (ip_pool_node_t *)malloc(sizeof(*ipnp)); in printpool()
36 (*copyfunc)(ipnpn, ipnp, sizeof(ipn)); in printpool()
37 ipnpn = ipnp->ipn_next; in printpool()
38 *pnext = ipnp; in printpool()
39 pnext = &ipnp->ipn_next; in printpool()
40 ipnp->ipn_next = NULL; in printpool()
46 for (ipnp = ipp.ipo_list; ipnp != NULL; ipnp = ipnpn) { in printpool()
47 ipnpn = printpoolnode(ipnp, opts, fields); in printpool()
48 free(ipnp); in printpool()
/freebsd/sbin/ipf/ipfs/
H A Dipfs.c681 nat_save_t *ipnp = NULL, *next = NULL; in writenat() local
701 printf("Getting nat from addr %p\n", ipnp); in writenat()
707 if (ipnp != NULL) in writenat()
708 free(ipnp); in writenat()
718 if (!ipnp) in writenat()
719 ipnp = malloc(ng.ng_sz); in writenat()
721 ipnp = realloc((char *)ipnp, ng.ng_sz); in writenat()
722 if (!ipnp) { in writenat()
728 bzero((char *)ipnp, ng.ng_sz); in writenat()
730 obj.ipfo_ptr = ipnp; in writenat()
[all …]