Home
last modified time | relevance | path

Searched refs:if_conf (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c2428 struct lifconf if_conf; in get_local_netifs() local
2459 if_conf.lifc_family = AF_UNSPEC; in get_local_netifs()
2460 if_conf.lifc_flags = LIFC_NOXMIT; in get_local_netifs()
2461 if_conf.lifc_len = space_needed; in get_local_netifs()
2462 if_conf.lifc_buf = if_buf; in get_local_netifs()
2463 if (ioctl(s, SIOCGLIFCONF, &if_conf) < 0) { in get_local_netifs()
2478 if_reqp = if_conf.lifc_req; in get_local_netifs()
2479 for (i = 0; i < (if_conf.lifc_len / sizeof (struct lifreq)); i++) { in get_local_netifs()