#include "net/ip.h"
Defines | |
#define | IP_TIME_TO_LIVE 128 |
Functions | |
void | ipSetAddress (uint32_t myIp, uint32_t netmask, uint32_t gatewayIp) |
uint32_t | ipGetMyAddress (void) |
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. |
|
Get our local IP address. Returns current IP address value. |
|
Set our IP address and rounting information. The myIp value will be used in the source field of IP packets. |