Lines Matching refs:bitlen
186 (r->rtm_family != filter.rdst.family || filter.rdst.bitlen > r->rtm_dst_len)) in filter_nlmsg()
190 (filter.mdst.bitlen >= 0 && filter.mdst.bitlen < r->rtm_dst_len))) in filter_nlmsg()
193 (r->rtm_family != filter.rsrc.family || filter.rsrc.bitlen > r->rtm_src_len)) in filter_nlmsg()
197 (filter.msrc.bitlen >= 0 && filter.msrc.bitlen < r->rtm_src_len))) in filter_nlmsg()
221 if (filter.rvia.bitlen>0) { in filter_nlmsg()
233 if (filter.rprefsrc.bitlen>0) { in filter_nlmsg()
240 if (filter.rdst.family && inet_addr_match(&dst, &filter.rdst, filter.rdst.bitlen)) in filter_nlmsg()
242 if (filter.mdst.family && filter.mdst.bitlen >= 0 && in filter_nlmsg()
246 if (filter.rsrc.family && inet_addr_match(&src, &filter.rsrc, filter.rsrc.bitlen)) in filter_nlmsg()
248 if (filter.msrc.family && filter.msrc.bitlen >= 0 && in filter_nlmsg()
252 if (filter.rvia.family && inet_addr_match(&via, &filter.rvia, filter.rvia.bitlen)) in filter_nlmsg()
254 if (filter.rprefsrc.family && inet_addr_match(&prefsrc, &filter.rprefsrc, filter.rprefsrc.bitlen)) in filter_nlmsg()
417 if (tb[RTA_GATEWAY] && filter.rvia.bitlen != host_len) { in print_route()
443 if (tb[RTA_PREFSRC] && filter.rprefsrc.bitlen != host_len) { in print_route()
898 req.r.rtm_src_len = addr.bitlen; in iproute_modify()
1157 req.r.rtm_dst_len = dst.bitlen; in iproute_modify()
1625 req.r.rtm_src_len = addr.bitlen; in iproute_get()
1657 req.r.rtm_dst_len = addr.bitlen; in iproute_get()
1811 filter.mdst.bitlen = -1; in iproute_reset_filter()
1812 filter.msrc.bitlen = -1; in iproute_reset_filter()