Lines Matching defs:ND
805 struct in6_ndireq nd;
812 (void)memset(&nd, 0, sizeof(nd));
813 (void)strlcpy(nd.ifname, ifname, sizeof(nd.ifname));
814 if (prog_ioctl(s, SIOCGIFINFO_IN6, &nd) < 0)
816 #define ND nd.ndi
817 newflags = ND.flags;
878 SETVALUE("basereachable", ND.basereachable);
879 SETVALUE("retrans", ND.retrans);
880 SETVALUE("curhlim", ND.chlim);
882 ND.flags = newflags;
884 if (valset && prog_ioctl(s, SIOCSIFINFO_IN6, &nd) < 0)
887 if (flagset && prog_ioctl(s, SIOCSIFINFO_FLAGS, &nd) < 0)
893 if (prog_ioctl(s, SIOCGIFINFO_IN6, &nd) < 0)
895 (void)printf("curhlim=%d", ND.chlim);
897 ND.basereachable / 1000, ND.basereachable % 1000);
898 (void)printf(", retrans=%ds%dms", ND.retrans / 1000, ND.retrans % 1000);
899 if (ND.flags) {
901 if ((ND.flags & ND6_IFF_PERFORMNUD))
904 if ((ND.flags & ND6_IFF_IFDISABLED))
908 if ((ND.flags & ND6_IFF_AUTO_LINKLOCAL))
912 if ((ND.flags & ND6_IFF_PREFER_SOURCE))
917 #undef ND