Lines Matching refs:ifconfig
78 #define SBIN_IFCONFIG "/sbin/ifconfig" /* ifconfig command */
219 static boolean_t ifconfig(const char *, const char *, const char *, boolean_t);
1526 _("IP: ifconfig configinfo error (%s:%d) %s\n"),
1535 _("IP: ifconfig configinfo error (%s:%d) %s\n"),
1562 * Save off the modlist, ifconfig options and unplumb.
1590 if (ipv4 && !ifconfig(pif->pi_ifname, "inet", "unplumb", B_FALSE)) {
1596 if (ipv6 && !ifconfig(pif->pi_ifname, "inet6", "unplumb", B_FALSE)) {
1611 * all ifconfig options
1663 success = ifconfig("", "", lif->li_reconfig, B_FALSE);
1667 success = ifconfig(pif->pi_ifname, fstr, buf, B_FALSE);
1681 !ifconfig(pif->pi_ifname, fstr, CFG_DHCP_CMD, B_FALSE)) {
1718 if (!ifconfig("", "", lif->li_reconfig, B_FALSE)) {
1729 !ifconfig(lifname, fstr, CFG_DHCP_CMD, B_FALSE)) {
1991 * Stolen from ifconfig.c
2053 * Stolen from ifconfig.c
2544 if (!ifconfig(ifinst, fstr, "plumb", B_FALSE))
2598 * Loop through the file one line at a time and feed it to ifconfig.
2608 (void) ifconfig(ifinst, fstr, buf, stdif);
2623 (void) ifconfig(ifinst, fstr, buf, stdif);
2648 if ((af == AF_INET6 || ipmp) && !ifconfig(ifinst, fstr, "up", B_FALSE))
2682 (void) ifconfig(ifinst, CFG_DHCP_CMD, dhcpbuf, B_FALSE);
2722 ifconfig(const char *ifinst, const char *fstr, const char *buf, boolean_t stdif)