Searched refs:ipv6cp (Results 1 – 11 of 11) sorted by relevance
/freebsd/usr.sbin/ppp/ |
H A D | ipv6cp.c | 197 ipcp_SetIPv6address(struct ipv6cp *ipv6cp, u_char *myifid, u_char *hisifid) in ipcp_SetIPv6address() argument 199 struct bundle *bundle = ipv6cp->fsm.bundle; in ipcp_SetIPv6address() 227 ncpaddr_setip6(&ipv6cp->myaddr, &myaddr); in ipcp_SetIPv6address() 228 ncpaddr_setip6(&ipv6cp->hisaddr, &hisaddr); in ipcp_SetIPv6address() 229 ncprange_set(&myrange, &ipv6cp->myaddr, 64); in ipcp_SetIPv6address() 231 if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr, in ipcp_SetIPv6address() 241 rt_Set(bundle, RTM_ADD, &range, &ipv6cp->myaddr, 1, 0); in ipcp_SetIPv6address() 245 if (ncpaddr_isset(&ipv6cp->hisaddr)) in ipcp_SetIPv6address() 246 ncpaddr_getsa(&ipv6cp->hisaddr, &ssdst); in ipcp_SetIPv6address() 253 route_Change(bundle, bundle->ncp.route, &ipv6cp->myaddr, &ipv6cp->hisaddr); in ipcp_SetIPv6address() [all …]
|
H A D | ipv6cp.h | 37 struct ipv6cp { struct 59 #define fsm2ipv6cp(fp) (fp->proto == PROTO_IPV6CP ? (struct ipv6cp *)fp : NULL) argument 60 #define IPV6CP_QUEUES(ipv6cp) (sizeof ipv6cp->Queue / sizeof ipv6cp->Queue[0]) argument 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 *, int); 76 extern void ipv6cp_AddOutOctets(struct ipv6cp *, int); 78 extern void ipv6cp_IfaceAddrAdded(struct ipv6cp *, const struct iface_addr *); [all …]
|
H A D | ncp.c | 121 ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link, in ncp_Init() 131 ipv6cp_Destroy(&ncp->ipv6cp); in ncp_Destroy() 167 fsm_Up(&ncp->ipv6cp.fsm); in ncp_fsmStart() 168 fsm_Open(&ncp->ipv6cp.fsm); in ncp_fsmStart() 185 ipv6cp_IfaceAddrAdded(&ncp->ipv6cp, addr); in ncp_IfaceAddrAdded() 203 ipv6cp_SetLink(&ncp->ipv6cp, l); in ncp_SetLink() 215 struct ipv6cp *ipv6cp = &ncp->ipv6cp; in ncp_Enqueue() local 252 m_enqueue(ipv6cp->Queue + pri, bp); in ncp_Enqueue() 271 result += ipv6cp_QueueLen(&ncp->ipv6cp); in ncp_QueueLen() 287 struct ipv6cp *ipv6cp = &ncp->ipv6cp; in ncp_DeleteQueues() local [all …]
|
H A D | ncp.h | 53 struct ipv6cp ipv6cp; /* Our IPV6CP FSM */ member
|
H A D | command.c | 543 oin += bundle->ncp.ipv6cp.throughput.OctetsIn; in command_Expand() 544 oout += bundle->ncp.ipv6cp.throughput.OctetsOut; in command_Expand() 545 pin += bundle->ncp.ipv6cp.throughput.PacketsIn; in command_Expand() 546 pout += bundle->ncp.ipv6cp.throughput.PacketsOut; in command_Expand() 560 nargv[arg] = substipv6(nargv[arg], "HISADDR6", &bundle->ncp.ipv6cp.hisaddr); in command_Expand() 573 bundle->ncp.ipv6cp.throughput.OctetsIn); in command_Expand() 575 bundle->ncp.ipv6cp.throughput.OctetsOut); in command_Expand() 577 bundle->ncp.ipv6cp.throughput.PacketsIn); in command_Expand() 579 bundle->ncp.ipv6cp.throughput.PacketsOut); in command_Expand() 584 nargv[arg] = substipv6(nargv[arg], "MYADDR6", &bundle->ncp.ipv6cp.myaddr); in command_Expand() [all …]
|
H A D | Makefile | 8 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
|
H A D | ncpaddr.c | 921 range->ncprange_ip6addr = ncp->ipv6cp.hisaddr.ncpaddr_ip6addr; in ncprange_aton() 934 range->ncprange_ip6addr = ncp->ipv6cp.myaddr.ncpaddr_ip6addr; in ncprange_aton()
|
H A D | ip.c | 982 if (bundle->ncp.ipv6cp.fsm.state != ST_OPENED) { in ipv6_Input() 991 ipv6cp_AddInOctets(&bundle->ncp.ipv6cp, nb); in ipv6_Input()
|
H A D | prompt.c | 108 p->bundle->ncp.ipv6cp.fsm.state == ST_OPENED) in prompt_Display()
|
H A D | fsm.c | 929 fsm_Close(&fp->bundle->ncp.ipv6cp.fsm); in FsmRecvProtoRej()
|
H A D | radius.c | 511 ncpaddr_copy(&gw, &bundle->ncp.ipv6cp.hisaddr); in radius_Process()
|