![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
#include "lwip/opt.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/snmp.h"
#include "lwip/igmp.h"
#include "netif/etharp.h"
#include "lwip/stats.h"
#include "lwip/sys.h"
Go to the source code of this file.
Macros | |
#define | NETIF_STATUS_CALLBACK(n) |
#define | NETIF_LINK_CALLBACK(n) |
#define | NETIF_REPORT_TYPE_IPV4 0x01 |
#define | NETIF_REPORT_TYPE_IPV6 0x02 |
Functions | |
void | netif_init (void) |
struct netif * | netif_add (struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) |
void | netif_remove (struct netif *netif) |
struct netif * | netif_find (const char *name) |
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) |
Variables | |
struct netif * | netif_list |
struct netif * | netif_default |
lwIP network interface abstraction
Definition in file netif.c.
struct netif* netif_add | ( | struct netif * | netif, |
void * | state, | ||
netif_init_fn | init, | ||
netif_input_fn | input | ||
) |
Add a network interface to the list of lwIP netifs.
netif | a pre-allocated netif structure |
ipaddr | IP address for the new netif |
netmask | network mask for the new netif |
gw | default gateway IP address for the new netif |
state | opaque data passed to the new netif |
init | callback function that initializes the interface |
input | callback function that is called to pass ingress packets up in the protocol layer stack. |
struct netif* netif_find | ( | const char * | name | ) |
void netif_remove | ( | struct netif * | netif | ) |
void netif_set_default | ( | struct netif * | netif | ) |
void netif_set_down | ( | struct netif * | netif | ) |
void netif_set_link_down | ( | struct netif * | netif | ) |
void netif_set_link_up | ( | struct netif * | netif | ) |
void netif_set_up | ( | struct netif * | netif | ) |