Zephyr API 3.6.99
Loading...
Searching...
No Matches
net_event.h File Reference

Network Events code public header. More...

Go to the source code of this file.

Data Structures

struct  net_event_ipv6_addr
 Network Management event information structure Used to pass information on network events like NET_EVENT_IPV6_ADDR_ADD, NET_EVENT_IPV6_ADDR_DEL, NET_EVENT_IPV6_MADDR_ADD and NET_EVENT_IPV6_MADDR_DEL when CONFIG_NET_MGMT_EVENT_INFO enabled and event generator pass the information. More...
 
struct  net_event_ipv6_nbr
 Network Management event information structure Used to pass information on network events like NET_EVENT_IPV6_NBR_ADD and NET_EVENT_IPV6_NBR_DEL when CONFIG_NET_MGMT_EVENT_INFO enabled and event generator pass the information. More...
 
struct  net_event_ipv6_route
 Network Management event information structure Used to pass information on network events like NET_EVENT_IPV6_ROUTE_ADD and NET_EVENT_IPV6_ROUTE_DEL when CONFIG_NET_MGMT_EVENT_INFO enabled and event generator pass the information. More...
 
struct  net_event_ipv6_prefix
 Network Management event information structure Used to pass information on network events like NET_EVENT_IPV6_PREFIX_ADD and NET_EVENT_IPV6_PREFIX_DEL when CONFIG_NET_MGMT_EVENT_INFO is enabled and event generator pass the information. More...
 
struct  net_event_l4_hostname
 Network Management event information structure Used to pass information on NET_EVENT_HOSTNAME_CHANGED event when CONFIG_NET_MGMT_EVENT_INFO is enabled and event generator pass the information. More...
 
struct  net_event_ipv6_pe_filter
 Network Management event information structure Used to pass information on network events like NET_EVENT_IPV6_PE_FILTER_ADD and NET_EVENT_IPV6_PE_FILTER_DEL when CONFIG_NET_MGMT_EVENT_INFO is enabled and event generator pass the information. More...
 

Macros

#define NET_EVENT_IF_DOWN    (_NET_EVENT_IF_BASE | NET_EVENT_IF_CMD_DOWN)
 Event emitted when the network interface goes down.
 
#define NET_EVENT_IF_UP    (_NET_EVENT_IF_BASE | NET_EVENT_IF_CMD_UP)
 Event emitted when the network interface goes up.
 
#define NET_EVENT_IF_ADMIN_DOWN    (_NET_EVENT_IF_BASE | NET_EVENT_IF_CMD_ADMIN_DOWN)
 Event emitted when the network interface is taken down manually.
 
#define NET_EVENT_IF_ADMIN_UP    (_NET_EVENT_IF_BASE | NET_EVENT_IF_CMD_ADMIN_UP)
 Event emitted when the network interface goes up manually.
 
#define NET_EVENT_IPV6_ADDR_ADD    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_ADDR_ADD)
 Event emitted when an IPv6 address is added to the system.
 
#define NET_EVENT_IPV6_ADDR_DEL    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_ADDR_DEL)
 Event emitted when an IPv6 address is removed from the system.
 
#define NET_EVENT_IPV6_MADDR_ADD    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_MADDR_ADD)
 Event emitted when an IPv6 multicast address is added to the system.
 
#define NET_EVENT_IPV6_MADDR_DEL    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_MADDR_DEL)
 Event emitted when an IPv6 multicast address is removed from the system.
 
#define NET_EVENT_IPV6_PREFIX_ADD    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_PREFIX_ADD)
 Event emitted when an IPv6 prefix is added to the system.
 
#define NET_EVENT_IPV6_PREFIX_DEL    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_PREFIX_DEL)
 Event emitted when an IPv6 prefix is removed from the system.
 
#define NET_EVENT_IPV6_MCAST_JOIN    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_MCAST_JOIN)
 Event emitted when an IPv6 multicast group is joined.
 
#define NET_EVENT_IPV6_MCAST_LEAVE    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_MCAST_LEAVE)
 Event emitted when an IPv6 multicast group is left.
 
#define NET_EVENT_IPV6_ROUTER_ADD    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_ROUTER_ADD)
 Event emitted when an IPv6 router is added to the system.
 
#define NET_EVENT_IPV6_ROUTER_DEL    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_ROUTER_DEL)
 Event emitted when an IPv6 router is removed from the system.
 
#define NET_EVENT_IPV6_ROUTE_ADD    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_ROUTE_ADD)
 Event emitted when an IPv6 route is added to the system.
 
#define NET_EVENT_IPV6_ROUTE_DEL    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_ROUTE_DEL)
 Event emitted when an IPv6 route is removed from the system.
 
#define NET_EVENT_IPV6_DAD_SUCCEED    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_DAD_SUCCEED)
 Event emitted when an IPv6 duplicate address detection succeeds.
 
#define NET_EVENT_IPV6_DAD_FAILED    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_DAD_FAILED)
 Event emitted when an IPv6 duplicate address detection fails.
 
#define NET_EVENT_IPV6_NBR_ADD    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_NBR_ADD)
 Event emitted when an IPv6 neighbor is added to the system.
 
#define NET_EVENT_IPV6_NBR_DEL    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_NBR_DEL)
 Event emitted when an IPv6 neighbor is removed from the system.
 
#define NET_EVENT_IPV6_DHCP_START    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_DHCP_START)
 Event emitted when an IPv6 DHCP client starts.
 
#define NET_EVENT_IPV6_DHCP_BOUND    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_DHCP_BOUND)
 Event emitted when an IPv6 DHCP client address is bound.
 
#define NET_EVENT_IPV6_DHCP_STOP    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_DHCP_STOP)
 Event emitted when an IPv6 DHCP client is stopped.
 
#define NET_EVENT_IPV6_ADDR_DEPRECATED    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_ADDR_DEPRECATED)
 IPv6 address is deprecated.
 
#define NET_EVENT_IPV6_PE_ENABLED    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_PE_ENABLED)
 IPv6 Privacy extension is enabled.
 
#define NET_EVENT_IPV6_PE_DISABLED    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_PE_DISABLED)
 IPv6 Privacy extension is disabled.
 
#define NET_EVENT_IPV6_PE_FILTER_ADD    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_PE_FILTER_ADD)
 IPv6 Privacy extension filter is added.
 
#define NET_EVENT_IPV6_PE_FILTER_DEL    (_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_PE_FILTER_DEL)
 IPv6 Privacy extension filter is removed.
 
#define NET_EVENT_IPV4_ADDR_ADD    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_ADDR_ADD)
 Event emitted when an IPv4 address is added to the system.
 
#define NET_EVENT_IPV4_ADDR_DEL    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_ADDR_DEL)
 Event emitted when an IPv4 address is removed from the system.
 
#define NET_EVENT_IPV4_MADDR_ADD    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_MADDR_ADD)
 Event emitted when an IPv4 multicast address is added to the system.
 
#define NET_EVENT_IPV4_MADDR_DEL    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_MADDR_DEL)
 Event emitted when an IPv4 multicast address is removed from the system.
 
#define NET_EVENT_IPV4_ROUTER_ADD    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_ROUTER_ADD)
 Event emitted when an IPv4 router is added to the system.
 
#define NET_EVENT_IPV4_ROUTER_DEL    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_ROUTER_DEL)
 Event emitted when an IPv4 router is removed from the system.
 
#define NET_EVENT_IPV4_DHCP_START    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_DHCP_START)
 Event emitted when an IPv4 DHCP client is started.
 
#define NET_EVENT_IPV4_DHCP_BOUND    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_DHCP_BOUND)
 Event emitted when an IPv4 DHCP client address is bound.
 
#define NET_EVENT_IPV4_DHCP_STOP    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_DHCP_STOP)
 Event emitted when an IPv4 DHCP client is stopped.
 
#define NET_EVENT_IPV4_MCAST_JOIN    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_MCAST_JOIN)
 Event emitted when an IPv4 multicast group is joined.
 
#define NET_EVENT_IPV4_MCAST_LEAVE    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_MCAST_LEAVE)
 Event emitted when an IPv4 multicast group is left.
 
#define NET_EVENT_IPV4_ACD_SUCCEED    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_ACD_SUCCEED)
 Event emitted when an IPv4 address conflict detection succeeds.
 
#define NET_EVENT_IPV4_ACD_FAILED    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_ACD_FAILED)
 Event emitted when an IPv4 address conflict detection fails.
 
#define NET_EVENT_IPV4_ACD_CONFLICT    (_NET_EVENT_IPV4_BASE | NET_EVENT_IPV4_CMD_ACD_CONFLICT)
 Event emitted when an IPv4 address conflict was detected after the address was confirmed as safe to use.
 
#define NET_EVENT_L4_CONNECTED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_CONNECTED)
 Event emitted when the system is considered to be connected.
 
#define NET_EVENT_L4_DISCONNECTED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_DISCONNECTED)
 Event emitted when the system is no longer connected.
 
#define NET_EVENT_L4_IPV4_CONNECTED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_IPV4_CONNECTED)
 Event raised when IPv4 network connectivity is available.
 
#define NET_EVENT_L4_IPV4_DISCONNECTED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_IPV4_DISCONNECTED)
 Event emitted when IPv4 network connectivity is lost.
 
#define NET_EVENT_L4_IPV6_CONNECTED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_IPV6_CONNECTED)
 Event emitted when IPv6 network connectivity is available.
 
#define NET_EVENT_L4_IPV6_DISCONNECTED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_IPV6_DISCONNECTED)
 Event emitted when IPv6 network connectivity is lost.
 
#define NET_EVENT_DNS_SERVER_ADD    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_DNS_SERVER_ADD)
 Event emitted when a DNS server is added to the system.
 
#define NET_EVENT_DNS_SERVER_DEL    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_DNS_SERVER_DEL)
 Event emitted when a DNS server is removed from the system.
 
#define NET_EVENT_HOSTNAME_CHANGED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_HOSTNAME_CHANGED)
 Event emitted when the system hostname is changed.
 
#define NET_EVENT_CAPTURE_STARTED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_CAPTURE_STARTED)
 Network packet capture is started.
 
#define NET_EVENT_CAPTURE_STOPPED    (_NET_EVENT_L4_BASE | NET_EVENT_L4_CMD_CAPTURE_STOPPED)
 Network packet capture is stopped.
 

Detailed Description

Network Events code public header.