source: EcnlProtoTool/trunk/musl-1.1.18/include/arpa/inet.h@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 807 bytes
Line 
1#ifndef _ARPA_INET_H
2#define _ARPA_INET_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include <features.h>
9#include <netinet/in.h>
10
11uint32_t htonl(uint32_t);
12uint16_t htons(uint16_t);
13uint32_t ntohl(uint32_t);
14uint16_t ntohs(uint16_t);
15
16in_addr_t inet_addr (const char *);
17in_addr_t inet_network (const char *);
18char *inet_ntoa (struct in_addr);
19int inet_pton (int, const char *__restrict, void *__restrict);
20const char *inet_ntop (int, const void *__restrict, char *__restrict, socklen_t);
21
22int inet_aton (const char *, struct in_addr *);
23struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
24in_addr_t inet_lnaof(struct in_addr);
25in_addr_t inet_netof(struct in_addr);
26
27#undef INET_ADDRSTRLEN
28#undef INET6_ADDRSTRLEN
29#define INET_ADDRSTRLEN 16
30#define INET6_ADDRSTRLEN 46
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif
Note: See TracBrowser for help on using the repository browser.