Rizky Ardi Maulana / mbed-os
Embed: (wiki syntax)

« Back to documentation index

AUTOIP

AUTOIP
[IPv4]

AUTOIP related functions. More...

Functions

void autoip_set_struct (struct netif *netif, struct autoip *autoip)
 Set a statically allocated struct autoip to work with.
err_t autoip_start (struct netif *netif)
 Start AutoIP client.
err_t autoip_stop (struct netif *netif)
 Stop AutoIP client.

Detailed Description

AUTOIP related functions.

See also:
AUTOIP

Function Documentation

void autoip_set_struct ( struct netif netif,
struct autoip autoip 
)

Set a statically allocated struct autoip to work with.

Set a struct autoip allocated by the application to work with.

Using this prevents autoip_start to allocate it using mem_malloc.

Parameters:
netifthe netif for which to set the struct autoip
autoip(uninitialised) autoip struct allocated by the application

Definition at line 145 of file lwip_autoip.c.

err_t autoip_start ( struct netif netif )

Start AutoIP client.

Parameters:
netifnetwork interface on which start the AutoIP client

Definition at line 286 of file lwip_autoip.c.

err_t autoip_stop ( struct netif netif )

Stop AutoIP client.

Parameters:
netifnetwork interface on which stop the AutoIP client

Definition at line 378 of file lwip_autoip.c.