|
My Kernel v0.1.0
|
Socket communication domain. More...
#include <socket.h>
Data Fields | |
| enum communication_domain | domain |
| node_t | this |
| error_t(* | socket_init )(struct socket *, int type, int proto) |
| Match socket with its protocol, and initialize necessary per-domain data. | |
A socket communication domain can be seen as a kind of 'family' of protocols. The most common example for this would be the IP (AF_INET) family, which supports the UDP/TCP protocols.
communication domain
| enum communication_domain socket_domain::domain |
Domain identifier
| node_t socket_domain::this |
Used to list all domains