Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_linkaddr.h File Reference

Public API for network link address. More...

#include <zephyr/types.h>
#include <stdbool.h>
#include <errno.h>

Go to the source code of this file.

Data Structures

struct  net_linkaddr
 Hardware link address structure. More...
 
struct  net_linkaddr_storage
 Hardware link address structure. More...
 

Macros

#define NET_LINK_ADDR_MAX_LENGTH   6
 

Enumerations

enum  net_link_type {
  NET_LINK_UNKNOWN = 0 , NET_LINK_IEEE802154 , NET_LINK_BLUETOOTH , NET_LINK_ETHERNET ,
  NET_LINK_DUMMY , NET_LINK_CANBUS_RAW , NET_LINK_CANBUS
}
 

Functions

static bool net_linkaddr_cmp (struct net_linkaddr *lladdr1, struct net_linkaddr *lladdr2)
 Compare two link layer addresses. More...
 
static int net_linkaddr_set (struct net_linkaddr_storage *lladdr_store, uint8_t *new_addr, uint8_t new_len)
 Set the member data of a link layer address storage structure. More...
 

Detailed Description

Public API for network link address.