Microchip® Advanced Software Framework

wilc/os/include/net_init.h File Reference

Copyright (c) 2016-2018 Microchip Technology Inc.

and its subsidiaries.

#include "lwip/ip_addr.h"

Data Structures

struct  tstrM2MIPConfig2
 

Macros

#define NET_IF_C   0x2
 
#define NET_IF_REQ_DHCP_CONF   (M2M_P2P_CMD_BASE + 100)
 
#define NET_IF_STA   0x1
 
#define NET_MODE_AP   0x4
 
#define NET_MODE_USE_DHCP   0x1
 
#define NET_MODE_USE_DHCP_SVR   0x10
 
#define NET_MODE_USE_LINK_LOCAL   0x8
 
#define NET_MODE_USE_STATIC   0x2
 

Functions

void net_add_wilc_netif (void)
 
int net_in_tcpip_task (void)
 
void net_init (void)
 
void net_interface_down (uint32_t net_if)
 
void net_interface_up (uint32_t net_if)
 
void net_remove_wilc_netif (void)
 
int8_t net_set_interface_address (uint32_t net_if, ip_addr_t *ip_addr, ip_addr_t *ip_net_mask, ip_addr_t *ip_gw_addr)
 
void net_set_mode (uint32_t net_if, uint32_t mode)
 

Variables

uint8_t use_static_IP
 

#define NET_IF_REQ_DHCP_CONF   (M2M_P2P_CMD_BASE + 100)

Referenced by status_callback(), and wifi_cb().

#define NET_MODE_AP   0x4
#define NET_MODE_USE_DHCP   0x1
#define NET_MODE_USE_DHCP_SVR   0x10
#define NET_MODE_USE_LINK_LOCAL   0x8

Referenced by net_interface_up_imp().

#define NET_MODE_USE_STATIC   0x2

int net_in_tcpip_task ( void  )
void net_init ( void  )
void net_interface_down ( uint32_t  net_if)
void net_interface_up ( uint32_t  net_if)
void net_remove_wilc_netif ( void  )
int8_t net_set_interface_address ( uint32_t  net_if,
ip_addr_t ip_addr,
ip_addr_t ip_net_mask,
ip_addr_t ip_gw_addr 
)
void net_set_mode ( uint32_t  net_if,
uint32_t  mode 
)

uint8_t use_static_IP