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

Ethernet header. More...

#include <types.h>
#include <network.h>
#include <network/network_protocols.h>

Classes

struct  network_ethernet_t
 

Macros

#define ___NETWORK_ETHERNET_H   0
 

Typedefs

typedef enum network_ethernet_type_t network_ethernet_type_t
 
typedef struct network_ethernet_t network_ethernet_t
 

Enumerations

enum  network_ethernet_type_t { NETWORK_ETHERNET_TYPE_ARP =NETWORK_PROTOCOL_ARP , NETWORK_ETHERNET_TYPE_IPV4 =NETWORK_PROTOCOL_IPV4 }
 

Functions

boolean_t network_ethernet_is_mac_address_eq (network_mac_address_t mac1, network_mac_address_t mac2)
 
list_tnetwork_ethernet_process_packet (network_ethernet_t *recv_eth_packet, void *network_info)
 
uint8_tnetwork_ethernet_create_packet (network_mac_address_t dest, network_mac_address_t src, network_ethernet_type_t type, uint16_t data_len, uint8_t *data)
 

Variables

network_mac_address_t BROADCAST_MAC
 

Detailed Description

Ethernet header.

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