A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
udp/dhcp.h@29:39277bf2003d, 2017-08-07 (annotated)
- Committer:
- andrewboyson
- Date:
- Mon Aug 07 12:13:52 2017 +0000
- Revision:
- 29:39277bf2003d
- Parent:
- 10:f0854784e960
- Child:
- 37:793b39683406
Split Neighbour Discovery Protocol (ndp) module into Router Advertisement (ra) and Neighour Solicitation (ns) modules.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 29:39277bf2003d | 1 | extern uint32_t DhcpElapsedTime; |
andrewboyson | 29:39277bf2003d | 2 | |
andrewboyson | 10:f0854784e960 | 3 | extern uint32_t DhcpLeaseTime; |
andrewboyson | 10:f0854784e960 | 4 | extern uint32_t DhcpServer; |
andrewboyson | 10:f0854784e960 | 5 | extern uint32_t DhcpRouter; |
andrewboyson | 10:f0854784e960 | 6 | extern uint32_t DhcpSubnetMask; |
andrewboyson | 10:f0854784e960 | 7 | extern uint32_t DhcpNtp; |
andrewboyson | 10:f0854784e960 | 8 | extern uint32_t DhcpRenewalT1; |
andrewboyson | 10:f0854784e960 | 9 | extern uint32_t DhcpRenewalT2; |
andrewboyson | 10:f0854784e960 | 10 | extern uint32_t DhcpBroadcastIp; |
andrewboyson | 10:f0854784e960 | 11 | extern uint32_t DhcpLocalIp; |
andrewboyson | 10:f0854784e960 | 12 | extern uint32_t DhcpDnsServer; |
andrewboyson | 10:f0854784e960 | 13 | extern char DhcpDomainName[]; |
andrewboyson | 10:f0854784e960 | 14 | extern char DhcpHostName[]; |
andrewboyson | 10:f0854784e960 | 15 | |
andrewboyson | 10:f0854784e960 | 16 | extern int DhcpHandleResponse(int* pSize, void* pPacket); |
andrewboyson | 10:f0854784e960 | 17 | extern int DhcpPollForRequestToSend(void* pPacket, int* pSize); |
andrewboyson | 10:f0854784e960 | 18 | extern void DhcpTick(); |
andrewboyson | 10:f0854784e960 | 19 | |
andrewboyson | 10:f0854784e960 | 20 | #define DHCP_SERVER_PORT 67 |
andrewboyson | 10:f0854784e960 | 21 | #define DHCP_CLIENT_PORT 68 |