Home
last modified time | relevance | path

Searched refs:msrc (Results 1 – 4 of 4) sorted by relevance

/external/iproute2/ip/
Dipmroute.c52 inet_prefix msrc; member
107 if (tb[RTA_SRC] && filter.msrc.bitlen > 0) { in print_mroute()
111 if (inet_addr_match(&src, &filter.msrc, filter.msrc.bitlen)) in print_mroute()
195 filter.msrc.bitlen = -1; in ipmroute_reset_filter()
235 get_prefix(&filter.msrc, *argv, family); in mroute_list()
Diproute.c133 inet_prefix msrc; member
202 if (filter.msrc.family && in filter_nlmsg()
203 (r->rtm_family != filter.msrc.family || in filter_nlmsg()
204 (filter.msrc.bitlen >= 0 && filter.msrc.bitlen < r->rtm_src_len))) in filter_nlmsg()
222 if (filter.rsrc.family || filter.msrc.family) { in filter_nlmsg()
250 if (filter.msrc.family && filter.msrc.bitlen >= 0 && in filter_nlmsg()
251 inet_addr_match(&src, &filter.msrc, r->rtm_src_len)) in filter_nlmsg()
1538 get_prefix(&filter.msrc, *argv, do_ipv6); in iproute_list_flush_or_save()
1543 get_prefix(&filter.msrc, *argv, do_ipv6); in iproute_list_flush_or_save()
1544 filter.rsrc = filter.msrc; in iproute_list_flush_or_save()
[all …]
/external/toybox/toys/pending/
Dip.c1447 struct I_data rvia, rdst, mdst, rsrc, msrc; member
1499 if (gfilter.msrc.family && (msg->rtm_family != gfilter.msrc.family in display_route_info()
1500 || (gfilter.msrc.netmask < msg->rtm_src_len))) return 0; in display_route_info()
1528 if (gfilter.msrc.family && in display_route_info()
1529 memcmp(RTA_DATA(attr[RTA_SRC]), &gfilter.msrc.addr, gfilter.msrc.len)) in display_route_info()
1828 parse_prefix(gfilter.msrc.addr, &gfilter.msrc.netmask, in route_show_flush()
1829 &gfilter.msrc.len, *argv, gfilter.msrc.family); in route_show_flush()
1830 if (gfilter.msrc.len) in route_show_flush()
1831 gfilter.msrc.family = ((gfilter.msrc.len == 4) ? in route_show_flush()
1833 if (idx != 11) gfilter.rsrc = gfilter.msrc; in route_show_flush()
/external/python/cpython3/Lib/test/
Dtest_buffer.py2462 msrc = memoryview(ex)
2463 self.assertRaises(TypeError, msrc.cast, 'c')
2466 msrc = memoryview(b'')
2467 m = msrc.cast(fmt)
2548 msrc = memoryview(ex)
2549 self.assertRaises(TypeError, msrc.cast, 'c')
2560 msrc = memoryview(ex)
2561 self.assertRaises(TypeError, msrc.cast, dfmt, [32//dsize])
2565 msrc = memoryview(ex)
2568 self.assertRaises(ValueError, msrc.cast, dfmt,
[all …]