Searched refs:maxvif (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/net/ipv4/
H A Dipmr.c83 int maxvif; member in struct:mr_table
556 if (vifi < 0 || vifi >= mrt->maxvif) vif_delete()
575 if (vifi + 1 == mrt->maxvif) { vif_delete()
582 mrt->maxvif = tmp+1; vif_delete()
697 cache->mfc_un.res.maxvif = 0; ipmr_update_thresholds()
700 for (vifi = 0; vifi < mrt->maxvif; vifi++) { ipmr_update_thresholds()
706 if (cache->mfc_un.res.maxvif <= vifi) ipmr_update_thresholds()
707 cache->mfc_un.res.maxvif = vifi + 1; ipmr_update_thresholds()
814 if (vifi+1 > mrt->maxvif) vif_add()
815 mrt->maxvif = vifi+1; vif_add()
1211 for (i = 0; i < mrt->maxvif; i++) { mroute_clean_tables()
1499 if (vr.vifi >= mrt->maxvif) ipmr_ioctl()
1573 if (vr.vifi >= mrt->maxvif) ipmr_compat_ioctl()
1628 for (ct = 0; ct < mrt->maxvif; ct++, v++) { ipmr_for_each_table()
1797 for (ct = mrt->maxvif-1; ct >= 0; ct--) { ipmr_find_vif()
1889 for (ct = cache->mfc_un.res.maxvif - 1; ip_mr_forward()
2165 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { __ipmr_fill_mroute()
2304 static size_t mroute_msgsize(bool unresolved, int maxvif) mroute_msgsize() argument
2317 + maxvif * NLA_ALIGN(sizeof(struct rtnexthop)) mroute_msgsize()
2332 skb = nlmsg_new(mroute_msgsize(mfc->mfc_parent >= MAXVIFS, mrt->maxvif), mroute_netlink_event()
2432 for (iter->ct = 0; iter->ct < mrt->maxvif; ++iter->ct) { ipmr_vif_seq_idx()
2469 while (++iter->ct < mrt->maxvif) { ipmr_vif_seq_next()
2655 n < mfc->mfc_un.res.maxvif; n++) { ipmr_mfc_seq_show()
/linux-4.4.14/net/ipv6/
H A Dip6mr.c66 int maxvif; member in struct:mr6_table
393 for (iter->ct = 0; iter->ct < mrt->maxvif; ++iter->ct) { ip6mr_vif_seq_idx()
430 while (++iter->ct < mrt->maxvif) { ip6mr_vif_seq_next()
580 n < mfc->mfc_un.res.maxvif; n++) { ipmr_mfc_seq_show()
783 if (vifi < 0 || vifi >= mrt->maxvif) mif6_delete()
802 if (vifi + 1 == mrt->maxvif) { mif6_delete()
808 mrt->maxvif = tmp + 1; mif6_delete()
911 cache->mfc_un.res.maxvif = 0; ip6mr_update_thresholds()
914 for (vifi = 0; vifi < mrt->maxvif; vifi++) { ip6mr_update_thresholds()
920 if (cache->mfc_un.res.maxvif <= vifi) ip6mr_update_thresholds()
921 cache->mfc_un.res.maxvif = vifi + 1; ip6mr_update_thresholds()
1004 if (vifi + 1 > mrt->maxvif) mif6_add()
1005 mrt->maxvif = vifi + 1; mif6_add()
1339 for (ct = 0; ct < mrt->maxvif; ct++, v++) { ip6mr_for_each_table()
1550 for (i = 0; i < mrt->maxvif; i++) { mroute_clean_tables()
1870 if (vr.mifi >= mrt->maxvif) ip6mr_ioctl()
1944 if (vr.mifi >= mrt->maxvif) ip6mr_compat_ioctl()
2076 for (ct = mrt->maxvif - 1; ct >= 0; ct--) { ip6mr_find_vif()
2150 for (ct = cache->mfc_un.res.maxvif - 1; ct >= cache->mfc_un.res.minvif; ct--) { ip6_mr_forward()
2251 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { __ip6mr_fill_mroute()
2399 static int mr6_msgsize(bool unresolved, int maxvif) mr6_msgsize() argument
2412 + maxvif * NLA_ALIGN(sizeof(struct rtnexthop)) mr6_msgsize()
2427 skb = nlmsg_new(mr6_msgsize(mfc->mf6c_parent >= MAXMIFS, mrt->maxvif), mr6_netlink_event()
/linux-4.4.14/include/linux/
H A Dmroute.h82 int maxvif; member in struct:mfc_cache::__anon12922::__anon12924
H A Dmroute6.h91 int maxvif; member in struct:mfc6_cache::__anon12925::__anon12927

Completed in 123 milliseconds