13#ifndef ZEPHYR_INCLUDE_NET_SOCKET_NET_MGMT_H_
14#define ZEPHYR_INCLUDE_NET_SOCKET_NET_MGMT_H_
37#define NET_MGMT_EVENT_PROTO 0x01
40#define SOL_NET_MGMT_BASE 100
41#define SOL_NET_MGMT_RAW (SOL_NET_MGMT_BASE + 1)
51#define SO_NET_MGMT_ETHERNET_SET_QAV_PARAM 1
54#define SO_NET_MGMT_ETHERNET_GET_QAV_PARAM 2
116#define NET_MGMT_SOCKET_VERSION_1 0x0001
unsigned short int sa_family_t
Socket address family type.
Definition net_ip.h:168
Public API for network interface.
IPv6 and IPv4 definitions.
Network Management API public header.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINTPTR_TYPE__ uintptr_t
Definition stdint.h:105
Each network management message is prefixed with this header.
Definition socket_net_mgmt.h:96
uint8_t nm_msg[]
The actual message data follows.
Definition socket_net_mgmt.h:104
uint32_t nm_msg_version
Network management version.
Definition socket_net_mgmt.h:98
uint32_t nm_msg_len
Length of the data.
Definition socket_net_mgmt.h:101
struct sockaddr_nm - The sockaddr structure for NET_MGMT sockets
Definition socket_net_mgmt.h:76
int nm_ifindex
Network interface related to this address.
Definition socket_net_mgmt.h:81
uint64_t nm_mask
net_mgmt mask
Definition socket_net_mgmt.h:89
uintptr_t nm_pid
Thread id or similar that is used to separate the different sockets.
Definition socket_net_mgmt.h:86
sa_family_t nm_family
AF_NET_MGMT address family.
Definition socket_net_mgmt.h:78