Searched refs:ioctlsock (Results 1 – 4 of 4) sorted by relevance
/openbsd/sbin/slaacd/ |
H A D | frontend.c | 111 int ioctlsock; variable 158 if ((ioctlsock = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0)) == -1) in frontend() 470 if (ioctl(ioctlsock, SIOCGIFFLAGS, (caddr_t)&ifr) == -1) { in get_flags() 483 if (ioctl(ioctlsock, SIOCGIFXFLAGS, (caddr_t)&ifr) == -1) { in get_xflags() 496 if (ioctl(ioctlsock, SIOCGIFRDOMAIN, (caddr_t)&ifr) == -1) { in get_ifrdomain() 598 if (ioctl(ioctlsock, SIOCGIFAFLAG_IN6, in update_iface() 820 if (ioctl(ioctlsock, SIOCGIFAFLAG_IN6, (caddr_t)&ifr6) in handle_route_message()
|
/openbsd/usr.sbin/rad/ |
H A D | frontend.c | 172 int ioctlsock = -1, routesock = -1; variable 224 if ((ioctlsock = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0)) == -1) in frontend() 753 if (ioctl(ioctlsock, SIOCGIFRDOMAIN, (caddr_t)&ifr) == -1) { in get_ifrdomain() 802 if (ioctl(ioctlsock, SIOCGIFAFLAG_IN6, in merge_ra_interface() 922 if (ioctl(ioctlsock, SIOCGIFGMEMB, in merge_ra_interfaces() 929 if (ioctl(ioctlsock, SIOCGIFGMEMB, in merge_ra_interfaces() 1064 if (ioctl(ioctlsock, SIOCGIFALIFETIME_IN6, in get_interface_prefixes() 1079 if (ioctl(ioctlsock, SIOCGIFNETMASK_IN6, (caddr_t)&ifr6) == -1) in get_interface_prefixes()
|
/openbsd/sbin/dhcpleased/ |
H A D | frontend.c | 109 int ioctlsock; variable 157 if ((ioctlsock = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)) == -1) in frontend() 573 if (ioctl(ioctlsock, SIOCGIFFLAGS, (caddr_t)&ifr) == -1) { in get_flags() 586 if (ioctl(ioctlsock, SIOCGIFXFLAGS, (caddr_t)&ifr) == -1) { in get_xflags()
|
/openbsd/sbin/dhcp6leased/ |
H A D | frontend.c | 94 int ioctlsock; variable 144 if ((ioctlsock = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)) == -1) in frontend() 536 if (ioctl(ioctlsock, SIOCGIFFLAGS, (caddr_t)&ifr) == -1) { in get_flags()
|