/freebsd/tests/sys/netgraph/ |
H A D | ksocket.c | 69 ATF_REQUIRE(NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, NGM_MKPEER, &mkp, in ATF_TC_BODY() 71 ATF_REQUIRE(NgSendMsg(cs, ".:" OURHOOK, NGM_KSOCKET_COOKIE, in ATF_TC_BODY() 93 ATF_REQUIRE(NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, NGM_MKPEER, &mkp, in ATF_TC_BODY() 95 ATF_REQUIRE(NgSendMsg(cs, ".:" OURHOOK, NGM_KSOCKET_COOKIE, in ATF_TC_BODY() 97 ATF_REQUIRE(NgSendMsg(cs, ".:" OURHOOK, NGM_KSOCKET_COOKIE, in ATF_TC_BODY()
|
H A D | util.c | 80 CHECK(, -1 != NgSendMsg(cs, path1, in _ng_connect() 96 CHECK(, -1 != NgSendMsg(cs, path1, in _ng_mkpeer() 109 CHECK(, -1 != NgSendMsg(cs, path, in _ng_rmhook() 122 CHECK(, -1 != NgSendMsg(cs, path, in _ng_name() 131 CHECK(, -1 != NgSendMsg(cs, path, in _ng_shutdown()
|
/freebsd/libexec/pppoed/ |
H A D | pppoed.c | 136 if (NgSendMsg(cs, epath, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, NULL, 0) < 0) { in ConfigureNode() 204 if (NgSendMsg(cs, epath, NGM_GENERIC_COOKIE, in ConfigureNode() 217 if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE, in ConfigureNode() 242 if (NgSendMsg(cs, spath, NGM_PPPOE_COOKIE, NGM_PPPOE_LISTEN, in ConfigureNode() 299 if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE, in Spawn() 311 if (NgSendMsg(cs, ".:", NGM_SOCKET_COOKIE, in Spawn() 330 if (NgSendMsg(cs, path, NGM_PPPOE_COOKIE, NGM_PPPOE_OFFER, in Spawn() 345 if (NgSendMsg(cs, path, NGM_PPPOE_COOKIE, NGM_PPPOE_SERVICE, in Spawn()
|
/freebsd/usr.sbin/ngctl/ |
H A D | config.c | 82 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConfigCmd() 85 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConfigCmd()
|
H A D | dot.c | 106 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, NGM_LISTNODES, NULL, in DotCmd() 153 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, in DotCmd()
|
H A D | shutdown.c | 69 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ShutdownCmd()
|
H A D | name.c | 72 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in NameCmd()
|
H A D | rmhook.c | 77 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in RmHookCmd()
|
H A D | connect.c | 81 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConnectCmd()
|
H A D | mkpeer.c | 81 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in MkPeerCmd()
|
H A D | status.c | 76 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in StatusCmd()
|
H A D | types.c | 73 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, in TypesCmd()
|
H A D | list.c | 100 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, in ListCmd()
|
H A D | show.c | 95 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ShowCmd()
|
H A D | msg.c | 137 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in MsgRead()
|
/freebsd/lib/libnetgraph/ |
H A D | msg.c | 64 NgSendMsg(int cs, const char *path, in NgSendMsg() function 129 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, NGM_ASCII2BINARY, in NgSendAsciiMsg() 336 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, in NgRecvAsciiMsg()
|
H A D | netgraph.h | 50 int NgSendMsg(int, const char *, int, int, const void *, size_t);
|
H A D | sock.c | 119 if (NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, in NgMkSockNode() 197 if (NgSendMsg(cs, path, in NgNameNode()
|
H A D | Makefile | 14 MLINKS+= netgraph.3 NgSendMsg.3
|
/freebsd/usr.sbin/ppp/ |
H A D | ether.c | 524 if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, in ether_Create() 592 if (NgSendMsg(dev->cs, etherid, NGM_GENERIC_COOKIE, in ether_Create() 614 if (NgSendMsg(dev->cs, ".:", NGM_GENERIC_COOKIE, in ether_Create() 632 if (NgSendMsg(dev->cs, connectpath, NGM_PPPOE_COOKIE, in ether_Create() 648 if (NgSendMsg(dev->cs, connectpath, NGM_PPPOE_COOKIE, in ether_Create()
|
H A D | tty.c | 243 if (NgSendMsg(dev->cs, asyncpath, NGM_ASYNC_COOKIE, in tty_SetAsyncParams() 313 if (NgSendMsg(cs, ttypath, NGM_TTY_COOKIE, in LoadLineDiscipline() 325 if (NgSendMsg(cs, ttypath, NGM_GENERIC_COOKIE, in LoadLineDiscipline() 338 if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE, NGM_CONNECT, in LoadLineDiscipline() 347 if (NgSendMsg(cs, ngc.path, NGM_GENERIC_COOKIE, NGM_NODEINFO, NULL, 0) < 0) { in LoadLineDiscipline()
|
H A D | netgraph.c | 582 if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, in ng_Create() 638 if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, in ng_Create() 651 if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, in ng_Create() 700 if (NgSendMsg(dev->cs, ".:", NGM_GENERIC_COOKIE, in ng_Create()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.c | 323 return (NgSendMsg(csock, path, (int)cookie, (int)opcode, arg, arglen)); in ng_output() 614 return (NgSendMsg(csock, ".:", in ng_connect_node() 625 return (NgSendMsg(csock, ".:", in ng_connect_id() 641 return (NgSendMsg(csock, path, in ng_connect2_id() 661 return (NgSendMsg(csock, path, in ng_connect2_tee_id() 740 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_MKPEER, in ng_mkpeer_id() 750 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_NAME, in ng_mkpeer_id() 766 return (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ng_shutdown_id() 779 return (NgSendMsg(csock, ".:", in ng_rmhook() 794 return (NgSendMsg(csock, path, in ng_rmhook_id()
|
/freebsd/usr.bin/netstat/ |
H A D | netgraph.c | 127 if (NgSendMsg(csock, path, in netgraphprotopr()
|
/freebsd/usr.sbin/bhyve/ |
H A D | net_backend_netgraph.c | 101 if (NgSendMsg(ctrl_sock, ".", in ng_init()
|