Home
last modified time | relevance | path

Searched refs:port_id_size (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/libsystemd-network/
Dlldp-neighbor.c19 siphash24_compress(id->port_id, id->port_id_size, state); in lldp_neighbor_id_hash_func()
20 siphash24_compress(&id->port_id_size, sizeof(id->port_id_size), state); in lldp_neighbor_id_hash_func()
28 ?: memcmp_nn(x->port_id, x->port_id_size, y->port_id, y->port_id_size); in lldp_neighbor_id_compare_func()
260 n->id.port_id_size = length; in lldp_neighbor_parse()
506 assert(n->id.port_id_size > 0); in sd_lldp_neighbor_get_port_id()
510 *size = n->id.port_id_size - 1; in sd_lldp_neighbor_get_port_id()
527 assert(n->id.port_id_size > 0); in sd_lldp_neighbor_get_port_id_as_string()
535 k = cescape_length((char*) n->id.port_id + 1, n->id.port_id_size - 1); in sd_lldp_neighbor_get_port_id_as_string()
542 r = format_mac_address(n->id.port_id, n->id.port_id_size, &k); in sd_lldp_neighbor_get_port_id_as_string()
551 r = format_network_address(n->id.port_id, n->id.port_id_size, &k); in sd_lldp_neighbor_get_port_id_as_string()
[all …]
Dlldp-neighbor.h20 size_t port_id_size; member