Home
last modified time | relevance | path

Searched refs:NgSendMsg (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/tests/sys/netgraph/
H A Dksocket.c69 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 Dutil.c80 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 Dpppoed.c136 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 Dconfig.c82 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConfigCmd()
85 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConfigCmd()
H A Ddot.c106 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 Dshutdown.c69 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ShutdownCmd()
H A Dname.c72 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in NameCmd()
H A Drmhook.c77 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in RmHookCmd()
H A Dconnect.c81 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConnectCmd()
H A Dmkpeer.c81 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in MkPeerCmd()
H A Dstatus.c76 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in StatusCmd()
H A Dtypes.c73 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, in TypesCmd()
H A Dlist.c100 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, in ListCmd()
H A Dshow.c95 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ShowCmd()
H A Dmsg.c137 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in MsgRead()
/freebsd/lib/libnetgraph/
H A Dmsg.c64 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 Dnetgraph.h50 int NgSendMsg(int, const char *, int, int, const void *, size_t);
H A Dsock.c119 if (NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, in NgMkSockNode()
197 if (NgSendMsg(cs, path, in NgNameNode()
H A DMakefile14 MLINKS+= netgraph.3 NgSendMsg.3
/freebsd/usr.sbin/ppp/
H A Dether.c524 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 Dtty.c243 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 Dnetgraph.c582 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 Dsnmp_netgraph.c323 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 Dnetgraph.c127 if (NgSendMsg(csock, path, in netgraphprotopr()
/freebsd/usr.sbin/bhyve/
H A Dnet_backend_netgraph.c101 if (NgSendMsg(ctrl_sock, ".", in ng_init()

12