/src/sbin/routed/ |
parms.c | 174 char lbuf[200], net_host[5], dname[64+1+64+1]; local in function:gwkludge 226 net_host, dname, gname, &metric, qual); 237 if (!strcasecmp(net_host, "host")) { 244 } else if (!strcasecmp(net_host, "net")) { 259 " entry \"%s\"", net_host, lptr);
|
parms.c | 174 char lbuf[200], net_host[5], dname[64+1+64+1]; local in function:gwkludge 226 net_host, dname, gname, &metric, qual); 237 if (!strcasecmp(net_host, "host")) { 244 } else if (!strcasecmp(net_host, "net")) { 259 " entry \"%s\"", net_host, lptr);
|
/src/usr.sbin/sysinst/ |
net.c | 80 static char net_host[STRSIZE]; variable in typeref:typename:char[] 445 strlcpy(net_host, hostname, sizeof net_host); 449 strlcpy(net_host, hostname, sizeof net_host); 463 int l = strlen(net_host) - strlen(net_domain); 465 strlcpy(recombined, net_host, sizeof(recombined)); 468 net_host[l - 1] != '.' || 469 strcasecmp(net_domain, net_host + l) != 0)) { 470 /* net_host isn't an FQDN. * [all...] |
net.c | 80 static char net_host[STRSIZE]; variable in typeref:typename:char[] 445 strlcpy(net_host, hostname, sizeof net_host); 449 strlcpy(net_host, hostname, sizeof net_host); 463 int l = strlen(net_host) - strlen(net_domain); 465 strlcpy(recombined, net_host, sizeof(recombined)); 468 net_host[l - 1] != '.' || 469 strcasecmp(net_domain, net_host + l) != 0)) { 470 /* net_host isn't an FQDN. * [all...] |