Home | History | Annotate | Download | only in src

Lines Matching full:nargv

518 command_Expand(char **nargv, int argc, char const *const *oargv,
528 nargv[0] = strdup(oargv[0]);
547 nargv[arg] = strdup(oargv[arg]);
548 nargv[arg] = subst(nargv[arg], "AUTHNAME", bundle->cfg.auth.name);
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]);
551 nargv[arg] = subst(nargv[arg], "ENDDISC",
555 nargv[arg] = substip(nargv[arg], "HISADDR", bundle->ncp.ipcp.peer_ip);
557 nargv[arg] = substipv6(nargv[arg], "HISADDR6", &bundle->ncp.ipv6cp.hisaddr);
559 nargv[arg] = subst(nargv[arg], "INTERFACE", bundle->iface->name);
560 nargv[arg] = substull(nargv[arg], "IPOCTETSIN",
562 nargv[arg] = substull(nargv[arg], "IPOCTETSOUT",
564 nargv[arg] = substull(nargv[arg], "IPPACKETSIN",
566 nargv[arg] = substull(nargv[arg], "IPPACKETSOUT",
569 nargv[arg] = substull(nargv[arg], "IPV6OCTETSIN",
571 nargv[arg] = substull(nargv[arg], "IPV6OCTETSOUT",
573 nargv[arg] = substull(nargv[arg], "IPV6PACKETSIN",
575 nargv[arg] = substull(nargv[arg], "IPV6PACKETSOUT",
578 nargv[arg] = subst(nargv[arg], "LABEL", bundle_GetLabel(bundle));
579 nargv[arg] = substip(nargv[arg], "MYADDR", bundle->ncp.ipcp.my_ip);
581 nargv[arg] = substipv6(nargv[arg], "MYADDR6", &bundle->ncp.ipv6cp.myaddr);
583 nargv[arg] = substipv6prefix(nargv[arg], "IPV6PREFIX",
587 nargv[arg] = substull(nargv[arg], "OCTETSIN", oin);
588 nargvnargv[arg], "OCTETSOUT", oout);
589 nargv[arg] = substull(nargv[arg], "PACKETSIN", pin);
590 nargv[arg] = substull(nargv[arg], "PACKETSOUT", pout);
591 nargv[arg] = subst(nargv[arg], "PEER_ENDDISC",
595 nargv[arg] = substlong(nargv[arg], "PROCESSID", pid);
597 nargv[arg] = substlong(nargv[arg], "SOCKNAME", server.cfg.port);
599 nargv[arg] = subst(nargv[arg], "SOCKNAME", server.cfg.sockname);
600 nargv[arg] = subst(nargv[arg], "UPTIME", uptime);
601 nargv[arg] = subst(nargv[arg], "USER", bundle->ncp.mp.peer.authname);
602 nargv[arg] = subst(nargv[arg], "VERSION", Version);
604 nargv[arg] = NULL;