Searched refs:ngpcb (Results 1 - 3 of 3) sorted by relevance
/freebsd-current/sys/netgraph/ |
H A D | ng_socketvar.h | 46 struct ngpcb { struct 49 LIST_ENTRY(ngpcb) socks; /* linked list of sockets */
|
H A D | ng_socket.c | 124 static void ng_detach_common(struct ngpcb *pcbp, int type); 126 static int ng_connect_data(struct sockaddr *nam, struct ngpcb *pcbp); 127 static int ng_bind(struct sockaddr *nam, struct ngpcb *pcbp); 157 static LIST_HEAD(, ngpcb) ngsocklist; 161 #define sotongpcb(so) ((struct ngpcb *)(so)->so_pcb) 177 struct ngpcb *datasock; /* optional data socket */ 178 struct ngpcb *ctlsock; /* optional control socket */ 196 struct ngpcb *const pcbp = sotongpcb(so); 210 struct ngpcb *const pcbp = sotongpcb(so); 220 struct ngpcb *cons [all...] |
/freebsd-current/usr.bin/netstat/ |
H A D | netgraph.c | 67 struct ngpcb *this, *next; 68 struct ngpcb ngpcb; local 92 /* Read in ngpcb structure */ 93 kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb)); 94 next = LIST_NEXT(&ngpcb, socks); 97 kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb)); 100 if (strcmp(name, "ctrl") == 0 && ngpcb.type != NG_CONTROL) 102 if (strcmp(name, "data") == 0 && ngpcb [all...] |
Completed in 109 milliseconds