Searched refs:ipcp (Results 1 - 24 of 24) sorted by relevance

/external/libppp/src/
H A Dipcp.h28 * $FreeBSD: src/usr.sbin/ppp/ipcp.h,v 1.35.40.1 2010/12/21 17:10:29 kensmith Exp $
45 struct ipcp { struct
103 #define fsm2ipcp(fp) (fp->proto == PROTO_IPCP ? (struct ipcp *)fp : NULL)
104 #define IPCP_QUEUES(ipcp) (sizeof ipcp->Queue / sizeof ipcp->Queue[0])
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 *, struc
[all...]
H A Dipcp.c28 * $FreeBSD: src/usr.sbin/ppp/ipcp.c,v 1.123.24.1 2010/12/21 17:10:29 kensmith Exp $
77 #include "ipcp.h"
161 ipcp_AddInOctets(struct ipcp *ipcp, int n) argument
163 throughput_addin(&ipcp->throughput, n);
167 ipcp_AddOutOctets(struct ipcp *ipcp, int n) argument
169 throughput_addout(&ipcp->throughput, n);
173 ipcp_LoadDNS(struct ipcp *ipcp) argument
282 ipcp_WriteDNS(struct ipcp *ipcp) argument
327 ipcp_RestoreDNS(struct ipcp *ipcp) argument
356 struct ipcp *ipcp = &arg->bundle->ncp.ipcp; local
442 ipcp_Init(struct ipcp *ipcp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument
495 ipcp_Destroy(struct ipcp *ipcp) argument
510 ipcp_SetLink(struct ipcp *ipcp, struct link *l) argument
516 ipcp_Setup(struct ipcp *ipcp, u_int32_t mask) argument
615 ipcp_proxyarp(struct ipcp *ipcp, int (*proxyfun)(struct bundle *, struct in_addr), const struct iface_addr *addr) argument
658 ipcp_SetIPaddress(struct ipcp *ipcp, struct in_addr myaddr, struct in_addr hisaddr) argument
735 struct ipcp *ipcp = fsm2ipcp(fp); local
756 struct ipcp *ipcp = fsm2ipcp(fp); local
817 struct ipcp *ipcp = fsm2ipcp(fp); local
830 struct ipcp *ipcp = fsm2ipcp(fp); local
841 ipcp_IfaceAddrAdded(struct ipcp *ipcp, const struct iface_addr *addr) argument
853 ipcp_IfaceAddrDeleted(struct ipcp *ipcp, const struct iface_addr *addr) argument
865 struct ipcp *ipcp = fsm2ipcp(fp); local
903 ipcp_InterfaceUp(struct ipcp *ipcp) argument
928 struct ipcp *ipcp = fsm2ipcp(fp); local
973 ipcp_ValidateReq(struct ipcp *ipcp, struct in_addr ip, struct fsm_decode *dec) argument
1054 struct ipcp *ipcp = fsm2ipcp(fp); local
1354 struct ipcp *ipcp = &bundle->ncp.ipcp; local
1371 struct ipcp *ipcp = &ncp->ipcp; local
1424 ipcp_QueueLen(struct ipcp *ipcp) argument
1437 ipcp_PushPacket(struct ipcp *ipcp, struct link *l) argument
[all...]
H A Dvjcomp.h31 struct ipcp;
H A Dvjcomp.c55 #include "ipcp.h"
78 u_short cproto = bundle->ncp.ipcp.peer_compproto >> 16;
84 type = sl_compress_tcp(bp, pip, &bundle->ncp.ipcp.vj.cslc,
85 &bundle->ncp.ipcp.vj.slstat,
86 bundle->ncp.ipcp.peer_compproto & 0xff);
115 VjUncompressTcp(struct ipcp *ipcp, struct mbuf *bp, u_char type) argument
129 len = sl_uncompress_tcp(&bufp, len, type, &ipcp->vj.cslc, &ipcp->vj.slstat,
130 (ipcp
[all...]
H A Dncp.c58 #include "ipcp.h"
118 ipcp_Init(&ncp->ipcp, bundle, &bundle->links->physical->link,
129 ipcp_Destroy(&ncp->ipcp);
160 fsm_Up(&ncp->ipcp.fsm);
161 fsm_Open(&ncp->ipcp.fsm);
181 ipcp_IfaceAddrAdded(&ncp->ipcp, addr);
195 ipcp_IfaceAddrDeleted(&ncp->ipcp, addr);
201 ipcp_SetLink(&ncp->ipcp, l);
217 struct ipcp *ipcp local
289 struct ipcp *ipcp = &ncp->ipcp; local
[all...]
H A Dfilter.h93 struct ipcp;
H A Dncp.h50 struct ipcp ipcp; /* Our IPCP FSM */ member in struct:ncp
H A Dslcompress.c70 #include "ipcp.h"
593 arg->bundle->ncp.ipcp.vj.slstat.sls_compressed,
594 arg->bundle->ncp.ipcp.vj.slstat.sls_packets);
596 arg->bundle->ncp.ipcp.vj.slstat.sls_misses,
597 arg->bundle->ncp.ipcp.vj.slstat.sls_searches);
599 arg->bundle->ncp.ipcp.vj.slstat.sls_compressedin,
600 arg->bundle->ncp.ipcp.vj.slstat.sls_uncompressedin);
602 arg->bundle->ncp.ipcp.vj.slstat.sls_errorin,
603 arg->bundle->ncp.ipcp.vj.slstat.sls_tossed);
H A Dcommand.c75 #include "ipcp.h"
535 oin = bundle->ncp.ipcp.throughput.OctetsIn;
536 oout = bundle->ncp.ipcp.throughput.OctetsOut;
537 pin = bundle->ncp.ipcp.throughput.PacketsIn;
538 pout = bundle->ncp.ipcp.throughput.PacketsOut;
549 nargv[arg] = substip(nargv[arg], "DNS0", bundle->ncp.ipcp.ns.dns[0]);
550 nargv[arg] = substip(nargv[arg], "DNS1", bundle->ncp.ipcp.ns.dns[1]);
555 nargv[arg] = substip(nargv[arg], "HISADDR", bundle->ncp.ipcp.peer_ip);
561 bundle->ncp.ipcp.throughput.OctetsIn);
563 bundle->ncp.ipcp
[all...]
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 Dauth.c64 #include "ipcp.h"
215 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE);
225 ipcp_Setup(&bundle->ncp.ipcp, bundle->radius.mask.s_addr);
252 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE);
274 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE);
H A Dmp.c66 #include "ipcp.h"
988 if (arg->bundle->ncp.ipcp.my_ip.s_addr == INADDR_ANY)
989 ncprange_getip4addr(&arg->bundle->ncp.ipcp.cfg.my_range, &addr);
991 addr = arg->bundle->ncp.ipcp.my_ip;
994 mp->cfg.enddisc.len = sizeof arg->bundle->ncp.ipcp.my_ip.s_addr;
998 if (arg->bundle->ncp.ipcp.my_ip.s_addr == INADDR_ANY)
999 ncprange_getip4addr(&arg->bundle->ncp.ipcp.cfg.my_range, &addr);
1001 addr = arg->bundle->ncp.ipcp.my_ip;
H A Dncpaddr.c56 #include "ipcp.h"
916 range->ncprange_ip4addr = ncp->ipcp.peer_ip;
929 range->ncprange_ip4addr = ncp->ipcp.my_ip;
942 range->ncprange_ip4addr = ncp->ipcp.ns.dns[0];
948 range->ncprange_ip4addr = ncp->ipcp.ns.dns[1];
H A Dmain.c76 #include "ipcp.h"
426 ncprange_family(&bundle->ncp.ipcp.cfg.peer_range) == AF_UNSPEC) {
H A Dprompt.c62 #include "ipcp.h"
104 if (p->bundle->ncp.ipcp.fsm.state == ST_OPENED)
H A Dip.c66 #include "ipcp.h"
960 if (bundle->ncp.ipcp.fsm.state != ST_OPENED) {
969 ipcp_AddInOctets(&bundle->ncp.ipcp, nb);
H A Droute.c68 #include "ipcp.h"
568 if (bundle->ncp.ipcp.ns.dns[0].s_addr == INADDR_NONE)
574 if (bundle->ncp.ipcp.ns.dns[1].s_addr == INADDR_NONE)
H A Dbundle.c71 #include "ipcp.h"
592 bundle->ncp.ipcp.my_ip.s_addr) {
1695 if (bundle->ncp.ipcp.peer_ip.s_addr == INADDR_ANY) {
1707 ipcp_InterfaceUp(&bundle->ncp.ipcp);
1872 struct in_addr *dns = bundle->ncp.ipcp.ns.dns;
H A Dradius.c78 #include "ipcp.h"
433 ncpaddr_setip4(&gw, bundle->ncp.ipcp.peer_ip);
1340 bundle->links, RAD_ALIVE, &bundle->ncp.ipcp.throughput);
H A Dfsm.c54 #include "ipcp.h"
921 fsm_Close(&fp->bundle->ncp.ipcp.fsm);
/external/ppp/pppd/
H A DAndroid.mk9 ipcp.c \
H A DMakefile.sol211 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \
H A 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 \
/external/clang/test/Sema/
H A Darray-init.c247 const struct {} ipcp = { sppp_ipv6cp_up }; //expected-warning{{empty struct is a GNU extension}} \ variable in typeref:struct:__anon4502

Completed in 1336 milliseconds