Lines Matching defs:dr0
452 struct nd_defrouter dr0;
467 bzero(&dr0, sizeof (dr0));
468 dr0.rtaddr = saddr6;
469 dr0.flags = nd_ra->nd_ra_flags_reserved;
470 dr0.rtlifetime = ntohs(nd_ra->nd_ra_router_lifetime);
471 dr0.expire = timenow.tv_sec + dr0.rtlifetime;
472 dr0.ifp = ifp;
491 dr = defrtrlist_update(&dr0);
950 struct nd_defrouter dr0;
962 bzero(&dr0, sizeof (dr0));
968 bcopy(&r_64->rtaddr.sin6_addr, &dr0.rtaddr,
969 sizeof (dr0.rtaddr));
970 dr0.flags = r_64->flags;
978 bcopy(&r_32->rtaddr.sin6_addr, &dr0.rtaddr,
979 sizeof (dr0.rtaddr));
980 dr0.flags = r_32->flags;
992 dr0.ifp = dr_ifp;
995 if (IN6_IS_SCOPE_EMBED(&dr0.rtaddr)) {
996 uint16_t *scope = &dr0.rtaddr.s6_addr16[1];
1007 error = defrtrlist_add_static(&dr0);
1009 int err = defrtrlist_del_static(&dr0);