Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
autoip.c File Reference
AutoIP Automatic LinkLocal IP Configuration. More...
Go to the source code of this file.
Functions | |
static void | autoip_handle_arp_conflict (struct netif *netif) |
Handle a IP address conflict after an ARP conflict detection. | |
static void | autoip_create_addr (struct netif *netif, ip_addr_t *ipaddr) |
Create an IP-Address out of range 169.254.1.0 to 169.254.254.255. | |
static err_t | autoip_arp_probe (struct netif *netif) |
Sends an ARP probe from a network interface. | |
static err_t | autoip_arp_announce (struct netif *netif) |
Sends an ARP announce from a network interface. | |
static err_t | autoip_bind (struct netif *netif) |
Configure interface for use with current LL IP-Address. | |
void | autoip_init (void) |
Initialize this module. | |
void | autoip_set_struct (struct netif *netif, struct autoip *autoip) |
Set a statically allocated struct autoip to work with. | |
static void | autoip_restart (struct netif *netif) |
Restart AutoIP client and check the next address (conflict detected) | |
err_t | autoip_start (struct netif *netif) |
Start AutoIP client. | |
void | autoip_network_changed (struct netif *netif) |
Handle a possible change in the network configuration. | |
err_t | autoip_stop (struct netif *netif) |
Stop AutoIP client. | |
void | autoip_tmr () |
Has to be called in loop every AUTOIP_TMR_INTERVAL milliseconds. | |
void | autoip_arp_reply (struct netif *netif, struct etharp_hdr *hdr) |
Handles every incoming ARP Packet, called by etharp_arp_input. |
Detailed Description
AutoIP Automatic LinkLocal IP Configuration.
Definition in file autoip.c.
Function Documentation
void autoip_arp_reply | ( | struct netif * | netif, |
struct etharp_hdr * | hdr | ||
) |
static void autoip_handle_arp_conflict | ( | struct netif * | netif ) | [static] |
void autoip_init | ( | void | ) |
void autoip_network_changed | ( | struct netif * | netif ) |
static void autoip_restart | ( | struct netif * | netif ) | [static] |
Generated on Tue Jul 12 2022 11:03:01 by
