Last change
on this file since 445 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
|
File size:
592 bytes
|
Line | |
---|
1 | #ifndef _IFADDRS_H
|
---|
2 | #define _IFADDRS_H
|
---|
3 |
|
---|
4 | #ifdef __cplusplus
|
---|
5 | extern "C" {
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #include <features.h>
|
---|
9 | #include <netinet/in.h>
|
---|
10 | #include <sys/socket.h>
|
---|
11 |
|
---|
12 | struct ifaddrs {
|
---|
13 | struct ifaddrs *ifa_next;
|
---|
14 | char *ifa_name;
|
---|
15 | unsigned ifa_flags;
|
---|
16 | struct sockaddr *ifa_addr;
|
---|
17 | struct sockaddr *ifa_netmask;
|
---|
18 | union {
|
---|
19 | struct sockaddr *ifu_broadaddr;
|
---|
20 | struct sockaddr *ifu_dstaddr;
|
---|
21 | } ifa_ifu;
|
---|
22 | void *ifa_data;
|
---|
23 | };
|
---|
24 | #define ifa_broadaddr ifa_ifu.ifu_broadaddr
|
---|
25 | #define ifa_dstaddr ifa_ifu.ifu_dstaddr
|
---|
26 |
|
---|
27 | void freeifaddrs(struct ifaddrs *);
|
---|
28 | int getifaddrs(struct ifaddrs **);
|
---|
29 |
|
---|
30 | #ifdef __cplusplus
|
---|
31 | }
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #endif
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.