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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c606 static int ifsock = -1; variable
628 if (ifsock < 0) {
629 ifsock = socket(AF_INET6, SOCK_DGRAM, 0);
630 if (ifsock < 0) {
637 if (ioctl(ifsock, SIOCGLIFNUM, (char *)&lifn) < 0) {
672 if (ioctl(ifsock, SIOCGLIFCONF, (char *)&lifc) < 0) {
680 if_process(ifsock, lifr->lifr_name, first);
1685 if (ifsock < 0) {
1686 ifsock = socket(AF_INET6, SOCK_DGRAM, 0);
1687 if (ifsock <
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c599 int ifsock; local
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; local
1231 ifsock = (pii->pii_af == AF_INET) ? ifsock_v4 : ifsock_v6;
1232 if (ioctl(ifsock, SIOCGLIFINDEX, &lifr) < 0) {
1260 if (ioctl(ifsock, SIOCGLIFGROUPNAM
1754 int ifsock; local
3372 int ifsock; local
[all...]
H A Dmpd_probe.c2591 int ifsock; local
2601 ifsock = ifsock_v4;
2603 ifsock = ifsock_v6;
2612 if (ioctl(ifsock, SIOCGLIFFLAGS, (char *)&lifr) < 0) {
2627 if (ioctl(ifsock, SIOCSLIFFLAGS, (char *)&lifr) < 0) {

Completed in 72 milliseconds