My Kernel v0.1.0
socket_node Struct Reference

Socket node. More...

#include <socket.h>

Data Fields

struct socket socket
 
struct vnode vnode
 

Detailed Description

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

Field Documentation

◆ socket

struct socket socket_node::socket

The socket

◆ vnode

struct vnode socket_node::vnode

The vnode


The documentation for this struct was generated from the following file: