Definitions common to LLMNR client and responder. More...
Go to the source code of this file.
Macros | |
#define | LLMNR_MESSAGE_MAX_SIZE 512 |
#define | LLMNR_DEFAULT_RESOURCE_RECORD_TTL 30 |
#define | LLMNR_PORT 5355 |
#define | LLMNR_DEFAULT_QUERY_IP_TTL 1 |
#define | LLMNR_DEFAULT_RESPONSE_IP_TTL 255 |
#define | LLMNR_IPV4_MULTICAST_ADDR IPV4_ADDR(224, 0, 0, 252) |
Variables | |
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 [] |
LlmnrHeader | |
const Ipv6Addr | LLMNR_IPV6_MULTICAST_ADDR |
Detailed Description
Definitions common to LLMNR client and responder.
License
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.
- Version
- 2.4.4
Definition in file llmnr_common.h.
Macro Definition Documentation
◆ LLMNR_DEFAULT_QUERY_IP_TTL
#define LLMNR_DEFAULT_QUERY_IP_TTL 1 |
Definition at line 55 of file llmnr_common.h.
◆ LLMNR_DEFAULT_RESOURCE_RECORD_TTL
#define LLMNR_DEFAULT_RESOURCE_RECORD_TTL 30 |
Definition at line 47 of file llmnr_common.h.
◆ LLMNR_DEFAULT_RESPONSE_IP_TTL
#define LLMNR_DEFAULT_RESPONSE_IP_TTL 255 |
Definition at line 57 of file llmnr_common.h.
◆ LLMNR_IPV4_MULTICAST_ADDR
#define LLMNR_IPV4_MULTICAST_ADDR IPV4_ADDR(224, 0, 0, 252) |
Definition at line 60 of file llmnr_common.h.
◆ LLMNR_MESSAGE_MAX_SIZE
#define LLMNR_MESSAGE_MAX_SIZE 512 |
Definition at line 40 of file llmnr_common.h.
◆ LLMNR_PORT
#define LLMNR_PORT 5355 |
Definition at line 53 of file llmnr_common.h.
Variable Documentation
◆ __packed_struct
typedef __packed_struct |
◆ 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.
◆ LLMNR_IPV6_MULTICAST_ADDR
|
extern |
Definition at line 45 of file llmnr_common.c.
◆ LlmnrHeader
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.