Home
last modified time | relevance | path

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

/linux-6.1.9/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()
240 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { in mr_fill_mroute()
244 if (vif_dev && c->mfc_un.res.ttls[ct] < 255) { in mr_fill_mroute()
254 nhp->rtnh_hops = c->mfc_un.res.ttls[ct]; in mr_fill_mroute()
263 lastuse = READ_ONCE(c->mfc_un.res.lastuse); in mr_fill_mroute()
266 mfcs.mfcs_packets = c->mfc_un.res.pkt; in mr_fill_mroute()
267 mfcs.mfcs_bytes = c->mfc_un.res.bytes; in mr_fill_mroute()
268 mfcs.mfcs_wrong_if = c->mfc_un.res.wrong_if; in mr_fill_mroute()
[all …]
Dipmr.c728 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved))) { in ipmr_destroy_unres()
768 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_expire_process()
769 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_expire_process()
793 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
794 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
795 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_thresholds()
800 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ipmr_update_thresholds()
801 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_thresholds()
802 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()
803 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()
[all …]
/linux-6.1.9/net/ipv6/ !
Dip6mr.c495 mfc->_c.mfc_un.res.pkt, in ipmr_mfc_seq_show()
496 mfc->_c.mfc_un.res.bytes, in ipmr_mfc_seq_show()
497 mfc->_c.mfc_un.res.wrong_if); in ipmr_mfc_seq_show()
498 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
499 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
501 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
504 mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()
779 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved)) != NULL) { in ip6mr_destroy_unres()
805 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_do_expire_process()
807 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_do_expire_process()
[all …]
/linux-6.1.9/include/linux/ !
Dmroute_base.h156 } mfc_un; member
164 if (refcount_dec_and_test(&c->mfc_un.res.refcount)) in mr_cache_put()
170 refcount_inc(&c->mfc_un.res.refcount); in mr_cache_hold()
/linux-6.1.9/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()