Searched refs:port_count (Results 1 – 2 of 2) sorted by relevance
1187 #define switch_port_list_size(port_count) \ argument1188 offsetof(switch_port_list, list[port_count])1191 switch_port_list_alloc(u_int port_count, bool mac_nat) in switch_port_list_alloc() argument1196 calloc(1, switch_port_list_size(port_count));; in switch_port_list_alloc()1197 list->size = port_count; in switch_port_list_alloc()
3421 unsigned long port_count = 0; variable