Searched refs:vifi (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/net/ipv4/ |
D | ipmr.c | 109 struct sk_buff *pkt, vifi_t vifi, int assert); 649 static int vif_delete(struct mr_table *mrt, int vifi, int notify, in vif_delete() argument 657 if (vifi < 0 || vifi >= mrt->maxvif) in vif_delete() 660 v = &mrt->vif_table[vifi]; in vif_delete() 668 vifi, mrt->id); in vif_delete() 671 if (vifi == mrt->mroute_reg_vif_num) { in vif_delete() 675 if (vifi + 1 == mrt->maxvif) { in vif_delete() 678 for (tmp = vifi - 1; tmp >= 0; tmp--) { in vif_delete() 791 int vifi; in ipmr_update_thresholds() local 797 for (vifi = 0; vifi < mrt->maxvif; vifi++) { in ipmr_update_thresholds() [all …]
|
D | ipmr_base.c | 78 void *mr_mfc_find_any_parent(struct mr_table *mrt, int vifi) in mr_mfc_find_any_parent() argument 86 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any_parent() 93 void *mr_mfc_find_any(struct mr_table *mrt, int vifi, void *hasharg) in mr_mfc_find_any() argument 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() 109 return mr_mfc_find_any_parent(mrt, vifi); in mr_mfc_find_any() 415 int vifi; in mr_dump() local 419 for (vifi = 0; vifi < mrt->maxvif; vifi++, v++) { in mr_dump() 426 vif_dev, vifi, in mr_dump()
|
/linux-6.6.21/net/ipv6/ |
D | ip6mr.c | 699 static int mif6_delete(struct mr_table *mrt, int vifi, int notify, in mif6_delete() argument 706 if (vifi < 0 || vifi >= mrt->maxvif) in mif6_delete() 709 v = &mrt->vif_table[vifi]; in mif6_delete() 717 vifi, mrt->id); in mif6_delete() 722 if (vifi == mrt->mroute_reg_vif_num) { in mif6_delete() 728 if (vifi + 1 == mrt->maxvif) { in mif6_delete() 730 for (tmp = vifi - 1; tmp >= 0; tmp--) { in mif6_delete() 843 int vifi; in ip6mr_update_thresholds() local 849 for (vifi = 0; vifi < mrt->maxvif; vifi++) { in ip6mr_update_thresholds() 850 if (VIF_EXISTS(mrt, vifi) && in ip6mr_update_thresholds() [all …]
|
/linux-6.6.21/include/linux/ |
D | mroute_base.h | 285 void *mr_mfc_find_any_parent(struct mr_table *mrt, int vifi); 286 void *mr_mfc_find_any(struct mr_table *mrt, int vifi, void *hasharg); 329 int vifi) in mr_mfc_find_any_parent() argument 335 int vifi, void *hasharg) in mr_mfc_find_any() argument
|
/linux-6.6.21/include/uapi/linux/ |
D | mroute.h | 102 vifi_t vifi; /* Which iface */ member
|