xref: /netbsd-src/external/bsd/ntp/dist/tests/libntp/sockaddrtest.h (revision cdfa2a7ef92791ba9db70a584a1d904730e6fb46)
1 /*	$NetBSD: sockaddrtest.h,v 1.6 2020/05/25 20:47:36 christos Exp $	*/
2 
3 #ifndef TESTS_SOCKADDRTEST_H
4 #define TESTS_SOCKADDRTEST_H
5 
6 #include "config.h"
7 #include "ntp.h"
8 #include "ntp_stdlib.h"
9 
10 
11 sockaddr_u CreateSockaddr4(const char* address, unsigned int port);
12 
13 int IsEqual(const sockaddr_u expected, const sockaddr_u actual);
14 
15 #endif // TESTS_SOCKADDRTEST_H
16