other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
| STRUCT SOCKET(9) | Linux Networking | STRUCT SOCKET(9) |
NAME¶
struct_socket - general BSD socketSYNOPSIS¶
struct socket {
socket_state state;
short type;
unsigned long flags;
struct socket_wq __rcu * wq;
struct file * file;
struct sock * sk;
const struct proto_ops * ops;
};
MEMBERS¶
statesocket state (SS_CONNECTED, etc)
type
socket type (SOCK_STREAM, etc)
flags
socket flags (SOCK_ASYNC_NOSPACE,
etc)
wq
wait queue for several uses
file
File back pointer for gc
sk
internal networking protocol agnostic socket
representation
ops
protocol specific socket operations
COPYRIGHT¶
| February 2017 | Kernel Hackers Manual 3.16 |