Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
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 …]
Dipmr.c726 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved))) { in ipmr_destroy_unres()
766 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_expire_process()
767 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_expire_process()
791 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
792 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
793 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_thresholds()
798 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ipmr_update_thresholds()
799 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_thresholds()
800 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()
801 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
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()
492 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
493 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
495 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
498 mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()
777 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved)) != NULL) { in ip6mr_destroy_unres()
803 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_do_expire_process()
805 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_do_expire_process()
[all …]
/kernel/linux/linux-5.10/include/linux/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
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()