Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

net.c File Reference

Detailed Description

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.


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.

Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by  doxygen 1.4.2