/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | ipcp.h | 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 *, struct link *); 119 extern void ipcp_AddInOctets(struct ipcp *, in [all...] |
H A D | ipcp.c | 77 #include "ipcp.h" 163 ipcp_AddInOctets(struct ipcp *ipcp, int n) argument 165 throughput_addin(&ipcp->throughput, n); 169 ipcp_AddOutOctets(struct ipcp *ipcp, int n) argument 171 throughput_addout(&ipcp->throughput, n); 175 ipcp_LoadDNS(struct ipcp *ipcp) argument 179 ipcp 284 ipcp_WriteDNS(struct ipcp *ipcp) argument 332 ipcp_RestoreDNS(struct ipcp *ipcp) argument 361 struct ipcp *ipcp = &arg->bundle->ncp.ipcp; local 447 ipcp_Init(struct ipcp *ipcp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument 500 ipcp_Destroy(struct ipcp *ipcp) argument 515 ipcp_SetLink(struct ipcp *ipcp, struct link *l) argument 521 ipcp_Setup(struct ipcp *ipcp, u_int32_t mask) argument 620 ipcp_proxyarp(struct ipcp *ipcp, int (*proxyfun)(struct bundle *, struct in_addr), const struct iface_addr *addr) argument 663 ipcp_SetIPaddress(struct ipcp *ipcp, struct in_addr myaddr, struct in_addr hisaddr) argument 740 struct ipcp *ipcp = fsm2ipcp(fp); local 761 struct ipcp *ipcp = fsm2ipcp(fp); local 822 struct ipcp *ipcp = fsm2ipcp(fp); local 835 struct ipcp *ipcp = fsm2ipcp(fp); local 846 ipcp_IfaceAddrAdded(struct ipcp *ipcp, const struct iface_addr *addr) argument 858 ipcp_IfaceAddrDeleted(struct ipcp *ipcp, const struct iface_addr *addr) argument 870 struct ipcp *ipcp = fsm2ipcp(fp); local 908 ipcp_InterfaceUp(struct ipcp *ipcp) argument 933 struct ipcp *ipcp = fsm2ipcp(fp); local 978 ipcp_ValidateReq(struct ipcp *ipcp, struct in_addr ip, struct fsm_decode *dec) argument 1059 struct ipcp *ipcp = fsm2ipcp(fp); local 1359 struct ipcp *ipcp = &bundle->ncp.ipcp; local 1376 struct ipcp *ipcp = &ncp->ipcp; local 1429 ipcp_QueueLen(struct ipcp *ipcp) argument 1442 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" 538 oin = bundle->ncp.ipcp.throughput.OctetsIn; 539 oout = bundle->ncp.ipcp.throughput.OctetsOut; 540 pin = bundle->ncp.ipcp.throughput.PacketsIn; 541 pout = bundle->ncp.ipcp.throughput.PacketsOut; 552 nargv[arg] = substip(nargv[arg], "DNS0", bundle->ncp.ipcp.ns.dns[0]); 553 nargv[arg] = substip(nargv[arg], "DNS1", bundle->ncp.ipcp.ns.dns[1]); 558 nargv[arg] = substip(nargv[arg], "HISADDR", bundle->ncp.ipcp.peer_ip); 564 bundle->ncp.ipcp.throughput.OctetsIn); 566 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" 217 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); 227 ipcp_Setup(&bundle->ncp.ipcp, bundle->radius.mask.s_addr); 254 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); 276 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" 422 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" 577 if (bundle->ncp.ipcp.ns.dns[0].s_addr == INADDR_NONE) 583 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);
|
/freebsd-10.0-release/sys/net/ |
H A D | if_sppp.h | 109 struct sipcp ipcp; /* IPCP params */ member in struct:sppp_parms 163 struct sipcp ipcp; /* IPCP params */ member in struct:sppp
|
H A D | if_spppsubr.c | 95 * being one of "lcp", "ipcp", "cisco", "chap", "pap", etc. 403 static const struct cp ipcp = { variable in typeref:struct:cp 410 "ipcp", 449 &ipcp, /* IDX_IPCP */ 600 sppp_cp_input(&ipcp, sp, m); 886 (sp->ipcp.flags & IPCP_VJ) && ip->ip_p == IPPROTO_TCP) 888 sp->ipcp.compress_cid)) { 2858 sp->ipcp.opts = 0; 2859 sp->ipcp.flags = 0; 2870 sppp_up_event(&ipcp, s [all...] |
/freebsd-10.0-release/share/examples/ppp/ |
H A D | ppp.conf.sample | 564 set log phase chat connect lcp ipcp command 573 set log phase lcp ipcp command
|