Lines Matching refs:radvert
80 struct nd_router_advert *radvert;
143 radvert = (struct nd_router_advert *) buff;
145 radvert->nd_ra_type = ND_ROUTER_ADVERT;
146 radvert->nd_ra_code = 0;
147 radvert->nd_ra_cksum = 0;
149 radvert->nd_ra_curhoplimit = iface->AdvCurHopLimit;
150 radvert->nd_ra_flags_reserved =
152 radvert->nd_ra_flags_reserved |=
155 radvert->nd_ra_flags_reserved |=
159 radvert->nd_ra_router_lifetime = !check_ip6_forwarding() ? htons(iface->AdvDefaultLifetime) : 0;
160 radvert->nd_ra_flags_reserved |=
163 radvert->nd_ra_reachable = htonl(iface->AdvReachableTime);
164 radvert->nd_ra_retransmit = htonl(iface->AdvRetransTimer);