Home
last modified time | relevance | path

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

12

/freebsd-12-stable/tests/sys/netgraph/
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-12-stable/libexec/pppoed/
Dpppoed.c138 if (NgSendMsg(cs, epath, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, NULL, 0) < 0) { in ConfigureNode()
206 if (NgSendMsg(cs, epath, NGM_GENERIC_COOKIE, in ConfigureNode()
219 if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE, in ConfigureNode()
244 if (NgSendMsg(cs, spath, NGM_PPPOE_COOKIE, NGM_PPPOE_LISTEN, in ConfigureNode()
301 if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE, in Spawn()
313 if (NgSendMsg(cs, ".:", NGM_SOCKET_COOKIE, in Spawn()
332 if (NgSendMsg(cs, path, NGM_PPPOE_COOKIE, NGM_PPPOE_OFFER, in Spawn()
347 if (NgSendMsg(cs, path, NGM_PPPOE_COOKIE, NGM_PPPOE_SERVICE, in Spawn()
/freebsd-12-stable/usr.sbin/ngctl/
Dconfig.c84 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConfigCmd()
87 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConfigCmd()
Ddot.c108 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, NGM_LISTNODES, NULL, in DotCmd()
155 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, in DotCmd()
Dshutdown.c71 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ShutdownCmd()
Dname.c74 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in NameCmd()
Drmhook.c79 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in RmHookCmd()
Dconnect.c83 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConnectCmd()
Dmkpeer.c83 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in MkPeerCmd()
Dstatus.c78 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in StatusCmd()
Dtypes.c75 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, in TypesCmd()
Dlist.c102 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, in ListCmd()
Dshow.c97 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ShowCmd()
Dmsg.c139 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in MsgRead()
/freebsd-12-stable/lib/libnetgraph/
Dmsg.c67 NgSendMsg(int cs, const char *path, in NgSendMsg() function
132 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, NGM_ASCII2BINARY, in NgSendAsciiMsg()
339 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, in NgRecvAsciiMsg()
Dsock.c122 if (NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, in NgMkSockNode()
200 if (NgSendMsg(cs, path, in NgNameNode()
Dnetgraph.h52 int NgSendMsg(int, const char *, int, int, const void *, size_t);
DMakefile16 MLINKS+= netgraph.3 NgSendMsg.3
/freebsd-12-stable/usr.sbin/ppp/
Dether.c526 if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, in ether_Create()
594 if (NgSendMsg(dev->cs, etherid, NGM_GENERIC_COOKIE, in ether_Create()
616 if (NgSendMsg(dev->cs, ".:", NGM_GENERIC_COOKIE, in ether_Create()
634 if (NgSendMsg(dev->cs, connectpath, NGM_PPPOE_COOKIE, in ether_Create()
650 if (NgSendMsg(dev->cs, connectpath, NGM_PPPOE_COOKIE, in ether_Create()
Dtty.c245 if (NgSendMsg(dev->cs, asyncpath, NGM_ASYNC_COOKIE, in tty_SetAsyncParams()
315 if (NgSendMsg(cs, ttypath, NGM_TTY_COOKIE, in LoadLineDiscipline()
327 if (NgSendMsg(cs, ttypath, NGM_GENERIC_COOKIE, in LoadLineDiscipline()
340 if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE, NGM_CONNECT, in LoadLineDiscipline()
349 if (NgSendMsg(cs, ngc.path, NGM_GENERIC_COOKIE, NGM_NODEINFO, NULL, 0) < 0) { in LoadLineDiscipline()
Dnetgraph.c584 if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, in ng_Create()
640 if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, in ng_Create()
653 if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, in ng_Create()
702 if (NgSendMsg(dev->cs, ".:", NGM_GENERIC_COOKIE, in ng_Create()
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_netgraph/
Dsnmp_netgraph.c325 return (NgSendMsg(csock, path, (int)cookie, (int)opcode, arg, arglen)); in ng_output()
616 return (NgSendMsg(csock, ".:", in ng_connect_node()
627 return (NgSendMsg(csock, ".:", in ng_connect_id()
643 return (NgSendMsg(csock, path, in ng_connect2_id()
663 return (NgSendMsg(csock, path, in ng_connect2_tee_id()
742 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_MKPEER, in ng_mkpeer_id()
752 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_NAME, in ng_mkpeer_id()
768 return (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ng_shutdown_id()
781 return (NgSendMsg(csock, ".:", in ng_rmhook()
796 return (NgSendMsg(csock, path, in ng_rmhook_id()
/freebsd-12-stable/usr.bin/netstat/
Dnetgraph.c131 if (NgSendMsg(csock, path, in netgraphprotopr()
/freebsd-12-stable/usr.sbin/bluetooth/bt3cfw/
Dbt3cfw.c216 if (NgSendMsg(cs, path, NGM_BT3C_COOKIE, in main()
/freebsd-12-stable/usr.sbin/bluetooth/hcseriald/
Dhcseriald.c237 if (NgSendMsg(cs, p, NGM_GENERIC_COOKIE, NGM_NAME, &n, sizeof(n)) < 0) { in open_device()

12