Searched refs:ifsock (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/usr.sbin/rtsold/
H A Dif.c63 static int ifsock; variable
71 ifsock = rssock;
89 if (ioctl(ifsock, SIOCGIFFLAGS, (caddr_t)&ifr) < 0) {
96 if (ioctl(ifsock, SIOCSIFFLAGS, (caddr_t)&ifr) < 0)
184 if (ioctl(ifsock, SIOCGIFFLAGS, &ifr) < 0) {
201 if (ioctl(ifsock, SIOCGIFMEDIA, (caddr_t)&ifmr) < 0) {
/freebsd-11-stable/sbin/dhclient/
H A Ddispatch.c311 int ifsock = ifinfo->rfdesc; local
318 if (ioctl(ifsock, SIOCGIFFLAGS, &ifr) < 0) {
335 if (ioctl(ifsock, SIOCGIFMEDIA, (caddr_t)&ifmr) < 0) {

Completed in 102 milliseconds