netopt: add options to read/join/leave link layer multicast groups
This commit is contained in:
parent
60b5a6b35e
commit
a6ebe3624d
@ -747,6 +747,21 @@ typedef enum {
|
||||
*/
|
||||
NETOPT_RSSI,
|
||||
|
||||
/**
|
||||
* @brief (array of byte array) get link layer multicast groups as array
|
||||
* of byte arrays (length of each byte array corresponds to the
|
||||
* length of @ref NETOPT_ADDRESS) or join a link layer multicast
|
||||
* group as byte array on an interface
|
||||
*
|
||||
* When getting the option you can pass an array of byte arrays of any
|
||||
* length greater than 0 to the getter. The array will be filled up to to
|
||||
* its maximum and the remaining addresses on the interface will be ignored
|
||||
*/
|
||||
NETOPT_L2_GROUP,
|
||||
/**
|
||||
* @brief (array of byte arrays) Leave an link layer multicast group
|
||||
*/
|
||||
NETOPT_L2_GROUP_LEAVE,
|
||||
/**
|
||||
* @brief maximum number of options defined here.
|
||||
*
|
||||
|
||||
@ -122,6 +122,8 @@ static const char *_netopt_strmap[] = {
|
||||
[NETOPT_NUM_GATEWAYS] = "NETOPT_NUM_GATEWAYS",
|
||||
[NETOPT_LINK_CHECK] = "NETOPT_LINK_CHECK",
|
||||
[NETOPT_RSSI] = "NETOPT_RSSI",
|
||||
[NETOPT_L2_GROUP] = "NETOPT_L2_GROUP",
|
||||
[NETOPT_L2_GROUP_LEAVE] = "NETOPT_L2_GROUP_LEAVE",
|
||||
[NETOPT_NUMOF] = "NETOPT_NUMOF",
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user