Searched refs:ipv6cp (Results 1 - 13 of 13) sorted by relevance

/freebsd-9.3-release/usr.sbin/ppp/
H A Dipv6cp.h37 struct ipv6cp { struct
59 #define fsm2ipv6cp(fp) (fp->proto == PROTO_IPV6CP ? (struct ipv6cp *)fp : NULL)
60 #define IPV6CP_QUEUES(ipv6cp) (sizeof ipv6cp->Queue / sizeof ipv6cp->Queue[0])
67 extern void ipv6cp_Init(struct ipv6cp *, struct bundle *, struct link *,
69 extern void ipv6cp_Destroy(struct ipv6cp *);
70 extern void ipv6cp_Setup(struct ipv6cp *);
71 extern void ipv6cp_SetLink(struct ipv6cp *, struct link *);
75 extern void ipv6cp_AddInOctets(struct ipv6cp *, in
[all...]
H A Dipv6cp.c61 #include "ipv6cp.h"
197 ipcp_SetIPv6address(struct ipv6cp *ipv6cp, u_char *myifid, u_char *hisifid) argument
199 struct bundle *bundle = ipv6cp->fsm.bundle;
227 ncpaddr_setip6(&ipv6cp->myaddr, &myaddr);
228 ncpaddr_setip6(&ipv6cp->hisaddr, &hisaddr);
229 ncprange_set(&myrange, &ipv6cp->myaddr, 64);
231 if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr,
241 rt_Set(bundle, RTM_ADD, &range, &ipv6cp->myaddr, 1, 0);
245 if (ncpaddr_isset(&ipv6cp
265 ipv6cp_Init(struct ipv6cp *ipv6cp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument
302 ipv6cp_Destroy(struct ipv6cp *ipv6cp) argument
308 ipv6cp_Setup(struct ipv6cp *ipv6cp) argument
318 ipv6cp_SetLink(struct ipv6cp *ipv6cp, struct link *l) argument
326 struct ipv6cp *ipv6cp = &arg->bundle->ncp.ipv6cp; local
367 ipv6cp_AddInOctets(struct ipv6cp *ipv6cp, int n) argument
373 ipv6cp_AddOutOctets(struct ipv6cp *ipv6cp, int n) argument
391 ipv6cp_InterfaceUp(struct ipv6cp *ipv6cp) argument
408 ipv6cp_QueueLen(struct ipv6cp *ipv6cp) argument
421 ipv6cp_PushPacket(struct ipv6cp *ipv6cp, struct link *l) argument
467 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
523 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
575 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
588 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
599 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
620 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
660 ipv6cp_ValidateInterfaceID(struct ipv6cp *ipv6cp, u_char *ifid, struct fsm_decode *dec) argument
686 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
[all...]
H A Dncp.c69 #include "ipv6cp.h"
121 ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link,
131 ipv6cp_Destroy(&ncp->ipv6cp);
167 fsm_Up(&ncp->ipv6cp.fsm);
168 fsm_Open(&ncp->ipv6cp.fsm);
185 ipv6cp_IfaceAddrAdded(&ncp->ipv6cp, addr);
203 ipv6cp_SetLink(&ncp->ipv6cp, l);
215 struct ipv6cp *ipv6cp = &ncp->ipv6cp; local
287 struct ipv6cp *ipv6cp = &ncp->ipv6cp; local
[all...]
H A Dncp.h52 struct ipv6cp ipv6cp; /* Our IPV6CP FSM */ member in struct:ncp
H A DMakefile9 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
H A Dcommand.c93 #include "ipv6cp.h"
543 oin += bundle->ncp.ipv6cp.throughput.OctetsIn;
544 oout += bundle->ncp.ipv6cp.throughput.OctetsOut;
545 pin += bundle->ncp.ipv6cp.throughput.PacketsIn;
546 pout += bundle->ncp.ipv6cp.throughput.PacketsOut;
560 nargv[arg] = substipv6(nargv[arg], "HISADDR6", &bundle->ncp.ipv6cp.hisaddr);
573 bundle->ncp.ipv6cp.throughput.OctetsIn);
575 bundle->ncp.ipv6cp.throughput.OctetsOut);
577 bundle->ncp.ipv6cp.throughput.PacketsIn);
579 bundle->ncp.ipv6cp
[all...]
H A Dprompt.c72 #include "ipv6cp.h"
108 p->bundle->ncp.ipv6cp.fsm.state == ST_OPENED)
H A Dip.c76 #include "ipv6cp.h"
980 if (bundle->ncp.ipv6cp.fsm.state != ST_OPENED) {
989 ipv6cp_AddInOctets(&bundle->ncp.ipv6cp, nb);
H A Dncpaddr.c65 #include "ipv6cp.h"
923 range->ncprange_ip6addr = ncp->ipv6cp.hisaddr.ncpaddr_ip6addr;
936 range->ncprange_ip6addr = ncp->ipv6cp.myaddr.ncpaddr_ip6addr;
H A Dfsm.c64 #include "ipv6cp.h"
929 fsm_Close(&fp->bundle->ncp.ipv6cp.fsm);
H A Dradius.c79 #include "ipv6cp.h"
511 ncpaddr_copy(&gw, &bundle->ncp.ipv6cp.hisaddr);
/freebsd-9.3-release/sys/net/
H A Dif_sppp.h110 struct sipcp ipv6cp; /* IPv6CP params */ member in struct:sppp_parms
164 struct sipcp ipv6cp; /* IPv6CP params */ member in struct:sppp
H A Dif_spppsubr.c417 static const struct cp ipv6cp = { variable in typeref:struct:cp
424 "ipv6cp",
450 &ipv6cp, /* IDX_IPV6CP */
663 sppp_cp_input(&ipv6cp, sp, m);
2719 (cps[i] != &ipv6cp ||
3441 sp->ipv6cp.opts = 0;
3442 sp->ipv6cp.flags = 0;
3453 sppp_up_event(&ipv6cp, sp);
3459 sppp_down_event(&ipv6cp, sp);
3469 sp->ipv6cp
[all...]

Completed in 97 milliseconds