#include "src/common/shared.hpp"
#include "src/memory/memset.hpp"
#include "src/memory/align.hpp"
#include "src/memory/heap.hpp"
#include "src/net/net.hpp"
#include "src/collection/tuple.hpp"
#include "src/collection/option.hpp"
#include "src/net/arp.hpp"
#include "src/net/ip.hpp"
#include "src/net/icmp.hpp"
#include "src/net/3c556.hpp"
#include "src/arch/x86/rtc.hpp"
#include "src/thread/timer.hpp"
#include "src/collection/avlmap.hpp"
#include "src/collection/list.hpp"
Idź do kodu źródłowego tego pliku.
Przestrzenie nazw | |
namespace | Net |
namespace | Net::IP |
Definicje | |
#define | DUMP_IP_PACKET_INFO 1 |
#define | DEBUG_IP_CHECKSUM_ALERT 0 |
#define | DEBUG_IP_FRAGMENTED_ALERT 0 |
#define | DEBUG_IP_PROT_ALERT 0 |
Funkcje | |
struct ip_address | Net::IP::my_ip_address () |
struct netmask_t | Net::IP::my_netmask () |
void | Net::IP::onIpReception (struct netbuf *nb) |
int | Net::IP::ip_outbound_cmp (struct Tuple2< struct ip_address, struct netbuf * > a, struct Tuple2< struct ip_address, struct netbuf * > b) |
int | Net::IP::ip_outbound_cmp_by_first (struct Tuple2< struct ip_address, struct netbuf * > a, struct Tuple2< struct ip_address, struct netbuf * > b) |
struct IPC::Lock::lock_t | Net::IP::ip_outbound_lock (const_cast< char * >("ip_outbound")) |
void | Net::IP::init () |
proste operacje na sieci porozumiewa sie z pci32 by znalezc karte sieciowa 3c556 | |
void | Net::IP::ip_onNewArpEntry (struct Net::Arp::arp_entry arp) |
uint16 | Net::IP::count_checksum_iph (struct ip_header *iph) |
void | Net::IP::ip_transmit (struct ip_address ip_addr, uint8 tos, uint8 prot, struct packet_t *pb) |
void | Net::IP::ip_transmit (struct ip_address ip_addr, uint8 tos, uint8 prot, struct pbuf *pb) |
void | print (struct Net::IP::ip_header iph) |
void | print (struct Net::IP::pbuf pb) |
void | print (struct Net::IP::route_t &route) |
Zmienne | |
struct AvlTree< struct Tuple2 < struct ip_address, struct netbuf * >, ip_outbound_cmp > * | Net::IP::ip_outbound |
void print | ( | struct Net::IP::route_t & | route | ) |
Definicja w linii 205 pliku ip.cpp.
Odwołuje się do Net::IP::route_t::flags, Net::IP::route_t::gateway, Net::IP::route_t::netmask, Net::IP::route_t::nif, null, prin i Net::IP::route_t::target.
void print | ( | struct Net::IP::pbuf | pb | ) |