Searched defs:neighbour_mib (Results 1 - 3 of 3) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | lldp-internal.h | 70 Hashmap *neighbour_mib; member in struct:lldp_chassis 77 Hashmap *neighbour_mib, 86 int lldp_mib_add_objects(Prioq *by_expiry, Hashmap *neighbour_mib, tlv_packet *tlv);
|
H A D | lldp-internal.c | 101 Hashmap *neighbour_mib, 112 assert_return(neighbour_mib, -EINVAL); 129 c = hashmap_get(neighbour_mib, &chassis_id); 139 if (hashmap_size(neighbour_mib) >= LLDP_MIB_MAX_CHASSIS) { 142 hashmap_size(neighbour_mib)); 146 r = lldp_chassis_new(tlv, by_expiry, neighbour_mib, &c); 152 r = hashmap_put(neighbour_mib, &c->chassis_id, c); 207 hashmap_remove(neighbour_mib, &c->chassis_id); 228 hashmap_remove(c->neighbour_mib, &c->chassis_id); 298 Hashmap *neighbour_mib, 100 lldp_mib_add_objects(Prioq *by_expiry, Hashmap *neighbour_mib, tlv_packet *tlv) argument 296 lldp_chassis_new(tlv_packet *tlv, Prioq *by_expiry, Hashmap *neighbour_mib, lldp_chassis **ret) argument [all...] |
H A D | sd-lldp.c | 62 Hashmap *neighbour_mib; member in struct:sd_lldp 123 r = lldp_mib_add_objects(lldp->by_expiry, lldp->neighbour_mib, tlv); 130 hashmap_size(lldp->neighbour_mib), 436 assert(lldp->neighbour_mib); 440 while ((c = hashmap_steal_first(lldp->neighbour_mib))) { 447 assert(hashmap_size(lldp->neighbour_mib) == 0); 472 HASHMAP_FOREACH(c, lldp->neighbour_mib, i) { 682 hashmap_free(lldp->neighbour_mib); 709 lldp->neighbour_mib = hashmap_new(&chassis_id_hash_ops); 710 if (!lldp->neighbour_mib) [all...] |
Completed in 463 milliseconds