RetroArch
Classes | Macros | Functions | Variables
uip_netif.h File Reference
#include "uip.h"
Include dependency graph for uip_netif.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uip_netif
 

Macros

#define UIP_NETIF_MAX_HWADDR_LEN   6U
 
#define UIP_NETIF_FLAG_UP   0x1U
 
#define UIP_NETIF_FLAG_BROADCAST   0x2U
 
#define UIP_NETIF_FLAG_POINTTOPOINT   0x4U
 
#define UIP_NETIF_FLAG_DHCP   0x08U
 
#define UIP_NETIF_FLAG_LINK_UP   0x10U
 

Functions

void uip_netif_init ()
 
void uip_netif_setup (struct uip_netif *netif)
 
void uip_netif_setaddr (struct uip_netif *netif, struct uip_ip_addr *ipaddr, struct uip_ip_addr *netmask, struct uip_ip_addr *gw)
 
void uip_netif_setipaddr (struct uip_netif *netif, struct uip_ip_addr *ipaddr)
 
void uip_netif_setnetmask (struct uip_netif *netif, struct uip_ip_addr *netmask)
 
void uip_netif_setgw (struct uip_netif *netif, struct uip_ip_addr *gw)
 
void uip_netif_setdefault (struct uip_netif *netif)
 
u8_t uip_netif_isup (struct uip_netif *netif)
 
struct uip_netifuip_netif_add (struct uip_netif *netif, struct uip_ip_addr *ipaddr, struct uip_ip_addr *netmask, struct uip_ip_addr *gw, void *state, s8_t(*init)(struct uip_netif *netif), s8_t(*input)(struct uip_pbuf *p, struct uip_netif *netif))
 

Variables

struct uip_netifuip_netif_list
 
struct uip_netifuip_netif_default
 

Macro Definition Documentation

◆ UIP_NETIF_FLAG_BROADCAST

#define UIP_NETIF_FLAG_BROADCAST   0x2U

if set, the netif has broadcast capability

◆ UIP_NETIF_FLAG_DHCP

#define UIP_NETIF_FLAG_DHCP   0x08U

if set, the interface is configured using DHCP

◆ UIP_NETIF_FLAG_LINK_UP

#define UIP_NETIF_FLAG_LINK_UP   0x10U

if set, the interface has an active link (set by the network interface driver)

◆ UIP_NETIF_FLAG_POINTTOPOINT

#define UIP_NETIF_FLAG_POINTTOPOINT   0x4U

if set, the netif is one end of a point-to-point connection

◆ UIP_NETIF_FLAG_UP

#define UIP_NETIF_FLAG_UP   0x1U

TODO: define the use (where, when, whom) of netif flags whether the network interface is 'up'. this is a software flag used to control whether this network interface is enabled and processes traffic.

◆ UIP_NETIF_MAX_HWADDR_LEN

#define UIP_NETIF_MAX_HWADDR_LEN   6U

Function Documentation

◆ uip_netif_add()

struct uip_netif* uip_netif_add ( struct uip_netif netif,
struct uip_ip_addr ipaddr,
struct uip_ip_addr netmask,
struct uip_ip_addr gw,
void state,
s8_t(*)(struct uip_netif *netif init,
s8_t(*)(struct uip_pbuf *p, struct uip_netif *netif input 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_netif_init()

void uip_netif_init ( )
Here is the caller graph for this function:

◆ uip_netif_isup()

u8_t uip_netif_isup ( struct uip_netif netif)
Here is the caller graph for this function:

◆ uip_netif_setaddr()

void uip_netif_setaddr ( struct uip_netif netif,
struct uip_ip_addr ipaddr,
struct uip_ip_addr netmask,
struct uip_ip_addr gw 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_netif_setdefault()

void uip_netif_setdefault ( struct uip_netif netif)
Here is the caller graph for this function:

◆ uip_netif_setgw()

void uip_netif_setgw ( struct uip_netif netif,
struct uip_ip_addr gw 
)
Here is the caller graph for this function:

◆ uip_netif_setipaddr()

void uip_netif_setipaddr ( struct uip_netif netif,
struct uip_ip_addr ipaddr 
)
Here is the caller graph for this function:

◆ uip_netif_setnetmask()

void uip_netif_setnetmask ( struct uip_netif netif,
struct uip_ip_addr netmask 
)
Here is the caller graph for this function:

◆ uip_netif_setup()

void uip_netif_setup ( struct uip_netif netif)
Here is the caller graph for this function:

Variable Documentation

◆ uip_netif_default

struct uip_netif* uip_netif_default

◆ uip_netif_list

struct uip_netif* uip_netif_list