Home
last modified time | relevance | path

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

/net/ipv4/
Dipmr_base.c151 struct mr_mfc *mfc; in mr_mfc_seq_idx() local
155 list_for_each_entry_rcu(mfc, &mrt->mfc_cache_list, list) in mr_mfc_seq_idx()
157 return mfc; in mr_mfc_seq_idx()
162 list_for_each_entry(mfc, it->cache, list) in mr_mfc_seq_idx()
164 return mfc; in mr_mfc_seq_idx()
298 struct mr_mfc *mfc; in mr_table_dump() local
304 list_for_each_entry_rcu(mfc, &mrt->mfc_cache_list, list) { in mr_table_dump()
308 !mr_mfc_uses_dev(mrt, mfc, filter->dev)) in mr_table_dump()
312 cb->nlh->nlmsg_seq, mfc, RTM_NEWROUTE, flags); in mr_table_dump()
320 list_for_each_entry(mfc, &mrt->mfc_unres_queue, list) { in mr_table_dump()
[all …]
Dipmr.c105 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
633 struct mfc_cache *mfc, u32 tb_id) in call_ipmr_mfc_entry_notifiers() argument
636 &mfc->_c, tb_id, &net->ipv4.ipmr_seq); in call_ipmr_mfc_entry_notifiers()
1169 static int ipmr_mfc_delete(struct mr_table *mrt, struct mfcctl *mfc, int parent) in ipmr_mfc_delete() argument
1176 c = ipmr_cache_find_parent(mrt, mfc->mfcc_origin.s_addr, in ipmr_mfc_delete()
1177 mfc->mfcc_mcastgrp.s_addr, parent); in ipmr_mfc_delete()
1191 struct mfcctl *mfc, int mrtsock, int parent) in ipmr_mfc_add() argument
1198 if (mfc->mfcc_parent >= MAXVIFS) in ipmr_mfc_add()
1203 c = ipmr_cache_find_parent(mrt, mfc->mfcc_origin.s_addr, in ipmr_mfc_add()
1204 mfc->mfcc_mcastgrp.s_addr, parent); in ipmr_mfc_add()
[all …]
/net/ipv6/
Dip6mr.c90 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc,
481 const struct mfc6_cache *mfc = v; in ipmr_mfc_seq_show() local
486 &mfc->mf6c_mcastgrp, &mfc->mf6c_origin, in ipmr_mfc_seq_show()
487 mfc->_c.mfc_parent); in ipmr_mfc_seq_show()
491 mfc->_c.mfc_un.res.pkt, in ipmr_mfc_seq_show()
492 mfc->_c.mfc_un.res.bytes, in ipmr_mfc_seq_show()
493 mfc->_c.mfc_un.res.wrong_if); in ipmr_mfc_seq_show()
494 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
495 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
497 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
[all …]