Lines Matching refs:netaddrp
72 struct netbuf *netaddrp = &gssg->gss_netaddr;
74 if (netaddrp->len != 0)
75 kmem_free(netaddrp->buf, netaddrp->maxlen);
102 struct netbuf *netaddrp;
126 netaddrp = &gssg->gss_netaddr;
128 if (netaddrp->len == 0 || gssg->gss_last_stat != RPC_SUCCESS) {
129 if (netaddrp->buf != NULL)
130 kmem_free(netaddrp->buf, netaddrp->maxlen);
133 netaddrp->len = netaddrp->maxlen = 10;
134 netaddrp->buf = kmem_alloc(netaddrp->len, KM_SLEEP);
135 (void) strncpy(netaddrp->buf, "localhost.", netaddrp->len);
139 netaddrp);
141 kmem_free(netaddrp->buf, netaddrp->maxlen);
142 netaddrp->buf = NULL;
143 netaddrp->len = netaddrp->maxlen = 0;
155 tmpaddr.buf = kmem_zalloc(netaddrp->maxlen, KM_SLEEP);
156 bcopy(netaddrp->buf, tmpaddr.buf, netaddrp->maxlen);
157 tmpaddr.maxlen = netaddrp->maxlen;
158 tmpaddr.len = netaddrp->len;