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

#include <socket.h>

Data Fields

int(* recv )(socket_t *socket, void *buffer, size_t size)
 
int(* recv_zc )(socket_t *socket, void **buffer, size_t size)
 
int(* bind )(socket_t *socket, sockaddr_in_t *addr, uint32_t len)
 
int(* set_sockopt )(socket_t *socket, uint32_t level, uint32_t optname, const void *optval, uint32_t optlen)
 

Detailed Description

Definition at line 32 of file socket.h.

Field Documentation

◆ bind

int(* socket_ops::bind) (socket_t *socket, sockaddr_in_t *addr, uint32_t len)

Definition at line 37 of file socket.h.

Referenced by INIT().

◆ recv

int(* socket_ops::recv) (socket_t *socket, void *buffer, size_t size)

Definition at line 33 of file socket.h.

Referenced by INIT().

◆ recv_zc

int(* socket_ops::recv_zc) (socket_t *socket, void **buffer, size_t size)

Definition at line 35 of file socket.h.

◆ set_sockopt

int(* socket_ops::set_sockopt) (socket_t *socket, uint32_t level, uint32_t optname, const void *optval, uint32_t optlen)

Definition at line 38 of file socket.h.

Referenced by INIT().


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