Tests for IP address parsing and formatting.
More...
#include "acutest.h"
#include "acutest_helpers.h"
#include <freeradius-devel/util/inet.h>
Go to the source code of this file.
Tests for IP address parsing and formatting.
- Copyright
- 2026 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file inet_tests.c.
◆ test_inet_ntop()
| static void test_inet_ntop |
( |
void |
| ) |
|
|
static |
◆ test_inet_ntop_prefix()
| static void test_inet_ntop_prefix |
( |
void |
| ) |
|
|
static |
◆ test_inet_pton4_basic()
| static void test_inet_pton4_basic |
( |
void |
| ) |
|
|
static |
◆ test_inet_pton4_invalid()
| static void test_inet_pton4_invalid |
( |
void |
| ) |
|
|
static |
◆ test_inet_pton4_prefix()
| static void test_inet_pton4_prefix |
( |
void |
| ) |
|
|
static |
◆ test_inet_pton6_basic()
| static void test_inet_pton6_basic |
( |
void |
| ) |
|
|
static |
◆ test_inet_pton6_prefix()
| static void test_inet_pton6_prefix |
( |
void |
| ) |
|
|
static |
◆ test_inet_pton_auto()
| static void test_inet_pton_auto |
( |
void |
| ) |
|
|
static |
◆ test_inet_pton_port()
| static void test_inet_pton_port |
( |
void |
| ) |
|
|
static |
◆ test_ipaddr_cmp()
| static void test_ipaddr_cmp |
( |
void |
| ) |
|
|
static |
◆ test_ipaddr_is_inaddr_any()
| static void test_ipaddr_is_inaddr_any |
( |
void |
| ) |
|
|
static |
◆ test_ipaddr_is_prefix()
| static void test_ipaddr_is_prefix |
( |
void |
| ) |
|
|
static |
◆ test_ipaddr_mask()
| static void test_ipaddr_mask |
( |
void |
| ) |
|
|
static |
◆ test_ipaddr_sockaddr()
| static void test_ipaddr_sockaddr |
( |
void |
| ) |
|
|
static |
◆ TEST_LIST
Initial value:= {
}
static void test_ipaddr_mask(void)
static void test_inet_ntop(void)
static void test_inet_pton4_prefix(void)
static void test_ipaddr_cmp(void)
static void test_inet_pton4_basic(void)
static void test_inet_pton_auto(void)
static void test_inet_pton_port(void)
static void test_inet_pton6_prefix(void)
static void test_inet_pton6_basic(void)
static void test_inet_ntop_prefix(void)
static void test_ipaddr_is_prefix(void)
static void test_ipaddr_is_inaddr_any(void)
static void test_inet_pton4_invalid(void)
static void test_ipaddr_sockaddr(void)
Definition at line 354 of file inet_tests.c.