summaryrefslogtreecommitdiff
path: root/src/libc/include/arpa/inet.h
blob: 1e4f97e6eff463e0a746b1976a1b0757e31f35e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <netinet/in.h>
#include <stdint.h>

uint32_t htonl(uint32_t n);
uint16_t htons(uint16_t n);

uint32_t ntohl(uint32_t n);
uint16_t ntohs(uint16_t n);

int inet_aton(const char *s, struct in_addr *dest);