KolibriOS kernel
loopback.inc File Reference

Macros

#define loop_init
 

Variables

label LOOPBACK_DEVICE
 
dd _device_type
 
dd _mtu
 
dd _name
 
dd _unload
 
dd _reset
 
dd _transmit
 
dd _link_state
 
dd _hwacc
 
dq _bytes_tx
 
dq _bytes_rx
 
dd _packets_tx
 
dd _packets_tx_err
 
dd _packets_tx_drop
 
dd _packets_tx_ovr
 
dd _packets_rx
 
dd _packets_rx_err
 
dd _packets_rx_drop
 
dd _packets_rx_ovr
 
db _namestr
 
label loop_dummy
 --------------------------------------------------------------—; ; loop_dummy ; ; IN: / ; ; OUT: / ; ; --------------------------------------------------------------—; More...
 
label loop_input
 --------------------------------------------------------------—; ; loop_input ; ; IN: [esp+4] = Pointer to buffer ; ; OUT: eax = 0 on success, errorcode otherwise ; ; --------------------------------------------------------------—; More...
 
label loop_output
 --------------------------------------------------------------—; ; loop_output ; ; IN: ecx = packet size ; edi = address family ; ; OUT: eax = start of net frame / 0 on error ; ebx = to device structure ; ecx = unchanged (packet size of embedded data) ; edi = start of payload ; ; --------------------------------------------------------------—; More...
 

Macro Definition Documentation

◆ loop_init

#define loop_init

Variable Documentation

◆ _bytes_rx

dq _bytes_rx
Initial value
?
Source
network/loopback.inc:35

◆ _bytes_tx

dq _bytes_tx
Initial value
?
Source
network/loopback.inc:34

◆ _device_type

dd _device_type
Initial value
NET_DEVICE_LOOPBACK
Source
network/loopback.inc:23

◆ _hwacc

dd _hwacc
Initial value
NET_HWACC_TCP_IPv4_IN + NET_HWACC_TCP_IPv4_OUT
Source
network/loopback.inc:32

◆ _link_state

dd _link_state
Initial value
-1
Source
network/loopback.inc:31

◆ _mtu

dd _mtu
Initial value
NET_BUFFER_SIZE - NET_BUFF.data
Source
network/loopback.inc:24

◆ _name

dd _name
Initial value
.namestr
Source
network/loopback.inc:25

◆ _namestr

db _namestr
Initial value
'loopback', 0
Source
network/loopback.inc:47

◆ _packets_rx

dd _packets_rx
Initial value
?
Source
network/loopback.inc:42

◆ _packets_rx_drop

dd _packets_rx_drop
Initial value
?
Source
network/loopback.inc:44

◆ _packets_rx_err

dd _packets_rx_err
Initial value
?
Source
network/loopback.inc:43

◆ _packets_rx_ovr

dd _packets_rx_ovr
Initial value
?
Source
network/loopback.inc:45

◆ _packets_tx

dd _packets_tx
Initial value
?
Source
network/loopback.inc:37

◆ _packets_tx_drop

dd _packets_tx_drop
Initial value
?
Source
network/loopback.inc:39

◆ _packets_tx_err

dd _packets_tx_err
Initial value
?
Source
network/loopback.inc:38

◆ _packets_tx_ovr

dd _packets_tx_ovr
Initial value
?
Source
network/loopback.inc:40

◆ _reset

dd _reset
Initial value
loop_dummy
Source
network/loopback.inc:28

◆ _transmit

dd _transmit
Initial value
loop_input
Source
network/loopback.inc:29

◆ _unload

dd _unload
Initial value
loop_dummy
Source
network/loopback.inc:27

◆ loop_dummy

label loop_dummy

--------------------------------------------------------------—; ; loop_dummy ; ; IN: / ; ; OUT: / ; ; --------------------------------------------------------------—;

Source
network/loopback.inc:78

◆ loop_input

label loop_input

--------------------------------------------------------------—; ; loop_input ; ; IN: [esp+4] = Pointer to buffer ; ; OUT: eax = 0 on success, errorcode otherwise ; ; --------------------------------------------------------------—;

Source
network/loopback.inc:91

◆ loop_output

label loop_output

--------------------------------------------------------------—; ; loop_output ; ; IN: ecx = packet size ; edi = address family ; ; OUT: eax = start of net frame / 0 on error ; ebx = to device structure ; ecx = unchanged (packet size of embedded data) ; edi = start of payload ; ; --------------------------------------------------------------—;

Source
network/loopback.inc:148

◆ LOOPBACK_DEVICE

label LOOPBACK_DEVICE