Lines Matching refs:ifsock
599 int ifsock;
622 ifsock = (af == AF_INET) ? ifsock_v4 : ifsock_v6;
630 if (ioctl(ifsock, SIOCGLIFFLAGS, (char *)&lifr) < 0) {
646 if (ioctl(ifsock, SIOCGLIFINDEX, (char *)&lifr) < 0) {
658 if (ioctl(ifsock, SIOCGLIFGROUPNAME, (char *)&lifr) < 0) {
681 if (ioctl(ifsock, SIOCSLIFFLAGS, (char *)&lifr) < 0) {
1214 int ifsock;
1231 ifsock = (pii->pii_af == AF_INET) ? ifsock_v4 : ifsock_v6;
1232 if (ioctl(ifsock, SIOCGLIFINDEX, &lifr) < 0) {
1260 if (ioctl(ifsock, SIOCGLIFGROUPNAME, &lifr) < 0) {
1290 if (ioctl(ifsock, SIOCGLIFFLAGS, &lifr) < 0) {
1754 int ifsock;
1774 ifsock = (pii->pii_af == AF_INET) ? ifsock_v4 : ifsock_v6;
1783 if (ioctl(ifsock, SIOCGLIFFLAGS, (char *)&lifr) < 0) {
1823 if (ioctl(ifsock, SIOCGLIFADDR, (char *)&lifr) < 0) {
1839 if (ioctl(ifsock, SIOCGLIFSUBNET, (char *)&lifr) < 0) {
3372 int ifsock;
3400 ifsock = (ssp->ss_family == AF_INET) ? ifsock_v4 : ifsock_v6;
3402 if (ioctl(ifsock, SIOCGLIFBINDING, &lifr) >= 0)