mikroSDK Reference Manual
auto_ip_misc.h
Go to the documentation of this file.
1
31#ifndef _AUTO_IP_MISC_H
32#define _AUTO_IP_MISC_H
33
34//Dependencies
35#include "core/net.h"
36#include "ipv4/auto_ip.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//Tick counter to handle periodic operations
44extern systime_t autoIpTickCounter;
45
46//Auto-IP related functions
47void autoIpTick(AutoIpContext *context);
48void autoIpLinkChangeEvent(AutoIpContext *context);
49
50void autoIpChangeState(AutoIpContext *context, AutoIpState newState,
51 systime_t delay);
52
53void autoIpGenerateAddr(Ipv4Addr *ipAddr);
54
55void autoIpResetConfig(AutoIpContext *context);
56void autoIpDumpConfig(AutoIpContext *context);
57
58//C++ guard
59#ifdef __cplusplus
60}
61#endif
62
63#endif
Auto-IP (Dynamic Configuration of IPv4 Link-Local Addresses)
AutoIpState
Auto-IP FSM states.
Definition auto_ip.h:152
uint32_t Ipv4Addr
IPv4 network address.
Definition ipv4.h:267
TCP/IP stack core.
uint32_t systime_t
System time.
Definition os_port_none.h:90