result 1 result 2
Go back to reference home
Go back to DNS module
functions
parseHeaderParse a DNS-Header from a buffer.
parseRequestParse a DNS-Request from a buffer.
parseResponseParse a DNS-Response from a buffer.
types
napc__DNSOPCodeRepresentation of a DNS operation code.
napc__DNSHeaderRepresentation of a DNS header.
napc__DNSQTypeRepresentation of DNS query type.
napc__DNSQueryRepresentation of a DNS query.
napc__DNSAnswerRepresentation of a DNS answer.
napc__DNSRequestRepresentation of a DNS request.
napc__DNSResponseRepresentation of a DNS response.

napc__DNSAnswer

Representation of a DNS answer.

This type does not have a description.

Type Definition


typedef struct {
    napc_u32 ttl;
    napc_u16 rd_length;
    napc_u8  rd_data[16];
} napc__DNSAnswer;

Members


ttl
Time to live (in seconds).
rd_length
Response data size in bytes.
rd_data
Response data.

Changelog


Version
Date
Change
1.0.0
17.02.2022
initial version
Version: 1.4.1
Documentation generated at 24.03.2022 03:43:18 (UTC)
Go back to reference home
Go back to DNS module
functions
parseHeaderParse a DNS-Header from a buffer.
parseRequestParse a DNS-Request from a buffer.
parseResponseParse a DNS-Response from a buffer.
types
napc__DNSOPCodeRepresentation of a DNS operation code.
napc__DNSHeaderRepresentation of a DNS header.
napc__DNSQTypeRepresentation of DNS query type.
napc__DNSQueryRepresentation of a DNS query.
napc__DNSAnswerRepresentation of a DNS answer.
napc__DNSRequestRepresentation of a DNS request.
napc__DNSResponseRepresentation of a DNS response.
typedef uint32_t napc_u32;
typedef uint16_t napc_u16;
typedef uint8_t napc_u8;