Home
last modified time | relevance | path

Searched refs:source_mask (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_mr_tcam.c147 (char *) &key->source_mask.addr4, 4); in mlxsw_sp2_mr_tcam_rule_parse4()
159 &key->source_mask.addr6.s6_addr[0x0], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
162 &key->source_mask.addr6.s6_addr[0x4], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
165 &key->source_mask.addr6.s6_addr[0x8], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
168 &key->source_mask.addr6.s6_addr[0xc], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
Dspectrum1_mr_tcam.c43 ntohl(key->source_mask.addr4), in mlxsw_sp1_mr_tcam_route_replace()
53 key->source_mask.addr6, in mlxsw_sp1_mr_tcam_route_replace()
Dspectrum_mr.c799 key->source_mask.addr4 = htonl(starg ? 0 : 0xffffffff); in mlxsw_sp_mr_route4_key()
805 return mr_route->key.source_mask.addr4 == htonl(INADDR_ANY); in mlxsw_sp_mr_route4_starg()
844 memset(&key->source_mask.addr6, 0xff, in mlxsw_sp_mr_route6_key()
845 sizeof(key->source_mask.addr6)); in mlxsw_sp_mr_route6_key()
851 return ipv6_addr_any(&mr_route->key.source_mask.addr6); in mlxsw_sp_mr_route6_starg()
Dspectrum_mr.h24 union mlxsw_sp_l3addr source_mask; member