Lines Matching refs:ra
45 void incoming_ra(struct phyint *pi, struct nd_router_advert *ra,
66 struct nd_router_advert *ra,
101 struct nd_router_advert *ra;
263 ra = (struct nd_router_advert *)icmp;
265 if (!verify_opt_len((struct nd_opt_hdr *)&ra[1],
271 ra, len, &from);
274 verify_ra_consistency(pi, ra, len, &from);
276 incoming_ra(pi, ra, len, &from, _B_FALSE);
433 incoming_ra(struct phyint *pi, struct nd_router_advert *ra, int len,
452 if (ra->nd_ra_curhoplimit != CURHOP_UNSPECIFIED &&
453 ra->nd_ra_curhoplimit != pi->pi_CurHopLimit) {
454 pi->pi_CurHopLimit = ra->nd_ra_curhoplimit;
472 reachable = ntohl(ra->nd_ra_reachable);
486 retrans = ntohl(ra->nd_ra_retransmit);
506 if (ra->nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)
507 ra->nd_ra_flags_reserved |= ND_RA_FLAG_OTHER;
516 (ra->nd_ra_flags_reserved & ~pi->pi_ra_flags &
521 (ra->nd_ra_flags_reserved & ~pi->pi_ra_flags &
525 pi->pi_ra_flags |= ra->nd_ra_flags_reserved;
533 router_lifetime = ntohs(ra->nd_ra_router_lifetime);
551 opt = (struct nd_opt_hdr *)&ra[1];
1267 verify_ra_consistency(struct phyint *pi, struct nd_router_advert *ra, int len,
1279 if (ra->nd_ra_curhoplimit != 0 &&
1281 ra->nd_ra_curhoplimit != pi->pi_AdvCurHopLimit) {
1285 ra->nd_ra_curhoplimit, pi->pi_AdvCurHopLimit);
1288 reachable = ntohl(ra->nd_ra_reachable);
1297 retrans = ntohl(ra->nd_ra_retransmit);
1306 pktflag = ((ra->nd_ra_flags_reserved & ND_RA_FLAG_MANAGED) != 0);
1315 pktflag = ((ra->nd_ra_flags_reserved & ND_RA_FLAG_OTHER) != 0);
1327 opt = (struct nd_opt_hdr *)&ra[1];