Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/libiproute/
Dipneigh.c46 #define G_filter (*(filter_t*)bb_common_bufsiz1) macro
51 if (rtnl_send_check(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { in flush_update()
55 G_filter.flushp = 0; in flush_update()
109 if (G_filter.flushb && n->nlmsg_type != RTM_NEWNEIGH) in print_neigh()
112 if (G_filter.family && G_filter.family != r->ndm_family) in print_neigh()
114 if (G_filter.index && G_filter.index != r->ndm_ifindex) in print_neigh()
116 if (!(G_filter.state&r->ndm_state) in print_neigh()
118 && (r->ndm_state || !(G_filter.state & 0x100)) in print_neigh()
127 if (G_filter.pfx.family) { in print_neigh()
132 if (inet_addr_match(&dst, &G_filter.pfx, G_filter.pfx.bitlen)) in print_neigh()
[all …]
Dipaddress.c56 #define G_filter (*(filter_t*)bb_common_bufsiz1) macro
125 if (G_filter.ifindex && ifi->ifi_index != G_filter.ifindex) in print_linkinfo()
127 if (G_filter.up && !(ifi->ifi_flags & IFF_UP)) in print_linkinfo()
136 if (G_filter.label in print_linkinfo()
137 && (!G_filter.family || G_filter.family == AF_PACKET) in print_linkinfo()
138 && fnmatch(G_filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0) in print_linkinfo()
187 if (G_filter.showqueue) in print_linkinfo()
190 if (!G_filter.family || G_filter.family == AF_PACKET) { in print_linkinfo()
218 if (rtnl_send_check(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { in flush_update()
222 G_filter.flushp = 0; in flush_update()
[all …]
Diproute.c54 #define G_filter (*(filter_t*)bb_common_bufsiz1) macro
59 if (rtnl_send_check(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { in flush_update()
63 G_filter.flushp = 0; in flush_update()
83 if (G_filter.flushb && n->nlmsg_type != RTM_NEWROUTE) in print_route()
105 if (G_filter.tb) { in print_route()
106 if (G_filter.tb < 0) { in print_route()
114 if (G_filter.tb == RT_TABLE_LOCAL) { in print_route()
118 } else if (G_filter.tb == RT_TABLE_MAIN) { in print_route()
128 if (G_filter.tb > 0 && G_filter.tb != tid) { in print_route()
132 if ((G_filter.scope ^ r->rtm_scope) & G_filter.scopemask) in print_route()
[all …]