Zephyr API 3.6.99
|
Macros | |
#define | NPF_ETH_SRC_ADDR_MATCH(_name, _addr_array) |
Statically define a "source address match" packet filter condition. | |
#define | NPF_ETH_SRC_ADDR_UNMATCH(_name, _addr_array) |
Statically define a "source address unmatch" packet filter condition. | |
#define | NPF_ETH_DST_ADDR_MATCH(_name, _addr_array) |
Statically define a "destination address match" packet filter condition. | |
#define | NPF_ETH_DST_ADDR_UNMATCH(_name, _addr_array) |
Statically define a "destination address unmatch" packet filter condition. | |
#define | NPF_ETH_SRC_ADDR_MASK_MATCH(_name, _addr_array, ...) |
Statically define a "source address match with mask" packet filter condition. | |
#define | NPF_ETH_DST_ADDR_MASK_MATCH(_name, _addr_array, ...) |
Statically define a "destination address match with mask" packet filter condition. | |
#define | NPF_ETH_TYPE_MATCH(_name, _type) |
Statically define an "Ethernet type match" packet filter condition. | |
#define | NPF_ETH_TYPE_UNMATCH(_name, _type) |
Statically define an "Ethernet type unmatch" packet filter condition. | |
#define NPF_ETH_DST_ADDR_MASK_MATCH | ( | _name, | |
_addr_array, | |||
... ) |
#include <zephyr/net/net_pkt_filter.h>
Statically define a "destination address match with mask" packet filter condition.
This tests if the packet destination address matches any of the Ethernet addresses contained in the provided set after applying specified mask.
_name | Name of the condition |
_addr_array | Array of struct net_eth_addr items to test against |
... | up to 6 mask bytes |
#define NPF_ETH_DST_ADDR_MATCH | ( | _name, | |
_addr_array ) |
#include <zephyr/net/net_pkt_filter.h>
Statically define a "destination address match" packet filter condition.
This tests if the packet destination address matches any of the Ethernet addresses contained in the provided set.
_name | Name of the condition |
_addr_array | Array of struct net_eth_addr items to test against |
#define NPF_ETH_DST_ADDR_UNMATCH | ( | _name, | |
_addr_array ) |
#include <zephyr/net/net_pkt_filter.h>
Statically define a "destination address unmatch" packet filter condition.
This tests if the packet destination address matches none of the Ethernet addresses contained in the provided set.
_name | Name of the condition |
_addr_array | Array of struct net_eth_addr items to test against |
#define NPF_ETH_SRC_ADDR_MASK_MATCH | ( | _name, | |
_addr_array, | |||
... ) |
#include <zephyr/net/net_pkt_filter.h>
Statically define a "source address match with mask" packet filter condition.
This tests if the packet source address matches any of the Ethernet addresses contained in the provided set after applying specified mask.
_name | Name of the condition |
_addr_array | Array of struct net_eth_addr items to test against |
... | up to 6 mask bytes |
#define NPF_ETH_SRC_ADDR_MATCH | ( | _name, | |
_addr_array ) |
#include <zephyr/net/net_pkt_filter.h>
Statically define a "source address match" packet filter condition.
This tests if the packet source address matches any of the Ethernet addresses contained in the provided set.
_name | Name of the condition |
_addr_array | Array of struct net_eth_addr items to test against |
#define NPF_ETH_SRC_ADDR_UNMATCH | ( | _name, | |
_addr_array ) |
#include <zephyr/net/net_pkt_filter.h>
Statically define a "source address unmatch" packet filter condition.
This tests if the packet source address matches none of the Ethernet addresses contained in the provided set.
_name | Name of the condition |
_addr_array | Array of struct net_eth_addr items to test against |
#define NPF_ETH_TYPE_MATCH | ( | _name, | |
_type ) |
#include <zephyr/net/net_pkt_filter.h>
Statically define an "Ethernet type match" packet filter condition.
_name | Name of the condition |
_type | Ethernet type to match |
#define NPF_ETH_TYPE_UNMATCH | ( | _name, | |
_type ) |
#include <zephyr/net/net_pkt_filter.h>
Statically define an "Ethernet type unmatch" packet filter condition.
_name | Name of the condition |
_type | Ethernet type to exclude |