Searched refs:lifs (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 2840 struct lifsrcof lifs; in ifstatus() local 2896 lifs.lifs_ifindex = lifr.lifr_index; in ifstatus() 2902 lifs.lifs_buf = NULL; in ifstatus() 2903 lifs.lifs_maxlen = 0; in ifstatus() 2906 rval = ioctl(s, SIOCGLIFSRCOF, (char *)&lifs); in ifstatus() 2908 if (lifs.lifs_buf != NULL) { in ifstatus() 2909 free(lifs.lifs_buf); in ifstatus() 2910 lifs.lifs_buf = NULL; in ifstatus() 2912 lifs.lifs_len = 0; in ifstatus() 2915 if (lifs.lifs_len <= lifs.lifs_maxlen) in ifstatus() [all …]
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 7479 STRUCT_HANDLE(lifsrcof, lifs); in ip_sioctl_get_lifsrcof() 7495 STRUCT_SET_HANDLE(lifs, iocp->ioc_flag, in ip_sioctl_get_lifsrcof() 7498 if (MBLKL(mp1) != STRUCT_SIZE(lifs)) in ip_sioctl_get_lifsrcof() 7501 ifindex = STRUCT_FGET(lifs, lifs_ifindex); in ip_sioctl_get_lifsrcof() 7513 lifsmaxlen = STRUCT_FGET(lifs, lifs_maxlen); in ip_sioctl_get_lifsrcof() 7515 STRUCT_FSET(lifs, lifs_len, lifs_bufsize); in ip_sioctl_get_lifsrcof() 7524 STRUCT_FGETP(lifs, lifs_buf), lifs_bufsize, B_FALSE); in ip_sioctl_get_lifsrcof() 7572 STRUCT_FSET(lifs, lifs_len, (int)((uchar_t *)lifr - mp1->b_rptr)); in ip_sioctl_get_lifsrcof()
|