Searched defs:cksumbuf (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.c107 char *cksumbuf; local
114 if ((cksumbuf = malloc(bsize)) == 0) {
119 (void) snprintf(cksumbuf, bsize, "%u:", ntohs(rport));
120 if (strlcat(cksumbuf, cmd, bsize) >= bsize) {
122 free(cksumbuf);
125 if (strlcat(cksumbuf, remuser, bsize) >= bsize) {
127 free(cksumbuf);
130 cksumdat.data = cksumbuf;
131 cksumdat.length = strlen(cksumbuf);

Completed in 70 milliseconds