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

/freebsd-11-stable/usr.sbin/ppp/
H A Dipv6cp.h28 * $FreeBSD: stable/11/usr.sbin/ppp/ipv6cp.h 330449 2018-03-05 07:26:05Z eadler $
39 struct ipv6cp { struct
61 #define fsm2ipv6cp(fp) (fp->proto == PROTO_IPV6CP ? (struct ipv6cp *)fp : NULL)
62 #define IPV6CP_QUEUES(ipv6cp) (sizeof ipv6cp->Queue / sizeof ipv6cp->Queue[0])
69 extern void ipv6cp_Init(struct ipv6cp *, struct bundle *, struct link *,
71 extern void ipv6cp_Destroy(struct ipv6cp *);
72 extern void ipv6cp_Setup(struct ipv6cp *);
73 extern void ipv6cp_SetLink(struct ipv6cp *, struc
[all...]
H A Dipv6cp.c28 * $FreeBSD: stable/11/usr.sbin/ppp/ipv6cp.c 330804 2018-03-12 17:36:37Z eugen $
63 #include "ipv6cp.h"
199 ipcp_SetIPv6address(struct ipv6cp *ipv6cp, u_char *myifid, u_char *hisifid) argument
201 struct bundle *bundle = ipv6cp->fsm.bundle;
229 ncpaddr_setip6(&ipv6cp->myaddr, &myaddr);
230 ncpaddr_setip6(&ipv6cp->hisaddr, &hisaddr);
231 ncprange_set(&myrange, &ipv6cp->myaddr, 64);
233 if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr,
243 rt_Set(bundle, RTM_ADD, &range, &ipv6cp
267 ipv6cp_Init(struct ipv6cp *ipv6cp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument
304 ipv6cp_Destroy(struct ipv6cp *ipv6cp) argument
310 ipv6cp_Setup(struct ipv6cp *ipv6cp) argument
320 ipv6cp_SetLink(struct ipv6cp *ipv6cp, struct link *l) argument
328 struct ipv6cp *ipv6cp = &arg->bundle->ncp.ipv6cp; local
369 ipv6cp_AddInOctets(struct ipv6cp *ipv6cp, int n) argument
375 ipv6cp_AddOutOctets(struct ipv6cp *ipv6cp, int n) argument
393 ipv6cp_InterfaceUp(struct ipv6cp *ipv6cp) argument
410 ipv6cp_QueueLen(struct ipv6cp *ipv6cp) argument
423 ipv6cp_PushPacket(struct ipv6cp *ipv6cp, struct link *l) argument
469 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
525 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
577 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
590 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
601 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
622 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
662 ipv6cp_ValidateInterfaceID(struct ipv6cp *ipv6cp, u_char *ifid, struct fsm_decode *dec) argument
688 struct ipv6cp *ipv6cp = fsm2ipv6cp(fp); local
[all...]
H A Dncp.c71 #include "ipv6cp.h"
123 ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link,
133 ipv6cp_Destroy(&ncp->ipv6cp);
169 fsm_Up(&ncp->ipv6cp.fsm);
170 fsm_Open(&ncp->ipv6cp.fsm);
187 ipv6cp_IfaceAddrAdded(&ncp->ipv6cp, addr);
205 ipv6cp_SetLink(&ncp->ipv6cp, l);
217 struct ipv6cp *ipv6cp = &ncp->ipv6cp; local
289 struct ipv6cp *ipv6cp = &ncp->ipv6cp; local
[all...]
H A Dncp.h54 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.c95 #include "ipv6cp.h"
545 oin += bundle->ncp.ipv6cp.throughput.OctetsIn;
546 oout += bundle->ncp.ipv6cp.throughput.OctetsOut;
547 pin += bundle->ncp.ipv6cp.throughput.PacketsIn;
548 pout += bundle->ncp.ipv6cp.throughput.PacketsOut;
562 nargv[arg] = substipv6(nargv[arg], "HISADDR6", &bundle->ncp.ipv6cp.hisaddr);
575 bundle->ncp.ipv6cp.throughput.OctetsIn);
577 bundle->ncp.ipv6cp.throughput.OctetsOut);
579 bundle->ncp.ipv6cp.throughput.PacketsIn);
581 bundle->ncp.ipv6cp
[all...]
H A Dprompt.c74 #include "ipv6cp.h"
110 p->bundle->ncp.ipv6cp.fsm.state == ST_OPENED)
H A Dip.c78 #include "ipv6cp.h"
982 if (bundle->ncp.ipv6cp.fsm.state != ST_OPENED) {
991 ipv6cp_AddInOctets(&bundle->ncp.ipv6cp, nb);
H A Dncpaddr.c67 #include "ipv6cp.h"
923 range->ncprange_ip6addr = ncp->ipv6cp.hisaddr.ncpaddr_ip6addr;
936 range->ncprange_ip6addr = ncp->ipv6cp.myaddr.ncpaddr_ip6addr;
H A Dfsm.c66 #include "ipv6cp.h"
931 fsm_Close(&fp->bundle->ncp.ipv6cp.fsm);
H A Dradius.c81 #include "ipv6cp.h"
513 ncpaddr_copy(&gw, &bundle->ncp.ipv6cp.hisaddr);
/freebsd-11-stable/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.c414 static const struct cp ipv6cp = { variable in typeref:struct:cp
421 "ipv6cp",
447 &ipv6cp, /* IDX_IPV6CP */
660 sppp_cp_input(&ipv6cp, sp, m);
2670 (cps[i] != &ipv6cp ||
3392 sp->ipv6cp.opts = 0;
3393 sp->ipv6cp.flags = 0;
3404 sppp_up_event(&ipv6cp, sp);
3410 sppp_down_event(&ipv6cp, sp);
3420 sp->ipv6cp
[all...]

Completed in 272 milliseconds