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