Searched refs:ngpcb (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/sys/netgraph/
H A Dng_socketvar.h48 struct ngpcb { struct
51 LIST_ENTRY(ngpcb) socks; /* linked list of sockets */
66 struct ngpcb *datasock; /* optional data socket */
67 struct ngpcb *ctlsock; /* optional control socket */
H A Dng_socket.c124 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)
175 struct ngpcb *const pcbp = sotongpcb(so);
189 struct ngpcb *const pcbp = sotongpcb(so);
199 struct ngpcb *const pcbp = sotongpcb(so);
340 struct ngpcb *const pcbp = sotongpcb(so);
365 struct ngpcb *cons
[all...]
/freebsd-9.3-release/usr.bin/netstat/
H A Dnetgraph.c68 struct ngpcb *this, *next;
69 struct ngpcb ngpcb; local
138 /* Read in ngpcb structure */
139 kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb));
140 next = LIST_NEXT(&ngpcb, socks);
143 kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb));
146 if (strcmp(name, "ctrl") == 0 && ngpcb.type != NG_CONTROL)
148 if (strcmp(name, "data") == 0 && ngpcb
[all...]

Completed in 125 milliseconds