31#ifndef _NBNS_RESPONDER_H
32#define _NBNS_RESPONDER_H
41#ifndef NBNS_RESPONDER_SUPPORT
42 #define NBNS_RESPONDER_SUPPORT ENABLED
43#elif (NBNS_RESPONDER_SUPPORT != ENABLED && NBNS_RESPONDER_SUPPORT != DISABLED)
44 #error NBNS_RESPONDER_SUPPORT parameter is not valid
53void nbnsProcessQuery(NetInterface *interface,
const Ipv4PseudoHeader *pseudoHeader,
54 const UdpHeader *udpHeader,
const NbnsHeader *message,
size_t length);
56error_t nbnsSendResponse(NetInterface *interface,
57 const IpAddr *destIpAddr, uint16_t destPort, uint16_t
id);
error_t
Error codes.
Definition error.h:43
Definitions common to NBNS client and NBNS responder.
IP network address.
Definition ip.h:72
UDP (User Datagram Protocol)