Lines Matching defs:ng
706 natget_t ng;
724 ng.ng_ptr = next;
725 ng.ng_sz = 0;
726 if (ioctl(fd, SIOCSTGSZ, &ng)) {
735 printf("NAT size %d from %p\n", ng.ng_sz, ng.ng_ptr);
737 if (ng.ng_sz == 0)
741 ipnp = malloc(ng.ng_sz);
743 ipnp = realloc((char *)ipnp, ng.ng_sz);
746 "malloc for %d bytes failed\n", ng.ng_sz);
750 bzero((char *)ipnp, ng.ng_sz);
751 obj.ipfo_size = ng.ng_sz;
753 ipnp->ipn_dsize = ng.ng_sz;
766 ipnp->ipn_next, ipnp->ipn_dsize, ng.ng_sz);