D | sock.c | 11 int __test_listen_socket(int backlog, void *addr, size_t addr_sz) in __test_listen_socket() argument 24 if (bind(sk, (struct sockaddr *)addr, addr_sz) < 0) in __test_listen_socket() 73 void *addr, size_t addr_sz, time_t timeout) in __test_connect_socket() argument 86 err = connect(sk, addr, addr_sz); in __test_connect_socket() 98 if (connect(sk, addr, addr_sz) < 0) { in __test_connect_socket() 116 int __test_set_md5(int sk, void *addr, size_t addr_sz, uint8_t prefix, in __test_set_md5() argument 130 memcpy(&md5sig.tcpm_addr, addr, addr_sz); in __test_set_md5() 139 void *addr, size_t addr_sz, bool set_current, bool set_rnext, in test_prepare_key_sockaddr() argument 156 memcpy(&ao->addr, addr, addr_sz); in test_prepare_key_sockaddr() 183 void *addr, size_t addr_sz, uint8_t prefix, in test_get_one_ao() argument [all …]
|