Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ipv4_autoconf.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 Matthias Boesl
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11#ifndef ZEPHYR_INCLUDE_NET_IPV4_AUTOCONF_H_
12#define ZEPHYR_INCLUDE_NET_IPV4_AUTOCONF_H_
13
19};
20
21struct net_if;
22
30#if defined(CONFIG_NET_IPV4_AUTO)
31void net_ipv4_autoconf_start(struct net_if *iface);
32#else
33static inline void net_ipv4_autoconf_start(struct net_if *iface)
34{
35 ARG_UNUSED(iface);
36}
37#endif
38
46#if defined(CONFIG_NET_IPV4_AUTO)
47void net_ipv4_autoconf_reset(struct net_if *iface);
48#else
49static inline void net_ipv4_autoconf_reset(struct net_if *iface)
50{
51 ARG_UNUSED(iface);
52}
53#endif
54
60#if defined(CONFIG_NET_IPV4_AUTO)
61void net_ipv4_autoconf_init(void);
62#else
63static inline void net_ipv4_autoconf_init(void) { }
64#endif
65
68#endif /* ZEPHYR_INCLUDE_NET_IPV4_AUTOCONF_H_ */
static void net_ipv4_autoconf_reset(struct net_if *iface)
Reset autoconf process.
Definition: ipv4_autoconf.h:49
static void net_ipv4_autoconf_start(struct net_if *iface)
Start IPv4 autoconfiguration RFC 3927: IPv4 Link Local.
Definition: ipv4_autoconf.h:33
net_ipv4_autoconf_state
Current state of IPv4 Autoconfiguration.
Definition: ipv4_autoconf.h:15
@ NET_IPV4_AUTOCONF_ASSIGNED
Assigned state.
Definition: ipv4_autoconf.h:17
@ NET_IPV4_AUTOCONF_INIT
Initialization state.
Definition: ipv4_autoconf.h:16
@ NET_IPV4_AUTOCONF_RENEW
Renew state.
Definition: ipv4_autoconf.h:18
Network Interface structure.
Definition: net_if.h:678