Lines Matching refs:buf_len
44 static boolean_t do_getset(int fd, int cmd, char *buf, int buf_len);
45 static int get_value(char *msg, char *buf, int buf_len);
484 do_getset(int fd, int cmd, char *buf, int buf_len)
497 if (do_ipadm_getset(cmd, buf, buf_len))
502 stri.ic_len = buf_len;
525 get_value(char *msg, char *buf, int buf_len)
532 buf[buf_len-1] = '\0';
533 if (fgets(buf, buf_len-1, stdin) == NULL)
548 int len, buf_len;
570 buf_len = atoi(len_buf);
572 buf_len = sizeof (gbuf);
573 (void) do_getset(fd, cmd, gbuf, buf_len);