Documentation

Documentation

Includes

lwip/opt.h

#include "lwip/opt.h"
#include "lwip/opt.h"

lwip/netif.h

#include "lwip/netif.h"
#include "lwip/netif.h"

lwip/etharp.h

#include "lwip/etharp.h"
#include "lwip/etharp.h"

Macros

Marco LWIP_HDR_AUTOIP_H

#define LWIP_HDR_AUTOIP_H


      

Marco AUTOIP_TMR_INTERVAL

#define AUTOIP_TMR_INTERVAL     100
/** AutoIP Timing */

Marco AUTOIP_TICKS_PER_SECOND

#define AUTOIP_TICKS_PER_SECOND (1000 / AUTOIP_TMR_INTERVAL)


      

Marco autoip_remove_struct(netif)

#define autoip_remove_struct(netif) do { (netif)->autoip = NULL; } while (0)
/** Remove a struct autoip previously set to the netif using autoip_set_struct() */

Marco netif_autoip_data(netif)

#define netif_autoip_data(netif) ((struct autoip*)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_AUTOIP))

      

Functions

Func autoip_set_struct

void autoip_set_struct(struct netif *netif, struct autoip *autoip);


      

Func autoip_start

err_t autoip_start(struct netif *netif);


      

Func autoip_stop

err_t autoip_stop(struct netif *netif);


      

Func autoip_arp_reply

void autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr);


      

Func autoip_tmr

void autoip_tmr(void);


      

Func autoip_network_changed

void autoip_network_changed(struct netif *netif);


      

Func autoip_supplied_address

u8_t autoip_supplied_address(const struct netif *netif);


      

Func autoip_accept_packet

u8_t autoip_accept_packet(struct netif *netif, const ip4_addr_t *addr);
/* for lwIP internal use by ip4.c */

Vars

Consts

Types

Typedefs