Searched refs:ngc (Results 1 - 5 of 5) sorted by relevance
/freebsd-12-stable/libexec/pppoed/ |
H A D | pppoed.c | 90 int cs, int ds, int debug, struct ngm_connect *ngc) 215 snprintf(ngc->path, sizeof ngc->path, "%s%s", epath, NG_ETHER_HOOK_ORPHAN); 216 snprintf(ngc->ourhook, sizeof ngc->ourhook, "pppoe-%ld", (long)getpid()); 217 memcpy(ngc->peerhook, ngc->ourhook, sizeof ngc->peerhook); 220 NGM_CONNECT, ngc, sizeof *ngc) < 89 ConfigureNode(const char *prog, const char *iface, const char *provider, int cs, int ds, int debug, struct ngm_connect *ngc) argument 255 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 505 struct ngm_connect ngc; local [all...] |
/freebsd-12-stable/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-12-stable/usr.sbin/ppp/ |
H A D | ether.c | 463 struct ngm_connect ngc; local 571 snprintf(ngc.path, sizeof ngc.path, "[%x]:", nlink->nodeinfo.id); 601 snprintf(ngc.path, sizeof ngc.path, "%s%s", path, NG_ETHER_HOOK_ORPHAN); 609 * ngc.path has already been set up 611 snprintf(ngc.ourhook, sizeof ngc.ourhook, "%s", dev->hook); 612 memcpy(ngc.peerhook, ngc [all...] |
H A D | netgraph.c | 466 struct ngm_connect ngc; local 696 snprintf(ngc.path, sizeof ngc.path, "%s", path); 697 snprintf(ngc.ourhook, sizeof ngc.ourhook, "%s", dev->hook); 698 memcpy(ngc.peerhook, ngc.ourhook, sizeof ngc.peerhook); 701 ngc.ourhook, ngc [all...] |
H A D | tty.c | 263 struct ngm_connect ngc; local 335 snprintf(ngc.path, sizeof ngc.path, "%s%s", ttypath, NG_TTY_HOOK); 336 snprintf(ngc.peerhook, sizeof ngc.peerhook, "%s", NG_ASYNC_HOOK_SYNC); 337 memcpy(ngc.ourhook, ngc.peerhook, sizeof ngc.ourhook); 339 ngc.path, ngc [all...] |
Completed in 166 milliseconds