Lines Matching defs:mfc
163 LIST_HEAD(mfchashhdr, mfc) *mfchashtbl;
206 static void update_mfc_params(struct mfc *, struct mfcctl2 *);
207 static void init_mfc_params(struct mfc *, struct mfcctl2 *);
208 static void expire_mfc(struct mfc *);
217 static int ip_mdq(struct mbuf *, struct ifnet *, struct mfc *);
248 struct mbuf *, struct mfc *);
250 struct mbuf *, struct mfc *);
252 struct mbuf *, struct mfc *);
363 static struct mfc *
366 struct mfc *rt;
545 struct mfc *rt;
659 struct mfc *rt, *nrt;
692 struct mfc *rt;
737 * - the MFC table is empty
974 * update an mfc entry without resetting counters and S,G addresses.
977 update_mfc_params(struct mfc *rt, struct mfcctl2 *mfccp)
995 * fully initialize an mfc entry from the parameter.
998 init_mfc_params(struct mfc *rt, struct mfcctl2 *mfccp)
1013 expire_mfc(struct mfc *rt)
1030 * Add an mfc entry
1037 struct mfc *rt;
1124 * No mfc; make a new one
1189 * Delete an mfc entry
1196 struct mfc *rt;
1201 * XXX: for deleting MFC entries the information in entries
1302 struct mfc *rt;
1531 struct mfc *rt, *nrt;
1585 ip_mdq(struct mbuf *m, struct ifnet *ifp, struct mfc *rt)
2173 struct mfc *mfc;
2202 mfc = mfc_find(&req->bu_src, &req->bu_dst);
2203 if (mfc == NULL) {
2207 for (x = mfc->mfc_bw_meter; x != NULL; x = x->bm_mfc_next) {
2237 /* Add the new bw_meter entry to the front of entries for this MFC */
2238 x->bm_mfc = mfc;
2239 x->bm_mfc_next = mfc->mfc_bw_meter;
2240 mfc->mfc_bw_meter = x;
2266 struct mfc *mfc;
2273 /* Find the corresponding MFC entry */
2274 mfc = mfc_find(&req->bu_src, &req->bu_dst);
2275 if (mfc == NULL) {
2280 * Delete all bw_meter entries for this mfc
2284 list = mfc->mfc_bw_meter;
2285 mfc->mfc_bw_meter = NULL;
2296 for (prev = NULL, x = mfc->mfc_bw_meter; x != NULL;
2305 if (x != NULL) { /* Delete entry from the list for this MFC */
2726 struct mfc *rt)
2813 struct mbuf *mb_copy, struct mfc *rt)
2868 struct mbuf *mb_copy, struct mfc *rt)