#include <nul/types.h>
#include <service/endian.h>
#include <service/hexdump.h>
Classes | |
struct | EthernetAddr |
class | IPChecksum |
class | IPChecksumState |
Defines | |
#define | MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x" |
#define | MAC_SPLIT(x) (x)->byte[0], (x)->byte[1], (x)->byte[2],(x)->byte[3], (x)->byte[4], (x)->byte[5] |
Enumerations | |
enum | { ETHERNET_ADDR_MASK = 0xFFFFFFFFFFFFULL } |
-*- Mode: C++ -*- IPv4/TCP/UDP checksum calculation More... |
#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x" |
#define MAC_SPLIT | ( | x | ) | (x)->byte[0], (x)->byte[1], (x)->byte[2],(x)->byte[3], (x)->byte[4], (x)->byte[5] |
anonymous enum |
-*- Mode: C++ -*- IPv4/TCP/UDP checksum calculation
Copyright (C) 2010, Julian Stecklina <jsteckli@os.inf.tu-dresden.de> Economic rights: Technische Universitaet Dresden (Germany)
This file is part of Vancouver.
Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.