llmnr_common.h File Reference

Definitions common to LLMNR client and responder. More...

#include "core/net.h"
#include "dns/dns_common.h"

Go to the source code of this file.


#define LLMNR_PORT   5355
#define LLMNR_IPV4_MULTICAST_ADDR   IPV4_ADDR(224, 0, 0, 252)


typedef __packed_struct
 LLMNR message header. More...
uint8_t t
uint8_t tc
uint8_t c
uint8_t opcode
uint8_t qr
uint8_t rcode
uint8_t z
uint16_t qdcount
uint16_t ancount
uint16_t nscount
uint16_t arcount
uint8_t questions []

Detailed Description

Definitions common to LLMNR client and responder.


SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Oryx Embedded SARL (www.oryx-embedded.com)

Definition in file llmnr_common.h.

Macro Definition Documentation



Definition at line 55 of file llmnr_common.h.



Definition at line 47 of file llmnr_common.h.



Definition at line 57 of file llmnr_common.h.


#define LLMNR_IPV4_MULTICAST_ADDR   IPV4_ADDR(224, 0, 0, 252)

Definition at line 60 of file llmnr_common.h.



Definition at line 40 of file llmnr_common.h.


#define LLMNR_PORT   5355

Definition at line 53 of file llmnr_common.h.

Variable Documentation

◆ __packed_struct

typedef __packed_struct
Initial value:
uint16_t id

LLMNR message header.

Definition at line 80 of file llmnr_common.h.

◆ ancount

uint16_t ancount

Definition at line 101 of file llmnr_common.h.

◆ arcount

uint16_t arcount

Definition at line 103 of file llmnr_common.h.

◆ c

uint8_t c

Definition at line 94 of file llmnr_common.h.



Definition at line 45 of file llmnr_common.c.

◆ LlmnrHeader


Definition at line 105 of file llmnr_common.h.

◆ nscount

uint16_t nscount

Definition at line 102 of file llmnr_common.h.

◆ opcode

uint8_t opcode

Definition at line 95 of file llmnr_common.h.

◆ qdcount

uint16_t qdcount

Definition at line 100 of file llmnr_common.h.

◆ qr

uint8_t qr

Definition at line 96 of file llmnr_common.h.

◆ questions

uint8_t questions[]

Definition at line 104 of file llmnr_common.h.

◆ rcode

uint8_t rcode

Definition at line 97 of file llmnr_common.h.

◆ t

uint8_t t

Definition at line 92 of file llmnr_common.h.

◆ tc

uint8_t tc

Definition at line 93 of file llmnr_common.h.

◆ z

uint8_t z

Definition at line 98 of file llmnr_common.h.