Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
socket_net_mgmt.h
Go to the documentation of this file.
1
7/*
8 * Copyright (c) 2019 Intel Corporation
9 *
10 * SPDX-License-Identifier: Apache-2.0
11 */
12
13#ifndef ZEPHYR_INCLUDE_NET_SOCKET_NET_MGMT_H_
14#define ZEPHYR_INCLUDE_NET_SOCKET_NET_MGMT_H_
15
16#include <zephyr/types.h>
17#include <net/net_ip.h>
18#include <net/net_if.h>
19#include <net/net_mgmt.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
32/* Protocols of the protocol family PF_NET_MGMT */
33#define NET_MGMT_EVENT_PROTO 0x01
34
35/* Socket NET_MGMT options */
36#define SOL_NET_MGMT_BASE 100
37#define SOL_NET_MGMT_RAW (SOL_NET_MGMT_BASE + 1)
38
60
63
68
71};
72
73
80
83
86};
87
97#define NET_MGMT_SOCKET_VERSION_1 0x0001
98
103#ifdef __cplusplus
104}
105#endif
106
107#endif /* ZEPHYR_INCLUDE_NET_SOCKET_NET_MGMT_H_ */
unsigned short int sa_family_t
Definition: net_ip.h:158
Public API for network interface.
IPv6 and IPv4 definitions.
Network Management API public header.
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT8_TYPE__ uint8_t
Definition: stdint.h:58
__UINTPTR_TYPE__ uintptr_t
Definition: stdint.h:75
Definition: socket_net_mgmt.h:77
uint8_t nm_msg[]
Definition: socket_net_mgmt.h:85
uint32_t nm_msg_version
Definition: socket_net_mgmt.h:79
uint32_t nm_msg_len
Definition: socket_net_mgmt.h:82
Definition: socket_net_mgmt.h:57
int nm_ifindex
Definition: socket_net_mgmt.h:62
uint32_t nm_mask
Definition: socket_net_mgmt.h:70
uintptr_t nm_pid
Definition: socket_net_mgmt.h:67
sa_family_t nm_family
Definition: socket_net_mgmt.h:59