Go to the documentation of this file.
31 #ifndef _LLMNR_CLIENT_H
32 #define _LLMNR_CLIENT_H
43 #ifndef LLMNR_CLIENT_SUPPORT
44 #define LLMNR_CLIENT_SUPPORT DISABLED
45 #elif (LLMNR_CLIENT_SUPPORT != ENABLED && LLMNR_CLIENT_SUPPORT != DISABLED)
46 #error LLMNR_CLIENT_SUPPORT parameter is not valid
50 #ifndef LLMNR_CLIENT_MAX_RETRIES
51 #define LLMNR_CLIENT_MAX_RETRIES 3
52 #elif (LLMNR_CLIENT_MAX_RETRIES < 1)
53 #error LLMNR_CLIENT_MAX_RETRIES parameter is not valid
57 #ifndef LLMNR_CLIENT_INIT_TIMEOUT
58 #define LLMNR_CLIENT_INIT_TIMEOUT 1000
59 #elif (LLMNR_CLIENT_INIT_TIMEOUT < 1000)
60 #error LLMNR_CLIENT_INIT_TIMEOUT parameter is not valid
64 #ifndef LLMNR_CLIENT_MAX_TIMEOUT
65 #define LLMNR_CLIENT_MAX_TIMEOUT 1000
66 #elif (LLMNR_CLIENT_MAX_TIMEOUT < 1000)
67 #error LLMNR_CLIENT_MAX_TIMEOUT parameter is not valid
71 #ifndef LLMNR_MAX_LIFETIME
72 #define LLMNR_MAX_LIFETIME 60000
73 #elif (LLMNR_MAX_LIFETIME < 1000)
74 #error LLMNR_MAX_LIFETIME parameter is not valid
void llmnrProcessResponse(NetInterface *interface, const IpPseudoHeader *pseudoHeader, const UdpHeader *udpHeader, const NetBuffer *buffer, size_t offset, const NetRxAncillary *ancillary, void *param)
Process LLMNR response message.
Structure describing a buffer that spans multiple chunks.
error_t llmnrSendQuery(DnsCacheEntry *entry)
Send a LLMNR query message.
UDP (User Datagram Protocol)
error_t llmnrResolve(NetInterface *interface, const char_t *name, HostType type, IpAddr *ipAddr)
Resolve a host name using LLMNR.
Definitions common to LLMNR client and responder.