Searched refs:addrvec_t (Results 1 – 5 of 5) sorted by relevance
43 } addrvec_t; typedef48 void addrvec_init(addrvec_t *avec);53 void addrvec_free(addrvec_t *avec);58 int addrvec_alloc(addrvec_t *avec);63 int addrvec_alloc_capacity(addrvec_t *avec, uint32_t capacity);69 int addrvec_grow(addrvec_t *avec, uint32_t grow_amount);74 int addrvec_grow_default(addrvec_t *avec);98 void addrvec_shuffle(addrvec_t *avec);105 int addrvec_hasnext(const addrvec_t *avec);111 int addrvec_atend(const addrvec_t *avec);[all …]
34 void addrvec_init(addrvec_t *avec) in addrvec_init()43 void addrvec_free(addrvec_t *avec) in addrvec_free()59 int addrvec_alloc(addrvec_t *avec) in addrvec_alloc()65 int addrvec_alloc_capacity(addrvec_t* avec, uint32_t capacity) in addrvec_alloc_capacity()71 int addrvec_grow(addrvec_t *avec, uint32_t grow_amount) in addrvec_grow()99 int addrvec_grow_default(addrvec_t *avec) in addrvec_grow_default()104 static int addrvec_grow_if_full(addrvec_t *avec) in addrvec_grow_if_full()192 void addrvec_shuffle(addrvec_t *avec) in addrvec_shuffle()205 int addrvec_hasnext(const addrvec_t *avec) in addrvec_hasnext()210 int addrvec_atend(const addrvec_t *avec) in addrvec_atend()[all …]
200 addrvec_t addrs; // current list of addresses we're connected to201 addrvec_t addrs_old; // old list of addresses that we are no longer connected to202 … addrvec_t addrs_new; // new list of addresses to connect to if we're reconfiguring
794 static int resolve_hosts(const zhandle_t *zh, const char *hosts_in, addrvec_t *avec)1049 addrvec_t resolved = { 0 };
631 addrvec_t vec; in testAddrVecContainsIPv4()666 addrvec_t vec; in testAddrVecContainsIPv6()