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@10:f0854784e960, 2017-04-16 (annotated)
- Committer:
- andrewboyson
- Date:
- Sun Apr 16 14:21:55 2017 +0000
- Revision:
- 10:f0854784e960
- Child:
- 29:39277bf2003d
MDNS and LLMNR now working.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 10:f0854784e960 | 1 | extern uint32_t DhcpLeaseTime; |
andrewboyson | 10:f0854784e960 | 2 | extern uint32_t DhcpServer; |
andrewboyson | 10:f0854784e960 | 3 | extern uint32_t DhcpRouter; |
andrewboyson | 10:f0854784e960 | 4 | extern uint32_t DhcpSubnetMask; |
andrewboyson | 10:f0854784e960 | 5 | extern uint32_t DhcpNtp; |
andrewboyson | 10:f0854784e960 | 6 | extern uint32_t DhcpRenewalT1; |
andrewboyson | 10:f0854784e960 | 7 | extern uint32_t DhcpRenewalT2; |
andrewboyson | 10:f0854784e960 | 8 | extern uint32_t DhcpBroadcastIp; |
andrewboyson | 10:f0854784e960 | 9 | extern uint32_t DhcpLocalIp; |
andrewboyson | 10:f0854784e960 | 10 | extern uint32_t DhcpDnsServer; |
andrewboyson | 10:f0854784e960 | 11 | extern char DhcpDomainName[]; |
andrewboyson | 10:f0854784e960 | 12 | extern char DhcpHostName[]; |
andrewboyson | 10:f0854784e960 | 13 | |
andrewboyson | 10:f0854784e960 | 14 | extern int DhcpHandleResponse(int* pSize, void* pPacket); |
andrewboyson | 10:f0854784e960 | 15 | extern int DhcpPollForRequestToSend(void* pPacket, int* pSize); |
andrewboyson | 10:f0854784e960 | 16 | extern void DhcpTick(); |
andrewboyson | 10:f0854784e960 | 17 | |
andrewboyson | 10:f0854784e960 | 18 | #define DHCP_SERVER_PORT 67 |
andrewboyson | 10:f0854784e960 | 19 | #define DHCP_CLIENT_PORT 68 |