Searched refs:gfilter (Results 1 – 1 of 1) sorted by relevance
1452 } gfilter; variable1480 if (gfilter.tb) { in display_route_info()1481 if (gfilter.tb < 0) { in display_route_info()1485 if (gfilter.tb == RT_TABLE_LOCAL && msg->rtm_type != RTN_LOCAL) in display_route_info()1487 else if (gfilter.tb == RT_TABLE_MAIN && msg->rtm_type == RTN_LOCAL) in display_route_info()1492 else if (gfilter.tb > 0 && gfilter.tb != msg->rtm_table) return 0; in display_route_info()1494 if (gfilter.proto && (msg->rtm_protocol != gfilter.proto)) return 0; in display_route_info()1497 if (gfilter.rdst.family && (msg->rtm_family != gfilter.rdst.family || in display_route_info()1498 gfilter.rdst.netmask > msg->rtm_dst_len)) return 0; in display_route_info()1499 if (gfilter.mdst.family && (msg->rtm_family != gfilter.mdst.family in display_route_info()[all …]