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