My Kernel v0.1.0
net.h File Reference
#include <kernel/types.h>
#include <dailyrun/net.h>
#include <utils/bits.h>
Include dependency graph for net.h:
This graph shows which files directly or indirectly include this file:

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...