Home
last modified time | relevance | path

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

/dragonfly/usr.bin/netstat/
H A Dmroute6.c95 struct mf6c mfc; in mroute6pr() local
148 kread((u_long)mfcp, (char *)&mfc, sizeof(mfc)); in mroute6pr()
159 routename6(&mfc.mf6c_origin)); in mroute6pr()
161 routename6(&mfc.mf6c_mcastgrp)); in mroute6pr()
162 printf(" %9llu", (unsigned long long)mfc.mf6c_pkt_cnt); in mroute6pr()
164 for (waitings = 0, rtep = mfc.mf6c_stall; rtep; ) { in mroute6pr()
171 if (mfc.mf6c_parent == MF6C_INCOMPLETE_PARENT) in mroute6pr()
174 printf(" %3d ", mfc.mf6c_parent); in mroute6pr()
176 if (IF_ISSET(mifi, &mfc.mf6c_ifset)) in mroute6pr()
181 mfcp = mfc.mf6c_next; in mroute6pr()
H A Dmroute.c67 struct mfc *mfctable[MFCTBLSIZ]; in mroutepr()
69 struct mfc mfc, *m; in mroutepr() local
116 kread((u_long)m, (char *)&mfc, sizeof mfc); in mroutepr()
125 printf(" %-15.15s", routename(mfc.mfc_origin.s_addr)); in mroutepr()
126 printf(" %-15.15s", routename(mfc.mfc_mcastgrp.s_addr)); in mroutepr()
127 printf(" %9lu", mfc.mfc_pkt_cnt); in mroutepr()
128 printf(" %3d ", mfc.mfc_parent); in mroutepr()
130 if (mfc.mfc_ttls[vifi] > 0) in mroutepr()
132 mfc.mfc_ttls[vifi]); in mroutepr()
141 bwm = mfc.mfc_bw_meter; in mroutepr()
[all …]
/dragonfly/sys/net/ip_mroute/
H A Dip_mroute.c322 static struct mfc *
325 struct mfc *rt; in mfc_find()
521 struct mfc *rt; in get_sg_cnt()
612 struct mfc *rt; in X_ip_mrouter_done()
971 struct mfc *rt; in add_mfc()
1157 struct mfc *rt; in X_ip_mforward()
1386 struct mfc *mfc, **nptr; in expire_upcalls() local
1394 for (mfc = *nptr; mfc != NULL; mfc = *nptr) { in expire_upcalls()
1400 if (mfc->mfc_stall != NULL && mfc->mfc_expire != 0 && in expire_upcalls()
2257 struct mfc *mfc; local
[all …]
H A Dip_mroute.h276 struct mfc { struct
287 struct mfc *mfc_next; /* next mfc entry */ argument
357 struct mfc *bm_mfc; /* the corresponding mfc */
/dragonfly/sys/bus/pccard/
H A Dpccard_cis.c116 } mfc[256 / 5]; in pccard_scan_cis() local
323 howmany(sizeof mfc, sizeof mfc[0])) in pccard_scan_cis()
328 mfc[i].common = in pccard_scan_cis()
333 mfc[i].addr = in pccard_scan_cis()
337 mfc[i].common ? "common" : in pccard_scan_cis()
338 "attr", mfc[i].addr)); in pccard_scan_cis()
400 SYS_RES_MEMORY, rid, mfc[mfc_index].common in pccard_scan_cis()
405 tuple.mult = mfc[mfc_index].common ? 1 : 2; in pccard_scan_cis()
406 tuple.ptr = mfc[mfc_index].addr; in pccard_scan_cis()
/dragonfly/sys/netinet6/
H A Dip6_mroute.c1210 struct mf6c *mfc, **nptr; in expire_upcalls_dispatch() local
1224 while ((mfc = *nptr) != NULL) { in expire_upcalls_dispatch()
1225 rte = mfc->mf6c_stall; in expire_upcalls_dispatch()
1232 mfc->mf6c_expire != 0 && in expire_upcalls_dispatch()
1233 --mfc->mf6c_expire == 0) { in expire_upcalls_dispatch()
1237 ip6_sprintf(&mfc->mf6c_origin.sin6_addr), in expire_upcalls_dispatch()
1238 ip6_sprintf(&mfc->mf6c_mcastgrp.sin6_addr)); in expire_upcalls_dispatch()
1253 *nptr = mfc->mf6c_next; in expire_upcalls_dispatch()
1254 kfree(mfc, M_MRTABLE); in expire_upcalls_dispatch()
1256 nptr = &mfc->mf6c_next; in expire_upcalls_dispatch()