A version of LWIP, provided for backwards compatibility.

Dependents:   AA_DemoBoard DemoBoard HelloServerDemo DemoBoard_RangeIndicator ... more

Embed: (wiki syntax)

« Back to documentation index

autoip.h File Reference

autoip.h File Reference

AutoIP Automatic LinkLocal IP Configuration. More...

Go to the source code of this file.

Functions

void autoip_init (void)
 Init srand, has to be called before entering mainloop.
err_t autoip_start (struct netif *netif)
 Start AutoIP client.
err_t autoip_stop (struct netif *netif)
 Stop AutoIP client.
void autoip_arp_reply (struct netif *netif, struct etharp_hdr *hdr)
 Handles every incoming ARP Packet, called by etharp_arp_input.
void autoip_tmr (void)
 Has to be called in loop every AUTOIP_TMR_INTERVAL milliseconds.
void autoip_network_changed (struct netif *netif)
 Handle a possible change in the network configuration.

Detailed Description

AutoIP Automatic LinkLocal IP Configuration.

Definition in file precomp/Core/lwIP/include/ipv4/lwip/autoip.h.


Function Documentation

void autoip_arp_reply ( struct netif netif,
struct etharp_hdr hdr 
)

Handles every incoming ARP Packet, called by etharp_arp_input.

Parameters:
netifnetwork interface to use for autoip processing
hdrIncoming ARP packet

Definition at line 377 of file tag/0.2/lwIP/core/ipv4/autoip.c.

void autoip_init ( void   )

Init srand, has to be called before entering mainloop.

Definition at line 105 of file tag/0.2/lwIP/core/ipv4/autoip.c.

void autoip_network_changed ( struct netif netif )

Handle a possible change in the network configuration.

If there is an AutoIP address configured, take the interface down and begin probing with the same address.

Definition at line 339 of file trunk/Core/lwIP/core/ipv4/autoip.c.

err_t autoip_start ( struct netif netif )

Start AutoIP client.

Parameters:
netifnetwork interface on which start the AutoIP client

Definition at line 220 of file tag/0.2/lwIP/core/ipv4/autoip.c.

err_t autoip_stop ( struct netif netif )

Stop AutoIP client.

Parameters:
netifnetwork interface on which stop the AutoIP client

Definition at line 291 of file tag/0.2/lwIP/core/ipv4/autoip.c.

void autoip_tmr ( void   )

Has to be called in loop every AUTOIP_TMR_INTERVAL milliseconds.

Definition at line 302 of file tag/0.2/lwIP/core/ipv4/autoip.c.