Searched refs:lifr1 (Results 1 – 1 of 1) sorted by relevance
929 struct lifreq lifr1; in setifaddr() local1031 (void) strncpy(lifr1.lifr_name, name, sizeof (lifr1.lifr_name)); in setifaddr()1032 if (ioctl(s, SIOCGLIFNETMASK, (caddr_t)&lifr1) < 0) in setifaddr()1034 sav_netmask = lifr1.lifr_addr; in setifaddr()3890 struct lifreq lifr1; in ifconfig_use_libipadm() local3892 (void) strlcpy(lifr1.lifr_name, lifname, sizeof (lifr1.lifr_name)); in ifconfig_use_libipadm()3893 if (ioctl(s, SIOCGLIFGROUPNAME, (caddr_t)&lifr1) < 0) { in ifconfig_use_libipadm()3899 return (lifr1.lifr_groupname[0] == '\0'); in ifconfig_use_libipadm()