Lines Matching defs:ln
342 struct llinfo_nd6 *ln, /* for source address determination */
437 * - saddr6 is given from the caller (by giving "ln"), and
444 if (ln && ln->ln_hold) {
445 hip6 = mtod(ln->ln_hold, struct ip6_hdr *);
447 if (sizeof(*hip6) < ln->ln_hold->m_len)
458 if (ln && ln->ln_hold)
459 m_freem(ln->ln_hold);
460 ln->ln_hold = NULL;
559 struct llinfo_nd6 *ln;
657 ((ln = (struct llinfo_nd6 *)rt->rt_llinfo) == NULL) ||
662 if (ln->ln_state == ND6_LLINFO_INCOMPLETE) {
676 ln->ln_state = ND6_LLINFO_REACHABLE;
677 ln->ln_byhint = 0;
678 if (ln->ln_expire)
679 ln->ln_expire = timenow.tv_sec +
682 ln->ln_state = ND6_LLINFO_STALE;
683 ln->ln_expire = timenow.tv_sec + nd6_gctimer;
685 if ((ln->ln_router = is_router) != 0) {
735 if (ln->ln_state == ND6_LLINFO_REACHABLE) {
736 ln->ln_state = ND6_LLINFO_STALE;
737 ln->ln_expire = timenow.tv_sec + nd6_gctimer;
757 ln->ln_state = ND6_LLINFO_REACHABLE;
758 ln->ln_byhint = 0;
759 if (ln->ln_expire) {
760 ln->ln_expire = timenow.tv_sec +
765 ln->ln_state = ND6_LLINFO_STALE;
766 ln->ln_expire = timenow.tv_sec + nd6_gctimer;
771 if (ln->ln_router && !is_router) {
808 ln->ln_router = is_router;
811 ln->ln_asked = 0;
812 if (ln->ln_hold) {
817 nd6_output(ifp, ifp, ln->ln_hold,
819 ln->ln_hold = 0;