|
My Kernel v0.1.0
|
#include <kernel/types.h>#include <dailyrun/net.h>#include <utils/bits.h>

Go to the source code of this file.
Macros | |
| #define | hton(_x) |
| Convert an interger to its network representation (big endian) | |
| #define | ntoh(_x) |
| Convert an interger from its network representation to that of the host. | |
Functions | |
| u16 | net_internet_checksum (const u16 *addr, size_t size) |
Compute Internet Checksum for size bytes beginning at location addr. More... | |