Zephyr Project API  3.4.0
A Scalable Open Source RTOS
conn_mgr.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_CONN_MGR_H_
8#define ZEPHYR_INCLUDE_CONN_MGR_H_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#if defined(CONFIG_NET_CONNECTION_MANAGER)
15
16struct net_if;
17struct net_l2;
18
23void conn_mgr_resend_status(void);
24
36void conn_mgr_ignore_iface(struct net_if *iface);
37
49void conn_mgr_watch_iface(struct net_if *iface);
50
58bool conn_mgr_is_iface_ignored(struct net_if *iface);
59
67void conn_mgr_ignore_l2(const struct net_l2 *l2);
68
76void conn_mgr_watch_l2(const struct net_l2 *l2);
77
78#else
79
80#define conn_mgr_resend_status(...)
81#define conn_mgr_ignore_iface(...)
82#define conn_mgr_watch_iface(...)
83#define conn_mgr_ignore_l2(...)
84#define conn_mgr_watch_l2(...)
85
86#endif /* CONFIG_NET_CONNECTION_MANAGER */
87
88#ifdef __cplusplus
89}
90#endif
91
92#endif /* ZEPHYR_INCLUDE_CONN_MGR_H_ */
#define conn_mgr_ignore_iface(...)
Definition: conn_mgr.h:81
#define conn_mgr_watch_l2(...)
Definition: conn_mgr.h:84
#define conn_mgr_watch_iface(...)
Definition: conn_mgr.h:82
#define conn_mgr_ignore_l2(...)
Definition: conn_mgr.h:83
#define conn_mgr_resend_status(...)
Definition: conn_mgr.h:80
Network Interface structure.
Definition: net_if.h:516
Network L2 structure.
Definition: net_l2.h:55