Last change
on this file 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:
600 bytes
|
Rev | Line | |
---|
[279] | 1 | #ifndef _NETINET_UDP_H
|
---|
| 2 | #define _NETINET_UDP_H
|
---|
| 3 |
|
---|
| 4 | #ifdef __cplusplus
|
---|
| 5 | extern "C" {
|
---|
| 6 | #endif
|
---|
| 7 |
|
---|
| 8 | #include <features.h>
|
---|
| 9 | #include <stdint.h>
|
---|
| 10 |
|
---|
| 11 | #ifdef _GNU_SOURCE
|
---|
| 12 | #define uh_sport source
|
---|
| 13 | #define uh_dport dest
|
---|
| 14 | #define uh_ulen len
|
---|
| 15 | #define uh_sum check
|
---|
| 16 | #endif
|
---|
| 17 |
|
---|
| 18 | struct udphdr {
|
---|
| 19 | uint16_t uh_sport;
|
---|
| 20 | uint16_t uh_dport;
|
---|
| 21 | uint16_t uh_ulen;
|
---|
| 22 | uint16_t uh_sum;
|
---|
| 23 | };
|
---|
| 24 |
|
---|
| 25 | #define UDP_CORK 1
|
---|
| 26 | #define UDP_ENCAP 100
|
---|
| 27 |
|
---|
| 28 | #define UDP_ENCAP_ESPINUDP_NON_IKE 1
|
---|
| 29 | #define UDP_ENCAP_ESPINUDP 2
|
---|
| 30 | #define UDP_ENCAP_L2TPINUDP 3
|
---|
[331] | 31 | #define UDP_ENCAP_GTP0 4
|
---|
| 32 | #define UDP_ENCAP_GTP1U 5
|
---|
[279] | 33 |
|
---|
| 34 | #define SOL_UDP 17
|
---|
| 35 |
|
---|
| 36 | #ifdef __cplusplus
|
---|
| 37 | }
|
---|
| 38 | #endif
|
---|
| 39 |
|
---|
| 40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.