ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

netif.h File Reference
#include "lwip/opt.h"
#include "lwip/err.h"
#include "lwip/ip_addr.h"
#include "lwip/def.h"
#include "lwip/pbuf.h"

Go to the source code of this file.

Data Structures

struct  PNETIF

Defines

#define ENABLE_LOOPBACK   (LWIP_NETIF_LOOPBACK || LWIP_HAVE_LOOPIF)
#define NETIF_MAX_HWADDR_LEN   6U
#define NETIF_FLAG_UP   0x01U
#define NETIF_FLAG_BROADCAST   0x02U
#define NETIF_FLAG_POINTTOPOINT   0x04U
#define NETIF_FLAG_DHCP   0x08U
#define NETIF_FLAG_LINK_UP   0x10U
#define NETIF_FLAG_ETHARP   0x20U
#define NETIF_FLAG_ETHERNET   0x40U
#define NETIF_FLAG_IGMP   0x80U
#define NETIF_INIT_SNMP(netif, type, speed)
#define netif_is_up(netif)   (((netif)->flags & NETIF_FLAG_UP) ? (u8_t)1 : (u8_t)0)
#define netif_is_link_up(netif)   (((netif)->flags & NETIF_FLAG_LINK_UP) ? (u8_t)1 : (u8_t)0)

Typedefs

typedef err_t(* netif_init_fn )(struct netif *netif)
typedef err_t(* netif_input_fn )(struct pbuf *p, struct netif *inp)
typedef err_t(* netif_output_fn )(struct netif *netif, struct pbuf *p, ip_addr_t *ipaddr)
typedef err_t(* netif_linkoutput_fn )(struct netif *netif, struct pbuf *p)
typedef void(* netif_status_callback_fn )(struct netif *netif)
typedef err_t(* netif_igmp_mac_filter_fn )(struct netif *netif, ip_addr_t *group, u8_t action)

Functions

void netif_init (void)
struct netifnetif_add (struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input)
void netif_set_addr (struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw)
void netif_remove (struct netif *netif)
struct netifnetif_find (char *name)
void netif_set_default (struct netif *netif)
void netif_set_ipaddr (struct netif *netif, ip_addr_t *ipaddr)
void netif_set_netmask (struct netif *netif, ip_addr_t *netmask)
void netif_set_gw (struct netif *netif, ip_addr_t *gw)
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 netifnetif_list
struct netifnetif_default

Generated on Sun May 27 2012 06:03:52 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.