HomeSort by relevance Sort by last modified time
    Searched refs:ncp (Results 51 - 73 of 73) sorted by null

1 23

  /external/libppp/src/
ipcp.c 90 #include "ncp.h"
220 char *cp, *cp_nons, *ncp, ch; local
230 while ((ncp = strstr(cp, "nameserver")) != NULL) {
231 if (ncp != cp) {
232 memcpy(cp_nons, cp, ncp - cp);
233 cp_nons += ncp - cp;
235 if ((ncp != cp && ncp[-1] != '\n') || !issep(ncp[10])) {
236 memcpy(cp_nons, ncp, 9)
1370 struct ncp *ncp = &bundle->ncp; local
    [all...]
bundle.c 83 #include "ncp.h"
149 if (ncp_fsmStart(&bundle->ncp, bundle)) {
160 mp_Down(&bundle->ncp.mp);
219 ncp_DeleteQueues(&bundle->ncp);
254 mp_CheckAutoloadTimer(&bundle->ncp.mp);
273 * If it's the first NCP, calculate our bandwidth
274 * If it's the first NCP, set our ``upat'' time
275 * If it's the first NCP, start the idle timer.
276 * If it's an NCP, tell our -background parent to go away.
277 * If it's the first NCP, start the autoload time
    [all...]
slcompress.c 80 #include "ncp.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);
ncpaddr.c 66 #include "ncp.h"
411 ncpaddr_aton(struct ncpaddr *addr, struct ncp *ncp, const char *data)
415 if (!ncprange_aton(&range, ncp, data))
905 ncprange_aton(struct ncprange *range, struct ncp *ncp, const char *data)
914 if (ncp && strncasecmp(data, "HISADDR", len) == 0) {
916 range->ncprange_ip4addr = ncp->ipcp.peer_ip;
921 } else if (ncp && strncasecmp(data, "HISADDR6", len) == 0) {
923 range->ncprange_ip6addr = ncp->ipv6cp.hisaddr.ncpaddr_ip6addr
    [all...]
bundle.h 106 unsigned timeout; /* NCP Idle timeout value */
122 struct ncp ncp; member in struct:bundle
iface.c 81 #include "ncp.h"
374 iface_Clear(struct iface *iface, struct ncp *ncp, int family, int how)
413 ncp_IfaceAddrDeleted(ncp, iface->addr + n);
432 iface_Add(struct iface *iface, struct ncp *ncp, const struct ncprange *ifa,
464 ncp_IfaceAddrDeleted(ncp, iface->addr + n);
478 ncp_IfaceAddrAdded(ncp, iface->addr + n);
511 ncp_IfaceAddrAdded(ncp, iface->addr + n);
517 iface_Delete(struct iface *iface, struct ncp *ncp, const struct ncpaddr *del
    [all...]
mp.c 85 #include "ncp.h"
363 /* Re-point our NCP layers at our MP link */
364 ncp_SetLink(&mp->bundle->ncp, &mp->link);
616 if (!bundle->ncp.mp.active)
625 mp_Assemble(&bundle->ncp.mp, bp, p);
668 struct mp *mp = &bundle->ncp.mp;
745 if (!ncp_PushPacket(&bundle->ncp, &mp->out.af, bestlink))
827 struct mp *mp = &arg->bundle->ncp.mp;
959 struct mp *mp = &arg->bundle->ncp.mp;
988 if (arg->bundle->ncp.ipcp.my_ip.s_addr == INADDR_ANY
    [all...]
route.c 76 #include "ncp.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)
768 if (bundle->ncp.cfg.sendpipe > 0) {
769 rtmes.m_rtm.rtm_rmx.rmx_sendpipe = bundle->ncp.cfg.sendpipe;
772 if (bundle->ncp.cfg.recvpipe > 0) {
773 rtmes.m_rtm.rtm_rmx.rmx_recvpipe = bundle->ncp.cfg.recvpipe;
886 if (bundle->ncp.cfg.sendpipe > 0) {
887 rtmes.m_rtm.rtm_rmx.rmx_sendpipe = bundle->ncp.cfg.sendpipe;
891 if (bundle->ncp.cfg.recvpipe > 0)
    [all...]
Makefile 10 mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
auth.c 84 #include "ncp.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);
ip.c 77 #include "ncp.h"
651 if (tos == IPTOS_LOWDELAY && bundle->ncp.cfg.urgent.tos)
654 if (!frag && ncp_IsUrgentUdpPort(&bundle->ncp, ntohs(uh->uh_sport),
815 if (tos == IPTOS_LOWDELAY && bundle->ncp.cfg.urgent.tos)
818 if (!frag && ncp_IsUrgentTcpPort(&bundle->ncp, ntohs(th->th_sport),
960 if (bundle->ncp.ipcp.fsm.state != ST_OPENED) {
969 ipcp_AddInOctets(&bundle->ncp.ipcp, nb);
980 if (bundle->ncp.ipv6cp.fsm.state != ST_OPENED) {
989 ipv6cp_AddInOctets(&bundle->ncp.ipv6cp, nb);
filter.c 70 #include "ncp.h"
242 filter_Parse(struct ncp *ncp, int argc, char const *const *argv,
313 ncprange_aton(&fe.f_src, ncp, *argv)) {
324 ncprange_aton(&fe.f_dst, ncp, *argv)) {
430 filter_Parse(&arg->bundle->ncp, arg->argc - arg->argn - 1,
ipv6cp.c 70 #include "ncp.h"
231 if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr,
236 iface_Clear(bundle->iface, &bundle->ncp, AF_INET6,
243 if (bundle->ncp.cfg.sendpipe > 0 || bundle->ncp.cfg.recvpipe > 0) {
253 route_Change(bundle, bundle->ncp.route, &ipv6cp->myaddr, &ipv6cp->hisaddr);
326 struct ipv6cp *ipv6cp = &arg->bundle->ncp.ipv6cp;
356 fsm_Input(&bundle->ncp.ipv6cp.fsm, bp);
radius.c 95 #include "ncp.h"
413 !ncprange_aton(&dest, &bundle->ncp, argv[0])) ||
414 !ncpaddr_aton(&gw, &bundle->ncp, argv[1]))
433 ncpaddr_setip4(&gw, bundle->ncp.ipcp.peer_ip);
497 !ncprange_aton(&dest, &bundle->ncp, argv[0])) ||
498 !ncpaddr_aton(&gw, &bundle->ncp, argv[1]))
511 ncpaddr_copy(&gw, &bundle->ncp.ipv6cp.hisaddr);
    [all...]
prompt.c 73 #include "ncp.h"
104 if (p->bundle->ncp.ipcp.fsm.state == ST_OPENED)
108 p->bundle->ncp.ipv6cp.fsm.state == ST_OPENED)
lcp.c 80 #include "ncp.h"
305 lcp->want_mrru = lcp->fsm.bundle->ncp.mp.cfg.mrru;
306 lcp->want_shortseq = IsEnabled(lcp->fsm.bundle->ncp.mp.cfg.shortseq) ? 1 : 0;
479 mp = &lcp->fsm.bundle->ncp.mp;
686 mp = &lcp->fsm.bundle->ncp.mp;
    [all...]
physical.c 87 #include "ncp.h"
190 p->link.stats.parent = dl->bundle->ncp.mp.active ?
191 &dl->bundle->ncp.mp.link.stats.total : NULL;
644 p->link.stats.parent = dl->bundle->ncp.mp.active ?
645 &dl->bundle->ncp.mp.link.stats.total : NULL;
main.c 85 #include "ncp.h"
426 ncprange_family(&bundle->ncp.ipcp.cfg.peer_range) == AF_UNSPEC) {
datalink.c 69 #include "ncp.h"
618 switch (mp_Up(&dl->bundle->ncp.mp, dl)) {
643 dl->bundle->ncp.mp.peer = dl->peer;
644 ncp_SetLink(&dl->bundle->ncp, &dl->physical->link);
    [all...]
fsm.c 65 #include "ncp.h"
921 fsm_Close(&fp->bundle->ncp.ipcp.fsm);
929 fsm_Close(&fp->bundle->ncp.ipv6cp.fsm);
ccp.c 77 #include "ncp.h"
294 * If ccp is required but not open, the NCP layer should not push
724 /* The NCP layer shouldn't have let this happen ! */
790 return !link2physical(ccp->fsm.link) || !ccp->fsm.bundle->ncp.mp.active ?
  /external/kernel-headers/original/linux/
ncp_mount.h 12 #include <linux/ncp.h>
28 unsigned int ncp_fd; /* The socket to the ncp port */
34 sending a NCP request? */
55 unsigned int ncp_fd; /* The socket to the ncp port */
57 sending a NCP request? */
79 unsigned int ncp_fd; /* The socket to the ncp port */
81 sending a NCP request? */
  /ndk/sources/host-tools/nawk-20071023/
run.c 1434 Cell *x, *vp, *arrayp, *cp, *ncp; local
    [all...]

Completed in 3919 milliseconds

1 23