|
My Kernel v0.1.0
|
Socket node. More...
#include <socket.h>
Data Fields | |
| struct socket | socket |
| struct vnode | vnode |
To be able to associate a socket with a vnode we allocate a larger structure that contains both the socket and its vnode. We can then easily jump between the two using container_of
| struct socket socket_node::socket |
The socket
| struct vnode socket_node::vnode |
The vnode