Home
last modified time | relevance | path

Searched refs:chassis_id (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/libsystemd-network/
Dlldp-neighbor.c17 siphash24_compress(id->chassis_id, 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()
63 free(n->id.chassis_id); in lldp_neighbor_free()
235 if (n->id.chassis_id) in lldp_neighbor_parse()
239 n->id.chassis_id = memdup(p, length); in lldp_neighbor_parse()
240 if (!n->id.chassis_id) in lldp_neighbor_parse()
323 if (!n->id.chassis_id || !n->id.port_id || !n->has_ttl) in lldp_neighbor_parse()
399 *type = *(uint8_t*) n->id.chassis_id; in sd_lldp_neighbor_get_chassis_id()
400 *ret = (uint8_t*) n->id.chassis_id + 1; in sd_lldp_neighbor_get_chassis_id()
458 switch (*(uint8_t*) n->id.chassis_id) { in sd_lldp_neighbor_get_chassis_id_as_string()
[all …]
Dlldp-neighbor.h16 void *chassis_id; member
/systemd-251/src/network/
Dnetworkctl.c2522 … const char *chassis_id = NULL, *port_id = NULL, *system_name = NULL, *port_description = NULL; in link_lldp_status() local
2535 (void) sd_lldp_neighbor_get_chassis_id_as_string(n, &chassis_id); in link_lldp_status()
2547 TABLE_STRING, strna(chassis_id), in link_lldp_status()