HomeSort by: relevance | last modified time | path
    Searched refs:hbuf (Results 1 - 25 of 92) sorted by relevancy

1 2 3 4

  /src/sbin/ifconfig/
af_inet.c 112 char hbuf[NI_MAXHOST]; local
121 hbuf, sizeof(hbuf), NULL, 0, niflag))
122 strlcpy(hbuf, "", sizeof(hbuf)); /* some message? */
123 printf("\tinet %s", hbuf);
130 hbuf, sizeof(hbuf), NULL, 0, niflag))
131 strlcpy(hbuf, "", sizeof(hbuf)); /* some message? *
    [all...]
af_inet6.c 266 char hbuf[NI_MAXHOST]; local
275 hbuf, sizeof(hbuf), NULL, 0, niflag))
276 strlcpy(hbuf, "", sizeof(hbuf)); /* some message? */
277 printf("\tinet6 %s", hbuf);
286 hbuf[0] = '\0';
288 hbuf, sizeof(hbuf), NULL, 0, niflag))
289 strlcpy(hbuf, "", sizeof(hbuf)); /* some message? *
    [all...]
util.c 245 char hbuf[NI_MAXHOST]; local
287 hbuf, sizeof(hbuf), NULL, 0,
289 hbuf[0] != '\0') {
291 print_active_only ? "address:" : "link", hbuf);
  /src/external/mpl/dhcp/dist/common/
ethernet.c 52 memcpy (eh.ether_dhost, &to -> hbuf [1],
57 memcpy (eh.ether_shost, &interface -> hw_address.hbuf [1],
86 memcpy (&from -> hbuf [1], eh.ether_shost, sizeof (eh.ether_shost));
87 from -> hbuf [0] = ARPHRD_ETHER;
fddi.c 57 memcpy (fh.fddi_dhost, &to -> hbuf [1],
60 &interface -> hw_address.hbuf [1], sizeof (fh.fddi_shost));
86 from -> hbuf [0] = HTYPE_FDDI;
87 memcpy (&from -> hbuf [1], fh.fddi_shost, sizeof fh.fddi_shost);
lpf.c 148 print_hw_addr (info -> hw_address.hbuf [0],
150 &info -> hw_address.hbuf [1]),
170 print_hw_addr (info -> hw_address.hbuf [0],
172 &info -> hw_address.hbuf [1]),
219 if (info -> hw_address.hbuf [0] == HTYPE_IEEE802)
228 print_hw_addr (info -> hw_address.hbuf [0],
230 &info -> hw_address.hbuf [1]),
246 print_hw_addr (info -> hw_address.hbuf [0],
248 &info -> hw_address.hbuf [1]),
555 hw->hbuf[0] = HTYPE_ETHER
    [all...]
nit.c 107 info -> hw_address.hbuf [0] = ARPHRD_ETHER;
108 memcpy (&info -> hw_address.hbuf [1],
147 print_hw_addr (info -> hw_address.hbuf [0],
149 &info -> hw_address.hbuf [1]),
166 print_hw_addr (info -> hw_address.hbuf [0],
168 &info -> hw_address.hbuf [1]),
254 print_hw_addr (info -> hw_address.hbuf [0],
256 &info -> hw_address.hbuf [1]),
272 print_hw_addr (info -> hw_address.hbuf [0],
274 &info -> hw_address.hbuf [1])
    [all...]
upf.c 111 info -> hw_address.hbuf [0] = ARPHRD_ETHER;
112 memcpy (&info -> hw_address.hbuf [1], param.end_addr, 6);
132 print_hw_addr (info -> hw_address.hbuf [0],
134 &info -> hw_address.hbuf [1]),
150 print_hw_addr (info -> hw_address.hbuf [0],
152 &info -> hw_address.hbuf [1]),
219 print_hw_addr (info -> hw_address.hbuf [0],
221 &info -> hw_address.hbuf [1]),
235 print_hw_addr (info -> hw_address.hbuf [0],
237 &info -> hw_address.hbuf [1])
    [all...]
dlpi.c 231 info -> hw_address.hbuf [0] = HTYPE_ETHER;
235 info -> hw_address.hbuf [0] = HTYPE_IEEE802;
238 info -> hw_address.hbuf [0] = HTYPE_FDDI;
253 memcpy (info -> dlpi_broadcast_addr.hbuf,
290 memcpy (&info -> hw_address.hbuf [1],
373 print_hw_addr (info -> hw_address.hbuf [0],
375 &info -> hw_address.hbuf [1]),
403 print_hw_addr (info -> hw_address.hbuf [0],
405 &info -> hw_address.hbuf [1]),
492 print_hw_addr (info -> hw_address.hbuf [0]
    [all...]
bpf.c 145 print_hw_addr (info -> hw_address.hbuf [0],
147 &info -> hw_address.hbuf [1]),
166 print_hw_addr (info -> hw_address.hbuf [0],
168 &info -> hw_address.hbuf [1]),
376 print_hw_addr (info -> hw_address.hbuf [0],
378 &info -> hw_address.hbuf [1]),
393 print_hw_addr (info -> hw_address.hbuf [0],
395 &info -> hw_address.hbuf [1]),
684 hw->hbuf[0] = HTYPE_ETHER;
685 memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen)
    [all...]
ctrace.c 124 print_hw_addr (ip -> hw_address.hbuf [0],
126 &ip -> hw_address.hbuf [1]),
133 print_hw_addr (ip -> hw_address.hbuf [0],
135 &ip -> hw_address.hbuf [1]),
  /src/usr.sbin/rtadvd/
dump.c 80 static char hbuf[NI_MAXHOST]; local
84 hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
85 snprintf(hbuf, sizeof(hbuf), "<invalid>");
87 snprintf(hbuf, sizeof(hbuf), "NONE");
89 return(hbuf);
  /src/bin/dd/
misc.c 194 char hbuf[7], nbuf[32]; local
222 if (humanize_number(hbuf, sizeof(hbuf),
226 ADDS(hbuf);
234 if (humanize_number(hbuf, sizeof(hbuf),
238 ADDS(hbuf); ADDS("/sec");
  /src/lib/libwrap/
socket.c 63 static char hbuf[MAXHOSTNAMELEN + 1]; local
70 if (strchr(name, '.') == 0 || strlen(name) + 2 > sizeof(hbuf))
71 strlcpy(hbuf, name, sizeof(hbuf));
73 (void)snprintf(hbuf, sizeof(hbuf), "%s.", name);
74 return hbuf;
  /src/usr.sbin/traceroute6/
traceroute6.c 362 char hbuf[NI_MAXHOST], src0[NI_MAXHOST], *ep; local
508 if (getnameinfo(res->ai_addr, res->ai_addrlen, hbuf,
509 sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
510 strlcpy(hbuf, "?", sizeof(hbuf));
512 hostname, hbuf);
661 if (getnameinfo((struct sockaddr *)&Dst, Dst.sin6_len, hbuf,
662 sizeof(hbuf), NULL, 0, NI_NUMERICHOST))
663 strlcpy(hbuf, "(invalid)", sizeof(hbuf));
930 char hbuf[NI_MAXHOST]; local
1075 char hbuf[NI_MAXHOST]; local
    [all...]
  /src/usr.bin/pr/
pr.c 183 char *hbuf = NULL; local
204 if ((hbuf = malloc((unsigned)(HDBUF + offst)*sizeof(char))) == NULL)
207 ohbuf = hbuf + offst;
214 (void)memset(hbuf, (int)' ', offst);
256 prhead(hbuf, fname, pagecnt))
312 free(hbuf);
345 char *hbuf = NULL; local
364 if ((hbuf = malloc((unsigned)(HDBUF + offst)*sizeof(char))) == NULL)
366 ohbuf = hbuf + offst;
368 (void)memset(hbuf, (int)' ', offst)
663 char *hbuf = NULL; local
818 char *hbuf = NULL; local
    [all...]
  /src/usr.bin/systat/
netcmds.c 365 char hbuf[NI_MAXHOST]; local
376 if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), NULL, 0,
378 strlcpy(hbuf, "(invalid)", sizeof(hbuf));
381 printw("%s ", hbuf);
  /src/lib/libc/net/
rcmd.c 99 static char hbuf[MAXHOSTNAMELEN]; local
126 strlcpy(hbuf, res->ai_canonname, sizeof(hbuf));
127 *ahost = hbuf;
158 static char hbuf[MAXHOSTNAMELEN]; local
180 strlcpy(hbuf, res->ai_canonname, sizeof(hbuf));
181 *ahost = hbuf;
244 char hbuf[NI_MAXHOST]; local
247 hbuf[0] = '\0'
    [all...]
  /src/usr.bin/last/
want.c 46 static char hbuf[512];
47 hbuf[0] = '\0';
48 (void)sockaddr_snprintf(hbuf, sizeof(hbuf), "%a",
50 return hbuf;
  /src/usr.bin/netstat/
if.c 469 char hbuf[NI_MAXHOST]; /* for getnameinfo() */ local
477 if (getnameinfo((struct sockaddr *)&as6, as6.sin6_len, hbuf,
478 sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0) {
479 strlcpy(hbuf, "??", sizeof(hbuf));
482 n = strlen(hbuf) < 17 ? 17 : strlen(hbuf);
485 printf("\n%25s %-*.*s ", "", n, n, hbuf);
519 char hbuf[NI_MAXHOST]; /* for getnameinfo() */ local
596 hbuf, sizeof(hbuf), NULL, 0
    [all...]
  /src/libexec/rexecd/
rexecd.c 128 char hbuf[NI_MAXHOST]; local
129 if (getnameinfo((struct sockaddr *)&from, fromlen, hbuf,
130 sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0) {
131 (void)strlcpy(hbuf, "invalid", sizeof(hbuf));
136 hbuf);
  /src/usr.sbin/faithd/
prefix.c 127 char hbuf[NI_MAXHOST]; local
130 hbuf, (socklen_t)sizeof(hbuf), NULL, 0, niflags))
132 (void)snprintf(buf, sizeof(buf), "%s/%d", hbuf, prefix->l);
  /src/external/bsd/mdocml/dist/
tbl_html.c 123 char hbuf[32], vbuf[32]; local
195 (void)snprintf(hbuf, sizeof(hbuf),
197 hspans = hbuf;
  /src/sbin/canconfig/
canconfig.c 358 char hbuf[8]; local
371 humanize_number(hbuf, sizeof(hbuf), cltc.cltc_clock_freq, "Hz",
376 prefix, hbuf,
396 humanize_number(hbuf, sizeof(hbuf), bps, "bps",
398 printf(", %s", hbuf);
  /src/usr.sbin/trpt/
trpt.c 393 char hbuf[MAXHOSTNAMELEN]; local
438 hbuf, sizeof(hbuf)); local
440 hbuf, ntohs(th->th_sport));
448 hbuf, sizeof(hbuf)); local
450 hbuf, ntohs(th->th_dport));

Completed in 78 milliseconds

1 2 3 4