Turnstone Operating System
Loading...
Searching...
No Matches
network.h File Reference

Network header. More...

#include <types.h>
#include <list.h>

Classes

struct  network_received_packet_t
 
struct  network_transmit_packet_t
 

Macros

#define ___NETWORK_H   0
 
#define NETWORK_DEVICE_VENDOR_ID_VIRTIO   0x1AF4
 
#define NETWORK_DEVICE_DEVICE_ID_VIRTNET1   0x1000
 
#define NETWORK_DEVICE_DEVICE_ID_VIRTNET2   0x1041
 
#define NETWORK_DEVICE_VENDOR_ID_INTEL   0x8086
 
#define NETWORK_DEVICE_DEVICE_ID_E1000   0x100F
 

Typedefs

typedef enum network_type_t network_type_t
 
typedef struct network_received_packet_t network_received_packet_t
 
typedef struct network_transmit_packet_t network_transmit_packet_t
 

Enumerations

enum  network_type_t { NETWORK_TYPE_ETHERNET =0 }
 

Functions

int8_t network_transmit_packet_destroyer (memory_heap_t *heap, void *data)
 
int8_t network_init (void)
 

Variables

list_tnetwork_received_packets
 

Detailed Description

Network header.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.