KolibriOS kernel
ethernet.inc File Reference

Classes

struct  ETH_header
 
struct  ETH_DEVICE
 

Macros

#define eth_init
 

Variables

dp ETH_BROADCAST
 
dd ETH_frame_queued
 Number of queued frames. More...
 
dd ETH_frame_head
 Pointer to next frame in the linked list. More...
 
dd ETH_frame_tail
 Pointer to last frame in the linked list. More...
 
dd ETH_input_event
 
label eth_input
 This function is called by ethernet drivers. Push the received ethernet packet onto the ethernet input queue. More...
 
label eth_process_input
 
label eth_output
 
label eth_api
 

Macro Definition Documentation

◆ eth_init

#define eth_init

Variable Documentation

◆ eth_api

◆ ETH_BROADCAST

dp ETH_BROADCAST
Initial value
0xffffffffffff
Source
network/ethernet.inc:39

◆ ETH_frame_head

dd ETH_frame_head

Pointer to next frame in the linked list.

Initial value
ETH_frame_head
Source
network/ethernet.inc:43

◆ ETH_frame_queued

dd ETH_frame_queued

Number of queued frames.

Initial value
0
Source
network/ethernet.inc:41

◆ ETH_frame_tail

dd ETH_frame_tail

Pointer to last frame in the linked list.

Initial value
ETH_frame_head
Source
network/ethernet.inc:44

◆ eth_input

label eth_input

This function is called by ethernet drivers. Push the received ethernet packet onto the ethernet input queue.

Input: [esp] = Pointer to buffer [esp + 4] = Return address (yes, really)

Example: push .retaddr push buf_addr jmp eth_input

Source
network/ethernet.inc:77

◆ ETH_input_event

dd ETH_input_event
Initial value
?
Source
network/ethernet.inc:50

◆ eth_output

label eth_output

◆ eth_process_input

label eth_process_input