Searched refs:ngpcb (Results 1 – 3 of 3) sorted by relevance
| /freebsd/usr.bin/netstat/ |
| H A D | netgraph.c | 66 struct ngpcb *this, *next; in netgraphprotopr() 67 struct ngpcb ngpcb; in netgraphprotopr() local 92 kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb)); in netgraphprotopr() 93 next = LIST_NEXT(&ngpcb, socks); in netgraphprotopr() 96 kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb)); in netgraphprotopr() 99 if (strcmp(name, "ctrl") == 0 && ngpcb.type != NG_CONTROL) in netgraphprotopr() 101 if (strcmp(name, "data") == 0 && ngpcb.type != NG_DATA) in netgraphprotopr() 124 if (ngpcb.node_id == 0 || csock == -1) in netgraphprotopr() 126 snprintf(path, sizeof(path), "[%x]:", ngpcb.node_id); in netgraphprotopr()
|
| /freebsd/sys/netgraph/ |
| H A D | ng_socket.c | 152 static LIST_HEAD(, ngpcb) ngsocklist; 170 struct ngpcb *datasock; /* optional data socket */ 171 struct ngpcb *ctlsock; /* optional control socket */ 190 struct ngpcb *const pcbp = so->so_pcb; in ngc_send() 347 struct ngpcb *const pcbp = so->so_pcb; in ngd_send() 431 struct ngpcb *pcbp = so->so_pcb; in ng_getsockaddr() 470 struct ngpcb *pcbp; in ngc_attach() 521 struct ngpcb *pcbp; in ng_attach_common() 530 pcbp = malloc(sizeof(struct ngpcb), M_PCB, M_WAITOK | M_ZERO); in ng_attach_common() 553 struct ngpcb *pcbp = so->so_pcb; in ng_detach_common() [all …]
|
| H A D | ng_socketvar.h | 46 struct ngpcb { struct 49 LIST_ENTRY(ngpcb) socks; /* linked list of sockets */ argument
|