#include "src/collection/list.hpp"
#include "src/common/shared.hpp"
#include "src/common/kmalloc.hpp"
#include "src/memory/memset.hpp"
#include "src/memory/align.hpp"
#include "src/memory/heap.hpp"
#include "src/memory/pager.hpp"
#include "src/arch/x86/pcibios.hpp"
#include "src/arch/x86/interr.hpp"
#include "src/arch/x86/gdt.hpp"
#include "src/tty/teletype.hpp"
#include "src/net/3c556.hpp"
#include "src/net/net.hpp"
#include "src/net/arp.hpp"
#include "src/net/ip.hpp"
#include "src/thread/process.hpp"
#include "src/thread/scheduler.hpp"
#include "src/thread/timer.hpp"
#include "src/ipc/lock.hpp"
Idź do kodu źródłowego tego pliku.
Przestrzenie nazw | |
| namespace | Net | 
Definicje | |
| #define | eth_dbg_write(...) do {} while(0) | 
| #define | PRINT_NETBUF_PACKET_BYTES 80 | 
Funkcje | |
| int | e3c556_irq (struct Arch::x86::Interr::except2_t *code) | 
| void | print (struct Net::ip_address ip) | 
| void | print (struct Net::ethernet_address eth) | 
| void | print (struct Net::netbuf nb) | 
| uint16 | Net::htons (uint16 hostshort) | 
| uint16 | Net::ntohs (uint16 netshort) | 
| uint32 | Net::htonl (uint32 hostlong) | 
| uint32 | Net::ntohl (uint32 netlong) | 
| void | Net::EthernetFrameReceptionThread () | 
| ten watek zbiera ramki ethernetowe od karty sieciowej e3c556   | |
| void | Net::EthernetFrameDemultiplexingThread () | 
| 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) | 
| void | Net::init () | 
| proste operacje na sieci porozumiewa sie z pci32 by znalezc karte sieciowa 3c556   | |
| int | Net::init_3c556 () | 
| 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   | |
| int | Net::eth_poll (struct netbuf **nb) | 
| void | Net::onFramesTransmitted (struct netif *nif) | 
| 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) | 
Zmienne | |
| struct stack_t | Net::frame_stack | 
| struct Collection::List < struct netif >  | Net::netif_list | 
| class IPC::Lock::lock_t | Net::frame_stack_lock | 
| struct Memory::Heap::heapbox | Net::pbuf_heapbox | 
Definicja w pliku net.cpp.
| #define eth_dbg_write | ( | ... | ) | do {} while(0) | 
| int e3c556_irq | ( | struct Arch::x86::Interr::except2_t * | code | ) | 
Definicja w linii 495 pliku 3c556.cpp.
Odwołuje się do Thread::Timer::add(), cmdTxEnable, e3c556_nif, Thread::i, IOPorts::inb(), INF_3C556, IOPorts::inw(), INF_3C556_Type::IOAddr, kprintf(), Net::onFramesReceived(), Net::onFramesTransmitted(), IOPorts::outb() i regTxStatus_b.
Odwołania w Net::init_3c556().
 1.5.6