Lines Matching defs:bundle
73 #include "bundle.h"
98 ncp_Init(struct ncp *ncp, struct bundle *bundle)
117 mp_Init(&ncp->mp, bundle);
120 ipcp_Init(&ncp->ipcp, bundle, &bundle->links->physical->link,
121 &bundle->fsm);
123 ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link,
124 &bundle->fsm);
151 struct bundle *bundle __unused
153 struct bundle *bundle
160 if (Enabled(bundle, OPT_IPCP)) {
168 if (Enabled(bundle, OPT_IPV6CP)) {
315 ncp_FillPhysicalQueues(struct ncp *ncp, struct bundle *bundle)
319 if (bundle->ncp.mp.active)
320 total = mp_FillPhysicalQueues(bundle);
325 for (total = 0, dl = bundle->links; dl; dl = dl->next)
334 return total + ncp_QueueLen(&bundle->ncp);
350 struct bundle *bundle = l->lcp.fsm.bundle;
355 if ((res = ipcp_PushPacket(&bundle->ncp.ipcp, l)))
358 res = ipv6cp_PushPacket(&bundle->ncp.ipv6cp, l);
360 if ((res = ipv6cp_PushPacket(&bundle->ncp.ipv6cp, l)))
363 res = ipcp_PushPacket(&bundle->ncp.ipcp, l);
366 res = ipcp_PushPacket(&bundle->ncp.ipcp, l);
446 struct ncp *ncp = &arg->bundle->ncp;