| /freebsd-14-stable/tests/sys/netgraph/ |
| HD | 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-14-stable/libexec/pppoed/ |
| HD | 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-14-stable/usr.sbin/ngctl/ |
| HD | config.c | 82 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConfigCmd() 85 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConfigCmd()
|
| HD | 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()
|
| HD | shutdown.c | 69 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ShutdownCmd()
|
| HD | rmhook.c | 77 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in RmHookCmd()
|
| HD | name.c | 72 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in NameCmd()
|
| HD | mkpeer.c | 81 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in MkPeerCmd()
|
| HD | connect.c | 81 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ConnectCmd()
|
| HD | status.c | 76 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in StatusCmd()
|
| HD | types.c | 73 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, in TypesCmd()
|
| HD | list.c | 100 if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, in ListCmd()
|
| HD | show.c | 95 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ShowCmd()
|
| HD | msg.c | 137 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in MsgRead()
|
| /freebsd-14-stable/lib/libnetgraph/ |
| HD | msg.c | 65 NgSendMsg(int cs, const char *path, in NgSendMsg() function 130 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, NGM_ASCII2BINARY, in NgSendAsciiMsg() 337 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, in NgRecvAsciiMsg()
|
| HD | netgraph.h | 50 int NgSendMsg(int, const char *, int, int, const void *, size_t);
|
| HD | sock.c | 120 if (NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, in NgMkSockNode() 198 if (NgSendMsg(cs, path, in NgNameNode()
|
| HD | Makefile | 14 MLINKS+= netgraph.3 NgSendMsg.3
|
| /freebsd-14-stable/usr.sbin/ppp/ |
| HD | 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()
|
| HD | 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()
|
| HD | 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-14-stable/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
| HD | 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-14-stable/usr.bin/netstat/ |
| HD | netgraph.c | 129 if (NgSendMsg(csock, path, in netgraphprotopr()
|
| /freebsd-14-stable/usr.sbin/bhyve/ |
| HD | net_backend_netgraph.c | 101 if (NgSendMsg(ctrl_sock, ".", in ng_init()
|
| /freebsd-14-stable/usr.sbin/nghook/ |
| HD | main.c | 159 if (NgSendMsg(csock, ".", in main()
|