Searched refs:ngc (Results 1 - 5 of 5) sorted by relevance
/freebsd-9.3-release/libexec/pppoed/ |
H A D | pppoed.c | 88 int cs, int ds, int debug, struct ngm_connect *ngc) 213 snprintf(ngc->path, sizeof ngc->path, "%s%s", epath, NG_ETHER_HOOK_ORPHAN); 214 snprintf(ngc->ourhook, sizeof ngc->ourhook, "pppoe-%ld", (long)getpid()); 215 memcpy(ngc->peerhook, ngc->ourhook, sizeof ngc->peerhook); 218 NGM_CONNECT, ngc, sizeof *ngc) < 87 ConfigureNode(const char *prog, const char *iface, const char *provider, int cs, int ds, int debug, struct ngm_connect *ngc) argument 253 Spawn(const char *prog, const char *acname, const char *provider, const char *exec, struct ngm_connect ngc, int cs, int ds, void *request, int sz, int debug) argument 503 struct ngm_connect ngc; local [all...] |
/freebsd-9.3-release/usr.sbin/nghook/ |
H A D | main.c | 78 struct ngm_connect ngc; local 157 snprintf(ngc.path, sizeof(ngc.path), "%s", path); 158 snprintf(ngc.ourhook, sizeof(ngc.ourhook), NG_SOCK_HOOK_NAME); 159 snprintf(ngc.peerhook, sizeof(ngc.peerhook), "%s", hook); 162 NGM_GENERIC_COOKIE, NGM_CONNECT, &ngc, sizeof(ngc)) < 0)
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | ether.c | 461 struct ngm_connect ngc; local 569 snprintf(ngc.path, sizeof ngc.path, "[%x]:", nlink->nodeinfo.id); 599 snprintf(ngc.path, sizeof ngc.path, "%s%s", path, NG_ETHER_HOOK_ORPHAN); 607 * ngc.path has already been set up 609 snprintf(ngc.ourhook, sizeof ngc.ourhook, "%s", dev->hook); 610 memcpy(ngc.peerhook, ngc [all...] |
H A D | netgraph.c | 464 struct ngm_connect ngc; local 694 snprintf(ngc.path, sizeof ngc.path, "%s", path); 695 snprintf(ngc.ourhook, sizeof ngc.ourhook, "%s", dev->hook); 696 memcpy(ngc.peerhook, ngc.ourhook, sizeof ngc.peerhook); 699 ngc.ourhook, ngc [all...] |
H A D | tty.c | 261 struct ngm_connect ngc; local 333 snprintf(ngc.path, sizeof ngc.path, "%s%s", ttypath, NG_TTY_HOOK); 334 snprintf(ngc.peerhook, sizeof ngc.peerhook, "%s", NG_ASYNC_HOOK_SYNC); 335 memcpy(ngc.ourhook, ngc.peerhook, sizeof ngc.ourhook); 337 ngc.path, ngc [all...] |
Completed in 71 milliseconds