Zephyr Project API 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
socket_net_mgmt.h
Go to the documentation of this file.
1
6
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 <zephyr/net/net_ip.h>
18#include <zephyr/net/net_if.h>
19#include <zephyr/net/net_mgmt.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
33
35
36/* Protocols of the protocol family PF_NET_MGMT */
37#define NET_MGMT_EVENT_PROTO 0x01
38
39/* Socket NET_MGMT options */
40#define SOL_NET_MGMT_BASE 100
41#define SOL_NET_MGMT_RAW (SOL_NET_MGMT_BASE + 1)
42
44
49
51#define SO_NET_MGMT_ETHERNET_SET_QAV_PARAM 1
52
54#define SO_NET_MGMT_ETHERNET_GET_QAV_PARAM 2
55 /* for @name */
57
58
72
82#define NET_MGMT_SOCKET_VERSION_1 0x0001
83
87
88#ifdef __cplusplus
89}
90#endif
91
92#endif /* ZEPHYR_INCLUDE_NET_SOCKET_NET_MGMT_H_ */
Public API for network interface.
IPv6 and IPv4 definitions.
Network Management API public header.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Each network management message is prefixed with this header.
Definition socket_net_mgmt.h:62
uint8_t nm_msg[]
The actual message data follows.
Definition socket_net_mgmt.h:70
uint32_t nm_msg_version
Network management version.
Definition socket_net_mgmt.h:64
uint32_t nm_msg_len
Length of the data.
Definition socket_net_mgmt.h:67