Lines Matching defs:rtm
38 struct rtmsg rtm;
209 if (hdr->hdr.nlmsg_len < NLMSG_LENGTH(sizeof(hdr->rtm))) {
217 family_ = hdr->rtm.rtm_family;
218 set_route_status(RouteStatus(hdr->rtm.rtm_dst_len,
219 hdr->rtm.rtm_src_len,
220 hdr->rtm.rtm_table,
221 hdr->rtm.rtm_protocol,
222 hdr->rtm.rtm_scope,
223 hdr->rtm.rtm_type,
224 hdr->rtm.rtm_flags));
476 hdr->hdr.nlmsg_len = NLMSG_LENGTH(sizeof(hdr->rtm));
477 hdr->rtm.rtm_family = family_;
478 hdr->rtm.rtm_dst_len = route_status_.dst_prefix;
479 hdr->rtm.rtm_src_len = route_status_.src_prefix;
480 hdr->rtm.rtm_table = route_status_.table;
481 hdr->rtm.rtm_protocol = route_status_.protocol;
482 hdr->rtm.rtm_scope = route_status_.scope;
483 hdr->rtm.rtm_type = route_status_.type;
484 hdr->rtm.rtm_flags = route_status_.flags;