ReactOS 0.4.16-dev-297-gc569aee
|
#include "lwip/opt.h"
#include <string.h>
#include <stdlib.h>
#include "lwip/def.h"
#include "lwip/ip_addr.h"
#include "lwip/ip6_addr.h"
#include "lwip/netif.h"
#include "lwip/priv/tcp_priv.h"
#include "lwip/udp.h"
#include "lwip/priv/raw_priv.h"
#include "lwip/snmp.h"
#include "lwip/igmp.h"
#include "lwip/etharp.h"
#include "lwip/stats.h"
#include "lwip/sys.h"
#include "lwip/ip.h"
#include "netif/ethernet.h"
Go to the source code of this file.
Macros | |
#define | NETIF_STATUS_CALLBACK(n) |
#define | NETIF_LINK_CALLBACK(n) |
#define | netif_index_to_num(index) ((index) - 1) |
#define | NETIF_REPORT_TYPE_IPV4 0x01 |
#define | NETIF_REPORT_TYPE_IPV6 0x02 |
Functions | |
static void | netif_issue_reports (struct netif *netif, u8_t report_type) |
void | netif_init (void) |
err_t | netif_input (struct pbuf *p, struct netif *inp) |
struct netif * | netif_add_noaddr (struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) |
struct netif * | netif_add (struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) |
static void | netif_do_ip_addr_changed (const ip_addr_t *old_addr, const ip_addr_t *new_addr) |
void | netif_remove (struct netif *netif) |
void | netif_set_default (struct netif *netif) |
void | netif_set_up (struct netif *netif) |
void | netif_set_down (struct netif *netif) |
void | netif_set_link_up (struct netif *netif) |
void | netif_set_link_down (struct netif *netif) |
u8_t | netif_name_to_index (const char *name) |
char * | netif_index_to_name (u8_t idx, char *name) |
struct netif * | netif_get_by_index (u8_t idx) |
struct netif * | netif_find (const char *name) |
Variables | |
struct netif * | netif_list |
struct netif * | netif_default |
static u8_t | netif_num |
lwIP network interface abstraction
Definition in file netif.c.
|
static |
Definition at line 459 of file netif.c.
Referenced by netif_remove().
Definition at line 188 of file netif.c.
Referenced by lwip_init(), and main().
Send ARP/IGMP/MLD/RS events, e.g. on link-up/netif-up or addr-change
Definition at line 902 of file netif.c.
Referenced by netif_set_link_up(), and netif_set_up().
The default network interface.
Definition at line 115 of file netif.c.
Referenced by default_netif_add(), default_netif_remove(), mqtt_setup(), mqtt_teardown(), netif_add(), netif_remove(), netif_set_default(), START_TEST(), tcp_oos_setup(), tcp_oos_teardown(), tcp_setup(), tcp_state_setup(), tcp_state_teardown(), tcp_teardown(), test_netif_add(), and test_netif_remove().
The list of network interfaces.
Definition at line 113 of file netif.c.
Referenced by create_ip4_input_fragment(), default_netif_add(), default_netif_remove(), ip4_teardown(), mqtt_setup(), mqtt_teardown(), netif_add(), netif_remove(), tcp_oos_setup(), tcp_oos_teardown(), tcp_setup(), tcp_state_setup(), tcp_state_teardown(), tcp_teardown(), test_mqtt_init_netif(), and test_tcp_init_netif().
|
static |
Definition at line 118 of file netif.c.
Referenced by netif_add().