Lines Matching refs:bundle
96 ncp_Init(struct ncp *ncp, struct bundle *bundle) in ncp_Init() argument
115 mp_Init(&ncp->mp, bundle); in ncp_Init()
118 ipcp_Init(&ncp->ipcp, bundle, &bundle->links->physical->link, in ncp_Init()
119 &bundle->fsm); in ncp_Init()
121 ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link, in ncp_Init()
122 &bundle->fsm); in ncp_Init()
149 struct bundle *bundle __unused in ncp_fsmStart()
151 struct bundle *bundle in ncp_fsmStart()
158 if (Enabled(bundle, OPT_IPCP)) { in ncp_fsmStart()
166 if (Enabled(bundle, OPT_IPV6CP)) { in ncp_fsmStart()
313 ncp_FillPhysicalQueues(struct ncp *ncp, struct bundle *bundle) in ncp_FillPhysicalQueues() argument
317 if (bundle->ncp.mp.active) in ncp_FillPhysicalQueues()
318 total = mp_FillPhysicalQueues(bundle); in ncp_FillPhysicalQueues()
323 for (total = 0, dl = bundle->links; dl; dl = dl->next) in ncp_FillPhysicalQueues()
332 return total + ncp_QueueLen(&bundle->ncp); in ncp_FillPhysicalQueues()
348 struct bundle *bundle = l->lcp.fsm.bundle; in ncp_PushPacket() local
353 if ((res = ipcp_PushPacket(&bundle->ncp.ipcp, l))) in ncp_PushPacket()
356 res = ipv6cp_PushPacket(&bundle->ncp.ipv6cp, l); in ncp_PushPacket()
358 if ((res = ipv6cp_PushPacket(&bundle->ncp.ipv6cp, l))) in ncp_PushPacket()
361 res = ipcp_PushPacket(&bundle->ncp.ipcp, l); in ncp_PushPacket()
364 res = ipcp_PushPacket(&bundle->ncp.ipcp, l); in ncp_PushPacket()
459 struct ncp *ncp = &arg->bundle->ncp; in ncp_Show()