Lines Matching refs:bitlen
170 (r->rtm_family != filter.rdst.family || filter.rdst.bitlen > r->rtm_dst_len))
174 (filter.mdst.bitlen >= 0 && filter.mdst.bitlen < r->rtm_dst_len)))
177 (r->rtm_family != filter.rsrc.family || filter.rsrc.bitlen > r->rtm_src_len))
181 (filter.msrc.bitlen >= 0 && filter.msrc.bitlen < r->rtm_src_len)))
198 if (filter.rvia.bitlen>0) {
204 if (filter.rprefsrc.bitlen>0) {
211 if (filter.rdst.family && inet_addr_match(&dst, &filter.rdst, filter.rdst.bitlen))
213 if (filter.mdst.family && filter.mdst.bitlen >= 0 &&
217 if (filter.rsrc.family && inet_addr_match(&src, &filter.rsrc, filter.rsrc.bitlen))
219 if (filter.msrc.family && filter.msrc.bitlen >= 0 &&
223 if (filter.rvia.family && inet_addr_match(&via, &filter.rvia, filter.rvia.bitlen))
225 if (filter.rprefsrc.family && inet_addr_match(&prefsrc, &filter.rprefsrc, filter.rprefsrc.bitlen))
378 if (tb[RTA_GATEWAY] && filter.rvia.bitlen != host_len) {
396 if (tb[RTA_PREFSRC] && filter.rprefsrc.bitlen != host_len) {
762 req.r.rtm_src_len = addr.bitlen;
959 req.r.rtm_dst_len = dst.bitlen;
1396 req.r.rtm_src_len = addr.bitlen;
1428 req.r.rtm_dst_len = addr.bitlen;
1540 filter.mdst.bitlen = -1;
1541 filter.msrc.bitlen = -1;