Searched refs:ngpcb (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/usr.bin/netstat/ |
| H A D | netgraph.c | 68 struct ngpcb *this, *next; in netgraphprotopr() 69 struct ngpcb ngpcb; in netgraphprotopr() local 94 kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb)); in netgraphprotopr() 95 next = LIST_NEXT(&ngpcb, socks); in netgraphprotopr() 98 kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb)); in netgraphprotopr() 101 if (strcmp(name, "ctrl") == 0 && ngpcb.type != NG_CONTROL) in netgraphprotopr() 103 if (strcmp(name, "data") == 0 && ngpcb.type != NG_DATA) in netgraphprotopr() 126 if (ngpcb.node_id == 0 || csock == -1) in netgraphprotopr() 128 snprintf(path, sizeof(path), "[%x]:", ngpcb.node_id); in netgraphprotopr()
|
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_socket.c | 157 static LIST_HEAD(, ngpcb) ngsocklist; 196 struct ngpcb *const pcbp = sotongpcb(so); in ngc_attach() 210 struct ngpcb *const pcbp = sotongpcb(so); in ngc_detach() 220 struct ngpcb *const pcbp = sotongpcb(so); in ngc_send() 371 struct ngpcb *const pcbp = sotongpcb(so); in ngc_bind() 396 struct ngpcb *const pcbp = sotongpcb(so); in ngd_attach() 510 struct ngpcb *pcbp; in ng_getsockaddr() 555 struct ngpcb *pcbp; in ng_attach_cntl() 610 struct ngpcb *pcbp; in ng_attach_common() 903 struct ngpcb *pcbp; in ngs_rcvmsg() [all …]
|
| H A D | ng_socketvar.h | 46 struct ngpcb { struct 49 LIST_ENTRY(ngpcb) socks; /* linked list of sockets */ argument
|