Lines Matching refs:chassis_id_size
17 siphash24_compress(id->chassis_id, id->chassis_id_size, state); in lldp_neighbor_id_hash_func()
18 siphash24_compress(&id->chassis_id_size, sizeof(id->chassis_id_size), state); in lldp_neighbor_id_hash_func()
27 return memcmp_nn(x->chassis_id, x->chassis_id_size, y->chassis_id, y->chassis_id_size) in lldp_neighbor_id_compare_func()
243 n->id.chassis_id_size = length; in lldp_neighbor_parse()
397 assert(n->id.chassis_id_size > 0); in sd_lldp_neighbor_get_chassis_id()
401 *size = n->id.chassis_id_size - 1; in sd_lldp_neighbor_get_chassis_id()
456 assert(n->id.chassis_id_size > 0); in sd_lldp_neighbor_get_chassis_id_as_string()
465 k = cescape_length((char*) n->id.chassis_id + 1, n->id.chassis_id_size - 1); in sd_lldp_neighbor_get_chassis_id_as_string()
472 r = format_mac_address(n->id.chassis_id, n->id.chassis_id_size, &k); in sd_lldp_neighbor_get_chassis_id_as_string()
481 r = format_network_address(n->id.chassis_id, n->id.chassis_id_size, &k); in sd_lldp_neighbor_get_chassis_id_as_string()
491 k = hexmem(n->id.chassis_id, n->id.chassis_id_size); in sd_lldp_neighbor_get_chassis_id_as_string()