Home
last modified time | relevance | path

Searched refs:ipcp (Results 1 – 25 of 27) sorted by relevance

12

/external/libppp/src/
Dipcp.c161 ipcp_AddInOctets(struct ipcp *ipcp, int n) in ipcp_AddInOctets() argument
163 throughput_addin(&ipcp->throughput, n); in ipcp_AddInOctets()
167 ipcp_AddOutOctets(struct ipcp *ipcp, int n) in ipcp_AddOutOctets() argument
169 throughput_addout(&ipcp->throughput, n); in ipcp_AddOutOctets()
173 ipcp_LoadDNS(struct ipcp *ipcp) in ipcp_LoadDNS() argument
177 ipcp->ns.dns[0].s_addr = ipcp->ns.dns[1].s_addr = INADDR_NONE; in ipcp_LoadDNS()
179 if (ipcp->ns.resolv != NULL) { in ipcp_LoadDNS()
180 free(ipcp->ns.resolv); in ipcp_LoadDNS()
181 ipcp->ns.resolv = NULL; in ipcp_LoadDNS()
183 if (ipcp->ns.resolv_nons != NULL) { in ipcp_LoadDNS()
[all …]
Dipcp.h45 struct ipcp { struct
103 #define fsm2ipcp(fp) (fp->proto == PROTO_IPCP ? (struct ipcp *)fp : NULL) argument
104 #define IPCP_QUEUES(ipcp) (sizeof ipcp->Queue / sizeof ipcp->Queue[0]) argument
111 extern void ipcp_Init(struct ipcp *, struct bundle *, struct link *,
113 extern void ipcp_Destroy(struct ipcp *);
114 extern void ipcp_Setup(struct ipcp *, u_int32_t);
115 extern void ipcp_SetLink(struct ipcp *, struct link *);
119 extern void ipcp_AddInOctets(struct ipcp *, int);
120 extern void ipcp_AddOutOctets(struct ipcp *, int);
124 extern void ipcp_IfaceAddrAdded(struct ipcp *, const struct iface_addr *);
[all …]
Dvjcomp.c78 u_short cproto = bundle->ncp.ipcp.peer_compproto >> 16; in vj_LayerPush()
84 type = sl_compress_tcp(bp, pip, &bundle->ncp.ipcp.vj.cslc, in vj_LayerPush()
85 &bundle->ncp.ipcp.vj.slstat, in vj_LayerPush()
86 bundle->ncp.ipcp.peer_compproto & 0xff); in vj_LayerPush()
115 VjUncompressTcp(struct ipcp *ipcp, struct mbuf *bp, u_char type) in VjUncompressTcp() argument
129 len = sl_uncompress_tcp(&bufp, len, type, &ipcp->vj.cslc, &ipcp->vj.slstat, in VjUncompressTcp()
130 (ipcp->my_compproto >> 8) & 255); in VjUncompressTcp()
149 len = sl_uncompress_tcp(&bufp, olen, type, &ipcp->vj.cslc, &ipcp->vj.slstat, in VjUncompressTcp()
150 (ipcp->my_compproto >> 8) & 255); in VjUncompressTcp()
184 return VjUncompressTcp(&bundle->ncp.ipcp, bp, type); in vj_LayerPull()
Dncp.c118 ipcp_Init(&ncp->ipcp, bundle, &bundle->links->physical->link, in ncp_Init()
129 ipcp_Destroy(&ncp->ipcp); in ncp_Destroy()
160 fsm_Up(&ncp->ipcp.fsm); in ncp_fsmStart()
161 fsm_Open(&ncp->ipcp.fsm); in ncp_fsmStart()
181 ipcp_IfaceAddrAdded(&ncp->ipcp, addr); in ncp_IfaceAddrAdded()
195 ipcp_IfaceAddrDeleted(&ncp->ipcp, addr); in ncp_IfaceAddrDeleted()
201 ipcp_SetLink(&ncp->ipcp, l); in ncp_SetLink()
217 struct ipcp *ipcp = &ncp->ipcp; in ncp_Enqueue() local
229 if (pri >= IPCP_QUEUES(ipcp)) { in ncp_Enqueue()
238 m_enqueue(ipcp->Queue + pri, bp); in ncp_Enqueue()
[all …]
Dcommand.c535 oin = bundle->ncp.ipcp.throughput.OctetsIn; in command_Expand()
536 oout = bundle->ncp.ipcp.throughput.OctetsOut; in command_Expand()
537 pin = bundle->ncp.ipcp.throughput.PacketsIn; in command_Expand()
538 pout = bundle->ncp.ipcp.throughput.PacketsOut; in command_Expand()
549 nargv[arg] = substip(nargv[arg], "DNS0", bundle->ncp.ipcp.ns.dns[0]); in command_Expand()
550 nargv[arg] = substip(nargv[arg], "DNS1", bundle->ncp.ipcp.ns.dns[1]); in command_Expand()
555 nargv[arg] = substip(nargv[arg], "HISADDR", bundle->ncp.ipcp.peer_ip); in command_Expand()
561 bundle->ncp.ipcp.throughput.OctetsIn); in command_Expand()
563 bundle->ncp.ipcp.throughput.OctetsOut); in command_Expand()
565 bundle->ncp.ipcp.throughput.PacketsIn); in command_Expand()
[all …]
Dslcompress.c593 arg->bundle->ncp.ipcp.vj.slstat.sls_compressed, in sl_Show()
594 arg->bundle->ncp.ipcp.vj.slstat.sls_packets); in sl_Show()
596 arg->bundle->ncp.ipcp.vj.slstat.sls_misses, in sl_Show()
597 arg->bundle->ncp.ipcp.vj.slstat.sls_searches); in sl_Show()
599 arg->bundle->ncp.ipcp.vj.slstat.sls_compressedin, in sl_Show()
600 arg->bundle->ncp.ipcp.vj.slstat.sls_uncompressedin); in sl_Show()
602 arg->bundle->ncp.ipcp.vj.slstat.sls_errorin, in sl_Show()
603 arg->bundle->ncp.ipcp.vj.slstat.sls_tossed); in sl_Show()
Dncp.h50 struct ipcp ipcp; /* Our IPCP FSM */ member
Dvjcomp.h31 struct ipcp;
Dauth.c215 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); in auth_Select()
225 ipcp_Setup(&bundle->ncp.ipcp, bundle->radius.mask.s_addr); in auth_Select()
252 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); in auth_Select()
274 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); in auth_Select()
Dfilter.h93 struct ipcp;
Dmp.c988 if (arg->bundle->ncp.ipcp.my_ip.s_addr == INADDR_ANY) in mp_SetEnddisc()
989 ncprange_getip4addr(&arg->bundle->ncp.ipcp.cfg.my_range, &addr); in mp_SetEnddisc()
991 addr = arg->bundle->ncp.ipcp.my_ip; in mp_SetEnddisc()
994 mp->cfg.enddisc.len = sizeof arg->bundle->ncp.ipcp.my_ip.s_addr; in mp_SetEnddisc()
998 if (arg->bundle->ncp.ipcp.my_ip.s_addr == INADDR_ANY) in mp_SetEnddisc()
999 ncprange_getip4addr(&arg->bundle->ncp.ipcp.cfg.my_range, &addr); in mp_SetEnddisc()
1001 addr = arg->bundle->ncp.ipcp.my_ip; in mp_SetEnddisc()
DMakefile9 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
Dncpaddr.c916 range->ncprange_ip4addr = ncp->ipcp.peer_ip; in ncprange_aton()
929 range->ncprange_ip4addr = ncp->ipcp.my_ip; in ncprange_aton()
942 range->ncprange_ip4addr = ncp->ipcp.ns.dns[0]; in ncprange_aton()
948 range->ncprange_ip4addr = ncp->ipcp.ns.dns[1]; in ncprange_aton()
DREADME.changes81 `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout
86 o `show msext' and `show vj' are part of `show ipcp'
Dip.c960 if (bundle->ncp.ipcp.fsm.state != ST_OPENED) { in ipv4_Input()
969 ipcp_AddInOctets(&bundle->ncp.ipcp, nb); in ipv4_Input()
Droute.c568 if (bundle->ncp.ipcp.ns.dns[0].s_addr == INADDR_NONE) in route_Change()
574 if (bundle->ncp.ipcp.ns.dns[1].s_addr == INADDR_NONE) in route_Change()
Dbundle.c592 bundle->ncp.ipcp.my_ip.s_addr) { in bundle_DescriptorRead()
1695 if (bundle->ncp.ipcp.peer_ip.s_addr == INADDR_ANY) { in bundle_SetMode()
1707 ipcp_InterfaceUp(&bundle->ncp.ipcp); in bundle_SetMode()
1872 struct in_addr *dns = bundle->ncp.ipcp.ns.dns; in bundle_AdjustDNS()
Dprompt.c104 if (p->bundle->ncp.ipcp.fsm.state == ST_OPENED) in prompt_Display()
Dmain.c426 ncprange_family(&bundle->ncp.ipcp.cfg.peer_range) == AF_UNSPEC) { in main()
Dradius.c433 ncpaddr_setip4(&gw, bundle->ncp.ipcp.peer_ip); in radius_Process()
1340 bundle->links, RAD_ALIVE, &bundle->ncp.ipcp.throughput); in radius_alive()
/external/ppp/pppd/
DMakefile.linux14 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap-new.c md5.c ccp.c \
18 HEADERS = ccp.h chap-new.h ecp.h fsm.h ipcp.h \
23 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o \
DAndroid.mk9 ipcp.c \
DMakefile.sol211 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \
/external/kernel-headers/original/linux/
Daudit.h531 extern void __audit_ipc_obj(struct kern_ipc_perm *ipcp);
547 static inline void audit_ipc_obj(struct kern_ipc_perm *ipcp) in audit_ipc_obj() argument
550 __audit_ipc_obj(ipcp); in audit_ipc_obj()
/external/clang/test/Sema/
Darray-init.c250 const struct {} ipcp = { sppp_ipv6cp_up }; //expected-warning{{empty struct is a GNU extension}} \ variable

12