Lines Matching refs:mfc

116  * mfctable is a fixed size hash table of mfc buckets strcuts (struct mfcb).
117 * Each mfc bucket struct (struct mfcb) maintains a refcnt for each walker,
119 * mfc structs only maintain a state and have no refcnt. mfc_mutex is used to
122 * mfc structs are dynamically allocated and are singly linked
123 * at the head of the chain. When an mfc structure is to be deleted
125 * When the last walker of the hash bucket exits all the mfc structs
129 * The bucket lock should be acquired before the mfc struct lock.
134 * acquring vif or mfc locks. These locks protect some global variables.
144 * Upcall timeouts - BSD uses boolean_t mfc->expire and
146 * SunOS 5.x uses mfc->timeout for each mfc.
178 static void fill_route(struct mfc *, struct mfcctl *, ip_stack_t *);
179 static void free_queue(struct mfc *);
186 ipaddr_t, struct mfc *);
281 struct mfc *_mb_rt = NULL; \
439 struct mfc *rt;
612 struct mfc *mfc_rt;
752 struct mfc *rt;
1157 * Add an mfc entry.
1162 struct mfc *rt;
1266 * so mfc cannot be freed.
1331 rt = (struct mfc *)mi_zalloc(sizeof (struct mfc));
1356 * Fills in mfc structure from mrouted mfcctl.
1359 fill_route(struct mfc *rt, struct mfcctl *mfccp, ip_stack_t *ipst)
1380 free_queue(struct mfc *mfcp)
1400 struct mfc *current_mfcp;
1401 struct mfc *prev_mfcp;
1431 * Delete an mfc entry.
1438 struct mfc *rt;
1455 /* Find mfc in mfctable, finds only entries without upcalls */
1532 struct mfc *rt;
1663 struct mfc *mfc_rt = NULL;
1722 mfc_rt = (struct mfc *)mi_zalloc(sizeof (struct mfc));
1726 "for mfc, mfc_rt\n"));
1791 * Now finish installing the new mfc! Now that we have
1910 * SunOS 5.x has timeout per mfc, unlike BSD which has one timer.
1915 struct mfc *mfc_rt = arg;
1917 struct mfc *prev_mfc, *mfc0;
1976 struct mfc *rt)
2128 * the output set for the mfc entry.
2771 struct mfc *rt;
3355 struct mfc *rt;