Definition in file net.c.
#include <inttypes.h>
#include "global.h"
#include "rprintf.h"
#include "net.h"
Go to the source code of this file.
Functions | |
uint16_t | htons (uint16_t val) |
Host-to-Network SHORT (16-bit) byte-order swap (function). | |
uint32_t | htonl (uint32_t val) |
Host-to-Network LONG (32-bit) byte-order swap (function). | |
uint16_t | netChecksum (void *data, uint16_t len) |
Calculate IP-style checksum from data. | |
void | netPrintEthAddr (struct netEthAddr *ethaddr) |
Print Ethernet address in XX:XX:XX:XX:XX:XX format. | |
void | netPrintIPAddr (uint32_t ipaddr) |
Print IP address in dot notation. |