Documented in 1 files:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/net/dsa/sja1105/sja1105_flower.c, line 238
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
- include/linux/etherdevice.h
- net/bridge/netfilter/ebt_arp.c
- net/bridge/netfilter/ebt_stp.c
- net/bridge/netfilter/ebtables.c
Smatch caller information:
net/bridge/netfilter/ebtables.c ebt_basic_match() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 0 |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &table->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ebt_table)->lock |
net/bridge/netfilter/ebtables.c ebt_basic_match() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 0-u32max |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &table->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ebt_table)->lock |
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c ether_addr_is_ipv4_mcast() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr2 | 1571686254350422016 |
| PARAM_VALUE | 2 | mask | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| DATA_SOURCE | 0 | addr1 | $0 |
| HALF_LOCKED2 | &sparx5->mdb_lock | ||
| HALF_LOCKED2 | &spx5->mdb_lock | ||
| TYPE_LOCK | (struct sparx5)->mdb_lock |
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c ether_addr_is_ipv6_mcast() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| PARAM_VALUE | 1 | addr2 | 8025485734850613248 |
| PARAM_VALUE | 2 | mask | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| DATA_SOURCE | 0 | addr1 | $0 |
| HALF_LOCKED2 | &sparx5->mdb_lock | ||
| HALF_LOCKED2 | &spx5->mdb_lock | ||
| TYPE_LOCK | (struct sparx5)->mdb_lock |
drivers/net/dsa/sja1105/sja1105_flower.c sja1105_flower_parse_key() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
net/bridge/netfilter/ebt_stp.c ebt_filter_config() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/bridge/netfilter/ebt_stp.c ebt_filter_config() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/bridge/netfilter/ebt_arp.c ebt_arp_mt() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | (-1),6 |
| BUF_SIZE | 0 | addr1 | (-1),6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| DATA_SOURCE | 0 | addr1 | r skb_header_pointer |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/bridge/netfilter/ebt_arp.c ebt_arp_mt() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | (-1),6 |
| BUF_SIZE | 0 | addr1 | (-1),6 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| DATA_SOURCE | 0 | addr1 | r skb_header_pointer |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_rif_mac_profile_find() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | addr1 | 6 |
| BUF_SIZE | 1 | addr2 | 6,32,126 |
| BUF_SIZE | 1 | addr2 | 6,32,126 |
| BUF_SIZE | 2 | mask | 6 |
| DATA_SOURCE | 1 | addr2 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mlxsw_sp->router->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_rif_macvlan_is_vrrp4() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | 32 |
| BUF_SIZE | 0 | addr1 | 32 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| DATA_SOURCE | 0 | addr1 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mlxsw_sp->router->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_rif_macvlan_is_vrrp6() -> ether_addr_equal_masked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | 32 |
| BUF_SIZE | 0 | addr1 | 32 |
| BUF_SIZE | 1 | addr2 | 6 |
| BUF_SIZE | 2 | mask | 6 |
| DATA_SOURCE | 0 | addr1 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mlxsw_sp->router->lock |