blob: 0eb87e9dc3cdc8ddd6cca051cb56aad4b9146e29 [file] [log] [blame]
willy tarreaua41a8b42005-12-17 14:02:24 +01001#include <stdio.h>
2#include <stdlib.h>
3#include <unistd.h>
4#include <string.h>
5#include <ctype.h>
6#include <sys/time.h>
7#include <sys/types.h>
8#include <sys/socket.h>
9#include <netinet/tcp.h>
10#include <netinet/in.h>
11#include <arpa/inet.h>
12#include <netdb.h>
13#include <fcntl.h>
14#include <errno.h>
15#include <signal.h>
16#include <stdarg.h>
17#include <sys/resource.h>
18#include <time.h>
19#include <regex.h>
20#include <syslog.h>
21
22
Willy Tarreau38ceb552021-04-02 10:33:38 +020023int main() {
willy tarreaua41a8b42005-12-17 14:02:24 +010024 printf("sizeof sockaddr=%d\n", sizeof(struct sockaddr));
25 printf("sizeof sockaddr_in=%d\n", sizeof(struct sockaddr_in));
26 printf("sizeof sockaddr_in6=%d\n", sizeof(struct sockaddr_in6));
Willy Tarreau38ceb552021-04-02 10:33:38 +020027 return 0;
willy tarreaua41a8b42005-12-17 14:02:24 +010028}