Searched refs:ngpcb (Results 1 – 3 of 3) sorted by relevance
/freebsd/usr.bin/netstat/ |
H A D | netgraph.c | 67 struct ngpcb *this, *next; in netgraphprotopr() 68 struct ngpcb ngpcb; in netgraphprotopr() local 93 kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb)); in netgraphprotopr() 94 next = LIST_NEXT(&ngpcb, socks); in netgraphprotopr() 97 kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb)); in netgraphprotopr() 100 if (strcmp(name, "ctrl") == 0 && ngpcb.type != NG_CONTROL) in netgraphprotopr() 102 if (strcmp(name, "data") == 0 && ngpcb.type != NG_DATA) in netgraphprotopr() 125 if (ngpcb.node_id == 0 || csock == -1) in netgraphprotopr() 127 snprintf(path, sizeof(path), "[%x]:", ngpcb.node_id); in netgraphprotopr()
|
/freebsd/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() 511 struct ngpcb *pcbp; in ng_getsockaddr() 551 struct ngpcb *pcbp; in ng_attach_cntl() 606 struct ngpcb *pcbp; in ng_attach_common() 899 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
|