Searched refs:MAX_COMMAND_BYTES (Results 1 – 2 of 2) sorted by relevance
/openbmc/ipmitool/include/ipmitool/ |
H A D | ipmi_firewall.h | 59 #define MAX_COMMAND_BYTES (MAX_COMMAND>>3) macro 79 unsigned char command_mask[MAX_COMMAND_BYTES]; 80 unsigned char config_mask[MAX_COMMAND_BYTES]; 81 unsigned char enable_mask[MAX_COMMAND_BYTES];
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_firewall.c | 334 memcpy(lnfn->command_mask+MAX_COMMAND_BYTES/2, d, MAX_COMMAND_BYTES/2); in _get_command_support() 413 memcpy(lnfn->config_mask+MAX_COMMAND_BYTES/2, d, MAX_COMMAND_BYTES/2); in _get_command_configurable() 492 memcpy(lnfn->enable_mask+MAX_COMMAND_BYTES/2, d, MAX_COMMAND_BYTES/2); in _get_command_enables() 534 for (c=0; c<(MAX_COMMAND_BYTES); c++) { in _set_command_enables() 556 memcpy(&rqdata[3], enable, MAX_COMMAND_BYTES/2); in _set_command_enables() 577 memcpy(&rqdata[3], enable+MAX_COMMAND_BYTES/2, MAX_COMMAND_BYTES/2); in _set_command_enables() 965 MAX_COMMAND_BYTES, 1, -1); in ipmi_firewall_info() 968 MAX_COMMAND_BYTES, 0, -1); in ipmi_firewall_info() 971 MAX_COMMAND_BYTES, 0, -1); in ipmi_firewall_info() 1019 unsigned char enables[MAX_COMMAND_BYTES]; in ipmi_firewall_enable_disable() [all …]
|