Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
socket Struct Reference

#include <socket.h>

Data Fields

sock_family_t family
 
sock_type_t type
 
uint16_t protocol
 
netdev_tnetdev
 
uint8_t nonblocking
 
uint8_t broadcast
 
sockaddr_in_t local_addr
 
sockaddr_in_t remote_addr
 
uint64_t rx_packets
 
uint64_t tx_packets
 
uint64_t rx_dropped
 
uint8_t _in_use
 
socket_ops_tops
 

Detailed Description

Definition at line 55 of file socket.h.

Field Documentation

◆ _in_use

uint8_t socket::_in_use

Definition at line 74 of file socket.h.

◆ broadcast

uint8_t socket::broadcast

Definition at line 64 of file socket.h.

◆ family

sock_family_t socket::family

Definition at line 56 of file socket.h.

Referenced by vxSocket().

◆ local_addr

sockaddr_in_t socket::local_addr

Definition at line 66 of file socket.h.

◆ netdev

netdev_t* socket::netdev

Definition at line 61 of file socket.h.

Referenced by socket_receive(), and socket_set_sockopt().

◆ nonblocking

uint8_t socket::nonblocking

Definition at line 63 of file socket.h.

◆ ops

socket_ops_t* socket::ops

Definition at line 77 of file socket.h.

◆ protocol

uint16_t socket::protocol

Definition at line 58 of file socket.h.

◆ remote_addr

sockaddr_in_t socket::remote_addr

Definition at line 67 of file socket.h.

◆ rx_dropped

uint64_t socket::rx_dropped

Definition at line 72 of file socket.h.

◆ rx_packets

uint64_t socket::rx_packets

Definition at line 70 of file socket.h.

◆ tx_packets

uint64_t socket::tx_packets

Definition at line 71 of file socket.h.

◆ type

sock_type_t socket::type

Definition at line 57 of file socket.h.


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