Home
last modified time | relevance | path

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

/linux/net/ipv4/
H 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()
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 = atomic_long_read(&c->mfc_un.res.pkt); in mr_fill_mroute()
267 mfcs.mfcs_bytes = atomic_long_read(&c->mfc_un.res.bytes); in mr_fill_mroute()
268 mfcs.mfcs_wrong_if = atomic_long_read(&c->mfc_un.res.wrong_if); in mr_fill_mroute()
[all …]
H A Dipmr.c755 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved))) { in ipmr_destroy_unres()
795 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_expire_process()
796 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_expire_process()
820 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
821 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
822 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_thresholds()
827 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ipmr_update_thresholds()
828 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_thresholds()
829 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()
830 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()
[all …]
/linux/net/ipv6/
H A Dip6mr.c523 atomic_long_read(&mfc->_c.mfc_un.res.pkt), in ipmr_mfc_seq_show()
524 atomic_long_read(&mfc->_c.mfc_un.res.bytes), in ipmr_mfc_seq_show()
525 atomic_long_read(&mfc->_c.mfc_un.res.wrong_if)); in ipmr_mfc_seq_show()
526 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
527 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
529 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
532 mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()
807 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved)) != NULL) { in ip6mr_destroy_unres()
833 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_do_expire_process()
835 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_do_expire_process()
[all …]