Home
last modified time | relevance | path

Searched refs:bitlen (Results 1 – 6 of 6) sorted by relevance

/busybox-1.35.0/networking/libiproute/
Dutils.c92 addr->bitlen = -1; in get_addr_1()
103 addr->bitlen = -1; in get_addr_1()
137 addr->bitlen = -1; in get_addr_1()
163 dst->bitlen = (dst->family == AF_INET6) ? 128 : 32; in get_prefix_1()
170 if ((errno || plen > dst->bitlen) in get_prefix_1()
186 if (plen > dst->bitlen) in get_prefix_1()
190 dst->bitlen = plen; in get_prefix_1()
Diproute.c135 && (r->rtm_family != G_filter.rdst.family || G_filter.rdst.bitlen > r->rtm_dst_len) in print_route()
141 || (G_filter.mdst.bitlen >= 0 && G_filter.mdst.bitlen < r->rtm_dst_len) in print_route()
147 && (r->rtm_family != G_filter.rsrc.family || G_filter.rsrc.bitlen > r->rtm_src_len) in print_route()
153 || (G_filter.msrc.bitlen >= 0 && G_filter.msrc.bitlen < r->rtm_src_len) in print_route()
163 src.bitlen = r->rtm_src_len; in print_route()
168 dst.bitlen = r->rtm_dst_len; in print_route()
174 && inet_addr_match(&dst, &G_filter.rdst, G_filter.rdst.bitlen) in print_route()
179 && G_filter.mdst.bitlen >= 0 in print_route()
185 && inet_addr_match(&src, &G_filter.rsrc, G_filter.rsrc.bitlen) in print_route()
189 if (G_filter.msrc.family && G_filter.msrc.bitlen >= 0 in print_route()
[all …]
Dutils.h32 int16_t bitlen; member
Dipaddress.c276 if (inet_addr_match(&dst, &G_filter.pfx, G_filter.pfx.bitlen)) in print_addrinfo()
566 if (inet_addr_match(&dst, &G_filter.pfx, G_filter.pfx.bitlen)) in ipaddr_list_or_flush()
677 req.ifa.ifa_prefixlen = peer.bitlen; in ipaddr_modify()
771 req.ifa.ifa_prefixlen = lcl.bitlen; in ipaddr_modify()
780 if (brd.bitlen <= 30) { in ipaddr_modify()
781 for (i = 31; i >= brd.bitlen; i--) { in ipaddr_modify()
Diprule.c248 req.r.rtm_src_len = dst.bitlen; in iprule_modify()
254 req.r.rtm_dst_len = dst.bitlen; in iprule_modify()
Dipneigh.c132 if (inet_addr_match(&dst, &G_filter.pfx, G_filter.pfx.bitlen)) in print_neigh()