miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
unix_sock Struct Reference

#include <unix_sock.h>

Collaboration diagram for unix_sock:

Public Attributes

int in_use
int ref_count
unix_state_t state
char path [UNIX_SOCK_PATH_MAX]
struct unix_sockpeer
struct unix_sockbacklog [UNIX_BACKLOG_MAX]
int backlog_head
int backlog_tail
uint8_t buf [UNIX_SOCK_BUF_SIZE]
uint32_t buf_head
uint32_t buf_tail
spinlock_t lock

Member Data Documentation

◆ backlog

struct unix_sock* unix_sock::backlog[UNIX_BACKLOG_MAX]

◆ backlog_head

int unix_sock::backlog_head

◆ backlog_tail

int unix_sock::backlog_tail

◆ buf

uint8_t unix_sock::buf[UNIX_SOCK_BUF_SIZE]

◆ buf_head

uint32_t unix_sock::buf_head

◆ buf_tail

uint32_t unix_sock::buf_tail

◆ in_use

int unix_sock::in_use

◆ lock

spinlock_t unix_sock::lock

◆ path

char unix_sock::path[UNIX_SOCK_PATH_MAX]

◆ peer

struct unix_sock* unix_sock::peer

◆ ref_count

int unix_sock::ref_count

◆ state

unix_state_t unix_sock::state

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