/external/libppp/src/ |
H A D | ipcp.h | 28 * $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 D | ipcp.c | 28 * $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 D | vjcomp.h | 31 struct ipcp;
|
H A D | vjcomp.c | 55 #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 D | ncp.c | 58 #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 D | filter.h | 93 struct ipcp;
|
H A D | ncp.h | 50 struct ipcp ipcp; /* Our IPCP FSM */ member in struct:ncp
|
H A D | slcompress.c | 70 #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 D | command.c | 75 #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 D | Makefile | 9 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
|
H A D | auth.c | 64 #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 D | mp.c | 66 #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 D | ncpaddr.c | 56 #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 D | main.c | 76 #include "ipcp.h" 426 ncprange_family(&bundle->ncp.ipcp.cfg.peer_range) == AF_UNSPEC) {
|
H A D | prompt.c | 62 #include "ipcp.h" 104 if (p->bundle->ncp.ipcp.fsm.state == ST_OPENED)
|
H A D | ip.c | 66 #include "ipcp.h" 960 if (bundle->ncp.ipcp.fsm.state != ST_OPENED) { 969 ipcp_AddInOctets(&bundle->ncp.ipcp, nb);
|
H A D | route.c | 68 #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 D | bundle.c | 71 #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 D | radius.c | 78 #include "ipcp.h" 433 ncpaddr_setip4(&gw, bundle->ncp.ipcp.peer_ip); 1340 bundle->links, RAD_ALIVE, &bundle->ncp.ipcp.throughput);
|
H A D | fsm.c | 54 #include "ipcp.h" 921 fsm_Close(&fp->bundle->ncp.ipcp.fsm);
|
/external/ppp/pppd/ |
H A D | Android.mk | 9 ipcp.c \
|
H A D | Makefile.sol2 | 11 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \
|
H A D | Makefile.linux | 14 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 D | array-init.c | 247 const struct {} ipcp = { sppp_ipv6cp_up }; //expected-warning{{empty struct is a GNU extension}} \ variable in typeref:struct:__anon4502
|