Lines Matching defs:ND
66 #include <net/nd.h>
91 /* preventing too many loops in ND option parsing */
92 int nd6_maxndopt = 10; /* max # of ND options allowed */
131 .nd_maxqueuelen = 1, /* max # of packets in unresolved ND entries */
170 struct nd_kifinfo *nd;
172 nd = kmem_zalloc(sizeof(*nd), KM_SLEEP);
174 nd->chlim = IPV6_DEFHLIM;
175 nd->basereachable = REACHABLE_TIME;
176 nd->reachable = ND_COMPUTE_RTIME(nd->basereachable);
177 nd->retrans = RETRANS_TIMER;
179 nd->flags = ND6_IFF_PERFORMNUD;
186 nd->flags |= ND6_IFF_AUTO_LINKLOCAL;
188 return nd;
217 * Take one ND option.
265 * Parse multiple ND options.
266 * This function is much easier to use, for ND routines that do not need
334 nd6log(LOG_INFO, "too many loop in nd opt\n");
534 * During detach, the ND info might be already removed, but
964 * (or should we allow proxy ND configuration only for
965 * routers? there's no mention about proxy ND from hosts)
1030 /* join solicited node multicast for proxy ND */
1062 /* leave from solicited node multicast for proxy ND */
1190 #define ND ndi->ndi
1240 ND.chlim = ifndi->chlim;
1241 ND.basereachable = ifndi->basereachable;
1242 ND.retrans = ifndi->retrans;
1243 ND.flags = ifndi->flags;
1248 if (ND.chlim != 0)
1249 ifndi->chlim = ND.chlim;
1250 if (ND.basereachable != 0 &&
1251 ND.basereachable != ifndi->basereachable)
1253 ifndi->basereachable = ND.basereachable;
1254 ifndi->reachable = ND_COMPUTE_RTIME(ND.basereachable);
1256 if (ND
1257 ifndi->retrans = ND.retrans;
1260 nd6_setifflags(ifp, ND.flags);
1262 #undef ND
1309 * just set the 2nd argument as the
1647 * - unidirectional tunnels needs no ND