Lines Matching refs:rtm_family
80 inet_prefix src = { .family = r->rtm_family }; in filter_nlmsg()
81 inet_prefix dst = { .family = r->rtm_family }; in filter_nlmsg()
84 if (preferred_family != AF_UNSPEC && r->rtm_family != preferred_family) in filter_nlmsg()
98 if (filter.src.family != r->rtm_family || in filter_nlmsg()
109 if (filter.dst.family != r->rtm_family || in filter_nlmsg()
192 host_len = af_bit_len(r->rtm_family); in print_rule()
212 rt_addr_n2a_rta(r->rtm_family, tb[FRA_SRC]), in print_rule()
216 format_host_rta(r->rtm_family, tb[FRA_SRC])); in print_rule()
227 rt_addr_n2a_rta(r->rtm_family, tb[FRA_DST]), in print_rule()
231 format_host_rta(r->rtm_family, tb[FRA_DST])); in print_rule()
317 format_host_rta(r->rtm_family, in print_rule()
587 .r.rtm_family = preferred_family, in iprule_modify()
610 get_prefix(&dst, *argv, req.r.rtm_family); in iprule_modify()
618 get_prefix(&dst, *argv, req.r.rtm_family); in iprule_modify()
763 if (req.r.rtm_family == AF_UNSPEC) in iprule_modify()
764 req.r.rtm_family = AF_INET; in iprule_modify()