diff options
Diffstat (limited to 'libc/include/netinet/in.h')
-rw-r--r-- | libc/include/netinet/in.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/netinet/in.h b/libc/include/netinet/in.h index bf3b498..44c7fc1 100644 --- a/libc/include/netinet/in.h +++ b/libc/include/netinet/in.h @@ -25,6 +25,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + #ifndef _NETINET_IN_H_ #define _NETINET_IN_H_ @@ -43,6 +44,9 @@ __BEGIN_DECLS #define INET_ADDRSTRLEN 16 +typedef uint16_t in_port_t; +typedef uint32_t in_addr_t; + extern int bindresvport (int sd, struct sockaddr_in *sin); static const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; |