DNS defines

Generic DNS mock values. More...

Detailed Description

Generic DNS mock values.

Files

file  dns_mock.h
 Generic DNS mock values.
 

Macros

#define SOCK_DNS_MOCK_EXAMPLE_COM_HOSTNAME   "example.com"
 Hostname used to query.
 

Variables

static const ipv4_addr_t sock_dns_mock_example_com_addr_ipv4 = { { 0x5d, 0xb8, 0xd8, 0x22 } }
 IPv4 address for SOCK_DNS_MOCK_EXAMPLE_COM_HOSTNAME. More...
 
static const ipv6_addr_t sock_dns_mock_example_com_addr_ipv6
 IPv6 address for SOCK_DNS_MOCK_EXAMPLE_COM_HOSTNAME. More...
 

Variable Documentation

◆ sock_dns_mock_example_com_addr_ipv4

const ipv4_addr_t sock_dns_mock_example_com_addr_ipv4 = { { 0x5d, 0xb8, 0xd8, 0x22 } }
static

IPv4 address for SOCK_DNS_MOCK_EXAMPLE_COM_HOSTNAME.

Address represents "93.184.216.34".

Definition at line 39 of file dns_mock.h.

◆ sock_dns_mock_example_com_addr_ipv6

const ipv6_addr_t sock_dns_mock_example_com_addr_ipv6
static
Initial value:
= { {
0x26, 0x06, 0x28, 0x00, 0x02, 0x20, 0x00, 0x01,
0x02, 0x48, 0x18, 0x93, 0x25, 0xc8, 0x19, 0x46
}
}

IPv6 address for SOCK_DNS_MOCK_EXAMPLE_COM_HOSTNAME.

Address represents "2606:2800:220:1:248:1893:25c8:1946".

Definition at line 45 of file dns_mock.h.