Lines Matching defs:interface

37  *    stdout: <root fs type> <interface name> <net config strategy>.
40 * <interface name> - "hme0" or "none"
50 * <interface name> is the 16 char name of the root interface, and is only
51 * set if rarp/dhcp was used to configure the interface.
55 * interface. Is "none" if no interface was configured using a
123 * interface in the case of a diskless boot.
126 * XXX non-diskless case requires "network-interface"?
170 static char interface[LIFNAMSIZ];
219 * IFF_UP interface with a non-zero address is
224 * the first logical interface (the only ones we
225 * look at here) to ::0; that interface must have
228 * If we don't find an IFF_UP interface with a
230 * interface seen.
236 * interface name in the RARP case anyway.
240 (void) strncpy(interface, ifr->lifr_name, LIFNAMSIZ);
247 return (interface);
250 return (found_one ? interface : NULL);
257 char *root, *interface, *strategy, dummy;
261 root = interface = strategy = NULL;
268 "%s: cannot get interface information\n", program);
274 * the interface.
279 interface = get_first_interface(&dhcp_running);
280 if (interface == NULL) {
282 "%s: cannot identify root interface.\n", program);
287 (void) printf("%s %s %s\n", root, interface, strategy);
297 /* interface is first thing in cache. */
299 interface = alloca(len);
300 (void) sysinfo(SI_DHCP_CACHE, interface, len);
301 (void) printf("%s %s %s\n", root, interface, strategy);
321 * at least IFF_UP non-IFF_VIRTUAL interface (which there
327 interface = get_first_interface(&dhcp_running);
333 if (interface == NULL) {
335 "%s: cannot identify root interface.\n", program);
342 if (interface == NULL || strategy == NULL)
343 interface = strategy = "none";
346 (void) printf("%s %s %s\n", root, interface, strategy);