summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/headers/public/__struct_sockaddr_in.h
blob: 5d4ce51becc4557a65db04ab15dcad95f5233053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __wasilibc___struct_sockaddr_in_h
#define __wasilibc___struct_sockaddr_in_h

#include <__typedef_sa_family_t.h>
#include <__typedef_in_port_t.h>
#include <__struct_in_addr.h>

struct sockaddr_in {
    __attribute__((aligned(__BIGGEST_ALIGNMENT__))) sa_family_t sin_family;
    in_port_t sin_port;
    struct in_addr sin_addr;
};

#endif