|
PatchworkOS
|
Go to the source code of this file.
Data Structures | |
| struct | local_packet_header_t |
| Local packet header structure. struct local_packet_header_t. More... | |
| struct | local_socket_data_t |
| Local socket data structure. struct local_socket_data_t. More... | |
Macros | |
| #define | LOCAL_BUFFER_SIZE (4 * PAGE_SIZE) |
| The size of local sockets buffer. | |
| #define | LOCAL_MAX_PACKET_SIZE (LOCAL_BUFFER_SIZE - sizeof(local_packet_header_t)) |
| The maximum size of a packet allowed to be sent/received via local sockets. | |
| #define | LOCAL_MAX_BACKLOG 128 |
| The maximum backlog of connections for a local listener. | |
| #define | LOCAL_PACKET_MAGIC 0xC0D74B56 |
| Magic number for local socket packets, used for validation. | |
Typedefs | |
| typedef struct local_listen | local_listen_t |
| typedef struct local_conn | local_conn_t |
Functions | |
| void | net_local_init (void) |
| Initialize the local networking subsystem. | |
| typedef struct local_conn local_conn_t |
| typedef struct local_listen local_listen_t |