Home
last modified time | relevance | path

Searched refs:mdst (Results 1 – 3 of 3) sorted by relevance

/external/iproute2/ip/
Dipmroute.c49 inet_prefix mdst; member
113 if (filter.mdst.family && inet_addr_match(&maddr, &filter.mdst, filter.mdst.bitlen)) in read_mroute_list()
182 get_prefix(&filter.mdst, *argv, AF_INET); in mroute_list()
Diproute.c112 inet_prefix mdst; member
172 if (filter.mdst.family && in filter_nlmsg()
173 (r->rtm_family != filter.mdst.family || in filter_nlmsg()
174 (filter.mdst.bitlen >= 0 && filter.mdst.bitlen < r->rtm_dst_len))) in filter_nlmsg()
213 if (filter.mdst.family && filter.mdst.bitlen >= 0 && in filter_nlmsg()
214 inet_addr_match(&dst, &filter.mdst, r->rtm_dst_len)) in filter_nlmsg()
1231 get_prefix(&filter.mdst, *argv, do_ipv6); in iproute_list_flush_or_save()
1236 get_prefix(&filter.mdst, *argv, do_ipv6); in iproute_list_flush_or_save()
1237 filter.rdst = filter.mdst; in iproute_list_flush_or_save()
1540 filter.mdst.bitlen = -1; in iproute_reset_filter()
/external/toybox/toys/pending/
Dip.c1451 struct I_data rvia, rdst, mdst, rsrc, msrc; member
1499 if (gfilter.mdst.family && (msg->rtm_family != gfilter.mdst.family in display_route_info()
1500 || (gfilter.mdst.netmask < msg->rtm_dst_len))) return 0; in display_route_info()
1518 if (gfilter.mdst.family && in display_route_info()
1519 memcmp(RTA_DATA(attr[RTA_DST]), &gfilter.mdst.addr, gfilter.mdst.len)) in display_route_info()
1854 parse_prefix(gfilter.mdst.addr, &gfilter.mdst.netmask, in route_show_flush()
1855 &gfilter.mdst.len, *argv, gfilter.mdst.family); in route_show_flush()
1856 if (gfilter.mdst.len) in route_show_flush()
1857 gfilter.mdst.family = ((gfilter.mdst.len == 4) ? in route_show_flush()
1859 if (idx != 11) gfilter.rdst = gfilter.mdst; in route_show_flush()