Lines Matching defs:ncs
939 static char ncs[8]; /* "dhcp" or "manual" */
940 size_t len = sizeof (ncs);
942 if (ncs[0] == '\0' &&
943 bootinfo_get(BI_NET_CONFIG_STRATEGY, ncs, &len, NULL) !=
954 (void) strcpy(ncs, "dhcp");
956 (void) strcpy(ncs, "manual");
958 (void) bootinfo_put(BI_NET_CONFIG_STRATEGY, ncs, strlen(ncs),
962 "Default net-config-strategy: %s", ncs);
965 return (ncs);