ReactOS 0.4.16-dev-257-g6aa11ac
|
#include "test_netif.h"
#include "lwip/netif.h"
#include "lwip/stats.h"
#include "lwip/etharp.h"
#include "netif/ethernet.h"
Go to the source code of this file.
Macros | |
#define | MAX_NSC_REASON_IDX 10 |
Functions | |
static void | netif_setup (void) |
static void | netif_teardown (void) |
static err_t | testif_tx_func (struct netif *netif, struct pbuf *p) |
static err_t | testif_init (struct netif *netif) |
static void | test_netif_ext_callback_dummy (struct netif *netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t *args) |
static void | test_netif_ext_callback (struct netif *netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t *args) |
START_TEST (test_netif_extcallbacks) | |
END_TEST | START_TEST (test_netif_flag_set) |
END_TEST | START_TEST (test_netif_find) |
END_TEST Suite * | netif_suite (void) |
Variables | |
static struct netif | net_test |
static netif_nsc_reason_t | expected_reasons |
static int | callback_ctr |
static int | dummy_active |
#define MAX_NSC_REASON_IDX 10 |
Definition at line 60 of file test_netif.c.
Definition at line 18 of file test_netif.c.
Referenced by netif_suite().
END_TEST Suite * netif_suite | ( | void | ) |
Create the suite including all tests for this module
Definition at line 277 of file test_netif.c.
Referenced by main().
Definition at line 24 of file test_netif.c.
Referenced by netif_suite().
START_TEST | ( | test_netif_extcallbacks | ) |
Definition at line 93 of file test_netif.c.
END_TEST START_TEST | ( | test_netif_find | ) |
Definition at line 247 of file test_netif.c.
END_TEST START_TEST | ( | test_netif_flag_set | ) |
Definition at line 222 of file test_netif.c.
|
static |
Definition at line 77 of file test_netif.c.
Referenced by START_TEST().
|
static |
Definition at line 67 of file test_netif.c.
Referenced by START_TEST().
Definition at line 40 of file test_netif.c.
Referenced by START_TEST().
|
static |
Definition at line 62 of file test_netif.c.
Referenced by START_TEST(), and test_netif_ext_callback().
|
static |
Definition at line 64 of file test_netif.c.
Referenced by START_TEST(), and test_netif_ext_callback_dummy().
|
static |
Definition at line 61 of file test_netif.c.
Referenced by START_TEST(), and test_netif_ext_callback().
Definition at line 12 of file test_netif.c.
Referenced by lwip_fuzztest(), START_TEST(), and test_netif_ext_callback().