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

ip.h File Reference

Detailed Description

Definition in file ip.h.

#include "net.h"
#include "arp.h"
#include <inttypes.h>

Go to the source code of this file.


#define IP_TIME_TO_LIVE   128
 default Time-To-Live (TTL) value to use in IP headers


void ipSetConfig (uint32_t myIp, uint32_t netmask, uint32_t gatewayIp)
ipConfigipGetConfig (void)
void ipPrintConfig (struct ipConfig *config)
void ipSend (uint32_t dstIp, uint8_t protocol, uint16_t len, uint8_t *data)
 Send an IP packet.
void udpSend (uint32_t dstIp, uint16_t dstPort, uint16_t len, uint8_t *data)
 Send a UDP/IP packet.

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