Home
last modified time | relevance | path

Searched refs:mfc_un (Results 1 – 5 of 5) sorted by relevance

/linux/net/ipv4/
A Dipmr_base.c86 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any_parent()
100 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any()
105 if (proxy && proxy->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any()
235 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { in mr_fill_mroute()
236 if (VIF_EXISTS(mrt, ct) && c->mfc_un.res.ttls[ct] < 255) { in mr_fill_mroute()
246 nhp->rtnh_hops = c->mfc_un.res.ttls[ct]; in mr_fill_mroute()
255 lastuse = READ_ONCE(c->mfc_un.res.lastuse); in mr_fill_mroute()
258 mfcs.mfcs_packets = c->mfc_un.res.pkt; in mr_fill_mroute()
259 mfcs.mfcs_bytes = c->mfc_un.res.bytes; in mr_fill_mroute()
260 mfcs.mfcs_wrong_if = c->mfc_un.res.wrong_if; in mr_fill_mroute()
[all …]
A Dipmr.c791 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
792 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
800 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()
805 cache->mfc_un.res.lastuse = jiffies; in ipmr_update_thresholds()
955 c->_c.mfc_un.res.minvif = MAXVIFS; in ipmr_cache_alloc()
1145 c->_c.mfc_un.unres.expires); in ipmr_cache_unresolved()
1627 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_ioctl()
1934 c->_c.mfc_un.res.pkt++; in ip_mr_forward()
1967 c->_c.mfc_un.res.wrong_if++; in ip_mr_forward()
2977 mfc->_c.mfc_un.res.pkt, in ipmr_mfc_seq_show()
[all …]
/linux/net/ipv6/
A Dip6mr.c489 mfc->_c.mfc_un.res.pkt, in ipmr_mfc_seq_show()
490 mfc->_c.mfc_un.res.bytes, in ipmr_mfc_seq_show()
491 mfc->_c.mfc_un.res.wrong_if); in ipmr_mfc_seq_show()
498 mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()
842 cache->mfc_un.res.minvif = MAXMIFS; in ip6mr_update_thresholds()
843 cache->mfc_un.res.maxvif = 0; in ip6mr_update_thresholds()
851 cache->mfc_un.res.minvif = vifi; in ip6mr_update_thresholds()
856 cache->mfc_un.res.lastuse = jiffies; in ip6mr_update_thresholds()
983 c->_c.mfc_un.res.minvif = MAXMIFS; in ip6mr_cache_alloc()
2095 c->_c.mfc_un.res.pkt++; in ip6_mr_forward()
[all …]
/linux/include/linux/
A Dmroute_base.h151 } mfc_un; member
159 if (refcount_dec_and_test(&c->mfc_un.res.refcount)) in mr_cache_put()
165 refcount_inc(&c->mfc_un.res.refcount); in mr_cache_hold()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_mr.c115 return mr_route->mfc->mfc_un.res.ttls[ivif] != 255; in mlxsw_sp_mr_route_ivif_in_evifs()
321 if (mfc->mfc_un.res.ttls[i] != 255) { in mlxsw_sp_mr_route_create()
1009 if (mr_route->mfc->mfc_un.res.pkt != packets) in mlxsw_sp_mr_route_stats_update()
1010 mr_route->mfc->mfc_un.res.lastuse = jiffies; in mlxsw_sp_mr_route_stats_update()
1011 mr_route->mfc->mfc_un.res.pkt = packets; in mlxsw_sp_mr_route_stats_update()
1012 mr_route->mfc->mfc_un.res.bytes = bytes; in mlxsw_sp_mr_route_stats_update()

Completed in 20 milliseconds