Lines Matching defs:rootopts
283 static char rootopts[256];
851 * If using cache, rootopts is already available.
853 if (strcmp(fileid, "rootopts") == 0 && using_cache == TRUE) {
854 return (rootopts[0] != 0 ? 0 : ENXIO);
1183 (void) strncpy(rootopts, str, 255);
1248 if (rootopts[0] == 0) {
1251 bcopy(doptp->value, rootopts, doptp->len);
1252 rootopts[doptp->len] = '\0';
1254 printf("dhcp: rootopts %s\n", rootopts);
1256 printf("dhcp: no rootopts or too long\n");
2177 (void) strlcpy(rootopts, str, sizeof (rootopts));
2466 * Only look up the rootopts the first time, we store this in
2475 if (getfile("rootopts", servername, &server_address,
2476 rootopts)) {
2477 rootopts[0] = '\0';
2485 printf("rootopts = %s\n", rootopts);
2488 * We have to preserve rootopts for second time.
2490 (void) strncpy(rootoptsbuf, rootopts, sizeof (rootoptsbuf));