Lines Matching refs:Neighbor
13 Neighbor *neighbor_free(Neighbor *neighbor) { in neighbor_free()
30 DEFINE_SECTION_CLEANUP_FUNCTIONS(Neighbor, neighbor_free);
32 …eighbor_new_static(Network *network, const char *filename, unsigned section_line, Neighbor **ret) { in neighbor_new_static()
34 _cleanup_(neighbor_freep) Neighbor *neighbor = NULL; in neighbor_new_static()
52 neighbor = new(Neighbor, 1); in neighbor_new_static()
56 *neighbor = (Neighbor) { in neighbor_new_static()
71 static int neighbor_dup(const Neighbor *neighbor, Neighbor **ret) { in neighbor_dup()
72 _cleanup_(neighbor_freep) Neighbor *dest = NULL; in neighbor_dup()
77 dest = newdup(Neighbor, neighbor, 1); in neighbor_dup()
90 static void neighbor_hash_func(const Neighbor *neighbor, struct siphash *state) { in neighbor_hash_func()
109 static int neighbor_compare_func(const Neighbor *a, const Neighbor *b) { in neighbor_compare_func()
127 DEFINE_PRIVATE_HASH_OPS_WITH_KEY_DESTRUCTOR(neighbor_hash_ops, Neighbor, neighbor_hash_func, neighb…
129 static int neighbor_get(Link *link, const Neighbor *in, Neighbor **ret) { in neighbor_get()
130 Neighbor *existing; in neighbor_get()
144 static int neighbor_add(Link *link, Neighbor *neighbor) { in neighbor_add()
160 static void log_neighbor_debug(const Neighbor *neighbor, const char *str, const Link *link) { in log_neighbor_debug()
178 static int neighbor_configure_message(Neighbor *neighbor, Link *link, sd_netlink_message *req) { in neighbor_configure_message()
196 static int neighbor_configure(Neighbor *neighbor, Link *link, Request *req) { in neighbor_configure()
221 static int neighbor_process_request(Request *req, Link *link, Neighbor *neighbor) { in neighbor_process_request()
239 …re_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *link, Neighbor *neighbor) { in static_neighbor_configure_handler()
261 static int link_request_neighbor(Link *link, const Neighbor *neighbor) { in link_request_neighbor()
262 Neighbor *existing; in link_request_neighbor()
270 _cleanup_(neighbor_freep) Neighbor *tmp = NULL; in link_request_neighbor()
301 Neighbor *neighbor; in link_request_static_neighbors()
344 static int neighbor_remove(Neighbor *neighbor) { in neighbor_remove()
379 Neighbor *neighbor; in link_drop_foreign_neighbors()
400 Neighbor *existing; in link_drop_foreign_neighbors()
419 Neighbor *neighbor; in link_drop_managed_neighbors()
442 Neighbor *neighbor; in link_foreignize_neighbors()
451 _cleanup_(neighbor_freep) Neighbor *tmp = NULL; in manager_rtnl_process_neighbor()
452 Neighbor *neighbor = NULL; in manager_rtnl_process_neighbor()
504 tmp = new0(Neighbor, 1); in manager_rtnl_process_neighbor()
567 static int neighbor_section_verify(Neighbor *neighbor) { in neighbor_section_verify()
587 Neighbor *neighbor; in network_drop_invalid_neighbors()
609 _cleanup_(neighbor_free_or_set_invalidp) Neighbor *n = NULL; in config_parse_neighbor_address()
653 _cleanup_(neighbor_free_or_set_invalidp) Neighbor *n = NULL; in config_parse_neighbor_lladdr()