KolibriOS kernel
socket.inc File Reference

Classes

struct  SOCKET
 
struct  IP_SOCKET
 
struct  TCP_SOCKET
 
struct  UDP_SOCKET
 
struct  RING_BUFFER
 
struct  STREAM_SOCKET
 
struct  socket_queue_entry
 
struct  socket_options
 

Macros

#define socket_init
 --------------------------------------------------------------—; ; socket_init ; ; --------------------------------------------------------------—; More...
 

Variables

rd net_sockets
 
dd last_socket_num
 
dw last_UDP_port
 last used ephemeral port More...
 
dw last_TCP_port
 
MUTEX socket_mutex
 
label sys_socket
 
label socket_open
 
label socket_bind
 
label socket_connect
 
label connect_notsupp
 
label socket_listen
 
label socket_accept
 
label socket_close
 
label socket_receive
 
label socket_receive_dgram
 
label socket_receive_tcp
 
label socket_receive_local
 
label socket_receive_stream
 
label socket_send
 
label socket_send_udp
 
label socket_send_tcp
 
label socket_send_ip
 
label socket_send_icmp
 
label socket_send_local
 
label socket_send_local_initialized
 
label socket_get_opt
 
label socket_set_opt
 
label socket_pair
 
label socket_debug
 
label socket_find_port
 
label socket_check_port
 
label socket_input
 
label socket_ring_create
 
label socket_ring_write
 
label socket_ring_read
 
label socket_ring_free
 
label socket_block
 
label socket_notify
 
label socket_alloc
 
label socket_free
 
label socket_fork
 
label socket_num_to_ptr
 
label socket_ptr_to_num
 
label socket_check
 
label socket_check_owner
 
label socket_process_end
 
label socket_is_connecting
 
label socket_is_connected
 
label socket_is_disconnecting
 
label socket_is_disconnected
 
label socket_cant_recv_more
 
label socket_cant_send_more
 

Macro Definition Documentation

◆ socket_init

#define socket_init

--------------------------------------------------------------—; ; socket_init ; ; --------------------------------------------------------------—;

Source
network/socket.inc:212

Variable Documentation

◆ connect_notsupp

label connect_notsupp

◆ last_socket_num

dd last_socket_num
Initial value
?
Source
network/socket.inc:199

◆ last_TCP_port

dw last_TCP_port
Initial value
?
Source
network/socket.inc:201

◆ last_UDP_port

dw last_UDP_port

last used ephemeral port

Initial value
?
Source
network/socket.inc:200

◆ net_sockets

rd net_sockets
Initial value
4
Source
network/socket.inc:198

◆ socket_accept

label socket_accept

◆ socket_alloc

label socket_alloc

◆ socket_bind

label socket_bind

◆ socket_block

label socket_block

◆ socket_cant_recv_more

label socket_cant_recv_more

◆ socket_cant_send_more

label socket_cant_send_more

◆ socket_check

label socket_check

◆ socket_check_owner

label socket_check_owner

◆ socket_check_port

label socket_check_port

◆ socket_close

label socket_close

◆ socket_connect

label socket_connect

◆ socket_debug

label socket_debug

◆ socket_find_port

label socket_find_port

◆ socket_fork

label socket_fork

◆ socket_free

label socket_free

◆ socket_get_opt

label socket_get_opt

◆ socket_input

label socket_input

◆ socket_is_connected

label socket_is_connected

◆ socket_is_connecting

label socket_is_connecting

◆ socket_is_disconnected

label socket_is_disconnected

◆ socket_is_disconnecting

label socket_is_disconnecting

◆ socket_listen

label socket_listen

◆ socket_mutex

MUTEX socket_mutex
Initial value
Source
network/socket.inc:202

◆ socket_notify

label socket_notify

◆ socket_num_to_ptr

label socket_num_to_ptr

◆ socket_open

label socket_open

◆ socket_pair

label socket_pair

◆ socket_process_end

label socket_process_end

◆ socket_ptr_to_num

label socket_ptr_to_num

◆ socket_receive

label socket_receive

◆ socket_receive_dgram

label socket_receive_dgram

◆ socket_receive_local

label socket_receive_local

◆ socket_receive_stream

label socket_receive_stream

◆ socket_receive_tcp

label socket_receive_tcp

◆ socket_ring_create

label socket_ring_create

◆ socket_ring_free

label socket_ring_free

◆ socket_ring_read

label socket_ring_read

◆ socket_ring_write

label socket_ring_write

◆ socket_send

label socket_send

◆ socket_send_icmp

label socket_send_icmp

◆ socket_send_ip

label socket_send_ip

◆ socket_send_local

label socket_send_local

◆ socket_send_local_initialized

label socket_send_local_initialized

◆ socket_send_tcp

label socket_send_tcp

◆ socket_send_udp

label socket_send_udp

◆ socket_set_opt

label socket_set_opt

◆ sys_socket

label sys_socket