Lines Matching defs:line
829 static char line[MAXHOSTNAMELEN + 1];
849 (void) strcpy(line, "default");
850 return (line);
872 (void) strncpy(line, cp, MAXHOSTNAMELEN);
873 line[MAXHOSTNAMELEN] = '\0';
876 (void) sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24),
903 (void) strncpy(line, cp, MAXHOSTNAMELEN);
904 line[MAXHOSTNAMELEN] = '\0';
906 (void) inet_ntop(AF_INET6, (void *)&in6, line,
918 cp = line + sprintf(line, "(%d)", sa->sa_family);
924 return (line);
935 static char line[MAXHOSTNAMELEN + 1];
979 (void) strncpy(line, cp, MAXHOSTNAMELEN);
980 line[MAXHOSTNAMELEN] = '\0';
982 (void) sprintf(line, "%u", C(in.s_addr >> 24));
984 (void) sprintf(line, "%u.%u", C(in.s_addr >> 24),
987 (void) sprintf(line, "%u.%u.%u", C(in.s_addr >> 24),
990 (void) sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24),
1007 cp = line + sprintf(line, "af %d:", sa->sa_family);
1013 return (line);
1174 * tokenized to produce the command line. Cmd_string is tokenized using
1516 * the command line after "add" is saved verbatim.
1552 * SEARCH_MODE_PRINT - prints each matching line.