#include "src/collection/list.hpp"
Idź do kodu źródłowego tego pliku.
Przestrzenie nazw | |
namespace | Net |
Komponenty | |
struct | Net::netbuf |
struct | Net::packet_t |
struct | Net::ethernet_address |
struct | Net::ip_address |
struct | Net::netmask_t |
struct | Net::outbound_packet |
struct | Net::netif |
Definicje | |
#define | DUMP_OUTBOUND_ETHERNET_FRAMES 0 |
#define | DUMP_INBOUND_ETHERNET_FRAMES 0 |
#define | DEBUG_ETH_TIMES 0 |
#define | DUMP_OUTBOUND_ETHERNET_FRAMES_BYTES 64 |
#define | DUMP_INBOUND_ETHERNET_FRAMES_BYTES 64 |
Funkcje | |
uint16 | Net::htons (uint16 hostshort) |
uint16 | Net::ntohs (uint16 netshort) |
uint32 | Net::htonl (uint32 hostlong) |
uint32 | Net::ntohl (uint32 netlong) |
void | Net::init () |
proste operacje na sieci porozumiewa sie z pci32 by znalezc karte sieciowa 3c556 | |
int | Net::init_3c556 () |
struct netbuf * | Net::netbuf_alloc (uint32 datasize) |
void | Net::netbuf_free (struct netbuf *nb) |
struct packet_t * | Net::pbuf_alloc (uint32 capacity) |
void | Net::pbuf_free (struct packet_t *&p) |
struct netbuf * | Net::onFramesReceived (struct netif *nif) |
uzywana przez irq handler karty sieciowej; przenosi bufor na ramke do listy otrzymanych ramek i tworzy nomwy pusty | |
void | Net::onFramesTransmitted (struct netif *nif) |
int | Net::eth_poll (struct netbuf **nb) |
void | Net::eth_transmit (struct netif *nif, struct ethernet_address eth_addr, unsigned int t, struct netbuf *nb) |
exported function that transmits a packet. | |
uint16 | Net::count_checksum16 (uint16 *data, uint32 len) |
void | print (struct Net::ip_address ip) |
void | print (struct Net::ethernet_address eth) |
void | print (struct Net::netbuf nb) |
void | print (struct Net::netmask_t nm) |
Definicja w pliku net.hpp.