Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c928 struct lifreq lifr1; in setifaddr() local
1030 (void) strncpy(lifr1.lifr_name, name, sizeof (lifr1.lifr_name)); in setifaddr()
1031 if (ioctl(s, SIOCGLIFNETMASK, (caddr_t)&lifr1) < 0) in setifaddr()
1033 sav_netmask = lifr1.lifr_addr; in setifaddr()
3889 struct lifreq lifr1; in ifconfig_use_libipadm() local
3891 (void) strlcpy(lifr1.lifr_name, lifname, sizeof (lifr1.lifr_name)); in ifconfig_use_libipadm()
3892 if (ioctl(s, SIOCGLIFGROUPNAME, (caddr_t)&lifr1) < 0) { in ifconfig_use_libipadm()
3898 return (lifr1.lifr_groupname[0] == '\0'); in ifconfig_use_libipadm()