1 | /*
|
---|
2 | * TINET (TCP/IP Protocol Stack)
|
---|
3 | *
|
---|
4 | * Copyright (C) 2001-2017 by Dep. of Computer Science and Engineering
|
---|
5 | * Tomakomai National College of Technology, JAPAN
|
---|
6 | *
|
---|
7 | * 上記著作権者は,以下の (1)~(4) の条件か,Free Software Foundation
|
---|
8 | * によって公表されている GNU General Public License の Version 2 に記
|
---|
9 | * 述されている条件を満たす場合に限り,本ソフトウェア(本ソフトウェア
|
---|
10 | * を改変したものを含む.以下同じ)を使用・複製・改変・再配布(以下,
|
---|
11 | * 利用と呼ぶ)することを無償で許諾する.
|
---|
12 | * (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作
|
---|
13 | * 権表示,この利用条件および下記の無保証規定が,そのままの形でソー
|
---|
14 | * スコード中に含まれていること.
|
---|
15 | * (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使
|
---|
16 | * 用できる形で再配布する場合には,再配布に伴うドキュメント(利用
|
---|
17 | * 者マニュアルなど)に,上記の著作権表示,この利用条件および下記
|
---|
18 | * の無保証規定を掲載すること.
|
---|
19 | * (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使
|
---|
20 | * 用できない形で再配布する場合には,次の条件を満たすこと.
|
---|
21 | * (a) 再配布に伴うドキュメント(利用者マニュアルなど)に,上記の著
|
---|
22 | * 作権表示,この利用条件および下記の無保証規定を掲載すること.
|
---|
23 | * (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損
|
---|
24 | * 害からも,上記著作権者およびTOPPERSプロジェクトを免責すること.
|
---|
25 | *
|
---|
26 | * 本ソフトウェアは,無保証で提供されているものである.上記著作権者お
|
---|
27 | * よびTOPPERSプロジェクトは,本ソフトウェアに関して,その適用可能性も
|
---|
28 | * 含めて,いかなる保証も行わない.また,本ソフトウェアの利用により直
|
---|
29 | * 接的または間接的に生じたいかなる損害に関しても,その責任を負わない.
|
---|
30 | *
|
---|
31 | * @(#) $Id: in_rename.h 315 2017-07-23 05:29:40Z coas-nagasima $
|
---|
32 | */
|
---|
33 |
|
---|
34 | #ifndef _IN_RENAME_H_
|
---|
35 | #define _IN_RENAME_H_
|
---|
36 |
|
---|
37 | /*
|
---|
38 | * TCP/IP プロトコルスタック内部名のリネーム
|
---|
39 | */
|
---|
40 |
|
---|
41 | /* netinet/tcp_input.c */
|
---|
42 |
|
---|
43 | #define tcp_input _tinet_tcp_input
|
---|
44 | #define tcp_move_twcep _tinet_tcp_move_twcep
|
---|
45 |
|
---|
46 | /* netinet/tcp_output.c */
|
---|
47 |
|
---|
48 | /* netinet/tcp_timer.c */
|
---|
49 |
|
---|
50 | #define tcp_cancel_timers _tinet_tcp_cancel_timers
|
---|
51 | #define tcp_slow_timo _tinet_tcp_slow_timo
|
---|
52 | #define tcp_fast_timo _tinet_tcp_fast_timo
|
---|
53 | #define tcp_range_set _tinet_tcp_range_set
|
---|
54 | #define tcp_set_persist_timer _tinet_tcp_set_persist_timer
|
---|
55 |
|
---|
56 | /* netinet/tcp_usrrq.c */
|
---|
57 |
|
---|
58 | #define tcp_user_closed _tinet_tcp_user_closed
|
---|
59 |
|
---|
60 | /* netinet/tcp_subr.c */
|
---|
61 |
|
---|
62 | #define tcp_iss _tinet_tcp_iss
|
---|
63 | #define tcp_init _tinet_tcp_init
|
---|
64 | #define tcp_init_iss _tinet_tcp_init_iss
|
---|
65 | #define tcp_close _tinet_tcp_close
|
---|
66 | #define tcp_drop _tinet_tcp_drop
|
---|
67 | #define tcp_respond _tinet_tcp_respond
|
---|
68 | #define tcp_get_segment _tinet_tcp_get_segment
|
---|
69 | #define tcp_rexmt_val _tinet_tcp_rexmt_val
|
---|
70 | #define tcp_init_cep _tinet_tcp_init_cep
|
---|
71 | #define tcp_notify _tinet_tcp_notify
|
---|
72 | #define tcp_alloc_auto_port _tinet_tcp_alloc_auto_port
|
---|
73 | #define tcp_alloc_port _tinet_tcp_alloc_port
|
---|
74 | #define tcp_free_reassq _tinet_tcp_free_reassq
|
---|
75 | #define tcp_move_ra2rw _tinet_tcp_move_ra2rw
|
---|
76 | #define tcp_wait_rwbuf _tinet_tcp_wait_rwbuf
|
---|
77 | #define tcp_write_raque _tinet_tcp_write_raque
|
---|
78 | #define tcp_lock_cep _tinet_tcp_lock_cep
|
---|
79 | #define tcp_can_send_more _tinet_tcp_can_send_more
|
---|
80 | #define tcp_can_recv_more _tinet_tcp_can_recv_more
|
---|
81 | #define tcp_output_trace _tinet_tcp_output_trace
|
---|
82 | #define tcp_input_trace _tinet_tcp_input_trace
|
---|
83 | #define tcp_find_cep _tinet_tcp_find_cep
|
---|
84 | #define tcp_find_twcep _tinet_tcp_find_twcep
|
---|
85 | #define tcp_is_addr_accept _tinet_tcp_is_addr_accept
|
---|
86 | #define tcp_move_twcep _tinet_tcp_move_twcep
|
---|
87 | #define tcpn_get_segment _tinet_tcpn_get_segment
|
---|
88 |
|
---|
89 | /* netinet/tcp_subr_cs.c */
|
---|
90 |
|
---|
91 | #define tcp_read_rwbuf _tinet_tcp_read_rwbuf
|
---|
92 | #define tcp_write_rwbuf _tinet_tcp_write_rwbuf
|
---|
93 | #define tcp_drop_rwbuf _tinet_tcp_drop_rwbuf
|
---|
94 | #define tcp_free_rwbufq _tinet_tcp_free_rwbufq
|
---|
95 | #define tcp_get_rwbuf_addr _tinet_tcp_get_rwbuf_addr
|
---|
96 |
|
---|
97 | #define tcp_free_rwbufq_cs _tinet_tcp_free_rwbufq_cs
|
---|
98 | #define tcp_get_rwbuf_addr_cs _tinet_tcp_get_rwbuf_addr_cs
|
---|
99 | #define tcp_read_rwbuf_cs _tinet_tcp_read_rwbuf_cs
|
---|
100 | #define tcp_write_rwbuf_cs _tinet_tcp_write_rwbuf_cs
|
---|
101 | #define tcp_drop_rwbuf_cs _tinet_tcp_drop_rwbuf_cs
|
---|
102 |
|
---|
103 | #define tcp_wait_swbuf _tinet_tcp_wait_swbuf
|
---|
104 | #define tcp_init_swbuf _tinet_tcp_init_swbuf
|
---|
105 | #define tcp_alloc_swbuf _tinet_tcp_alloc_swbuf
|
---|
106 | #define tcp_is_swbuf_full _tinet_tcp_is_swbuf_full
|
---|
107 | #define tcp_drop_swbuf _tinet_tcp_drop_swbuf
|
---|
108 | #define tcp_free_swbufq _tinet_tcp_free_swbufq
|
---|
109 | #define tcp_read_swbuf _tinet_tcp_read_swbuf
|
---|
110 | #define tcp_write_swbuf _tinet_tcp_write_swbuf
|
---|
111 | #define tcp_pull_res_nbuf _tinet_tcp_pull_res_nbuf
|
---|
112 | #define tcp_push_res_nbuf _tinet_tcp_push_res_nbuf
|
---|
113 | #define tcp_get_swbuf_addr _tinet_tcp_get_swbuf_addr
|
---|
114 | #define tcp_send_swbuf _tinet_tcp_send_swbuf
|
---|
115 |
|
---|
116 | #define tcp_get_swbuf_addr_cs _tinet_tcp_get_swbuf_addr_cs
|
---|
117 | #define tcp_wait_swbuf_cs _tinet_tcp_wait_swbuf_cs
|
---|
118 | #define tcp_is_swbuf_full_cs _tinet_tcp_is_swbuf_full_cs
|
---|
119 | #define tcp_alloc_swbuf_cs _tinet_tcp_alloc_swbuf_cs
|
---|
120 | #define tcp_send_swbuf_cs _tinet_tcp_send_swbuf_cs
|
---|
121 | #define tcp_free_swbufq_cs _tinet_tcp_free_swbufq_cs
|
---|
122 | #define tcp_drop_swbuf_cs _tinet_tcp_drop_swbuf_cs
|
---|
123 | #define tcp_write_swbuf_cs _tinet_tcp_write_swbuf_cs
|
---|
124 |
|
---|
125 | /* netinet/tcp_subr_ncs.c */
|
---|
126 |
|
---|
127 | #define tcp_drop_rwbuf_ncs _tinet_tcp_drop_rwbuf_ncs
|
---|
128 | #define tcp_read_rwbuf_ncs _tinet_tcp_read_rwbuf_ncs
|
---|
129 | #define tcp_is_swbuf_full_ncs _tinet_tcp_is_swbuf_full_ncs
|
---|
130 | #define tcp_drop_swbuf_ncs _tinet_tcp_drop_swbuf_ncs
|
---|
131 | #define tcp_read_swbuf_ncs _tinet_tcp_read_swbuf_ncs
|
---|
132 | #define tcp_wait_swbuf_ncs _tinet_tcp_wait_swbuf_ncs
|
---|
133 | #define tcp_write_swbuf_ncs _tinet_tcp_write_swbuf_ncs
|
---|
134 | #define tcp_write_rwbuf_ncs _tinet_tcp_write_rwbuf_ncs
|
---|
135 | #define tcp_get_swbuf_addr_ncs _tinet_tcp_get_swbuf_addr_ncs
|
---|
136 | #define tcp_send_swbuf_ncs _tinet_tcp_send_swbuf_ncs
|
---|
137 | #define tcp_get_rwbuf_addr_ncs _tinet_tcp_get_rwbuf_addr_ncs
|
---|
138 |
|
---|
139 | /* tcp_cfg.c */
|
---|
140 |
|
---|
141 | #define tcp6_rep _tinet_tcp6_rep
|
---|
142 | #define tcp4_rep _tinet_tcp4_rep
|
---|
143 | #define tcp_cep _tinet_tcp_cep
|
---|
144 | #define tcp_twcep _tinet_tcp_twcep
|
---|
145 | #define tmax_tcp_repid _tinet_tmax_tcp_repid
|
---|
146 | #define tmax_tcp_cepid _tinet_tmax_tcp_cepid
|
---|
147 | #define tmax_tcp_crepid _tinet_tmax_tcp_repid /* TINET 1.3 との互換性のための定義 */
|
---|
148 | #define tmax_tcp_ccepid _tinet_tmax_tcp_cepid /* TINET 1.3 との互換性のための定義 */
|
---|
149 |
|
---|
150 | /* netinet/udp_input.c */
|
---|
151 |
|
---|
152 | #define udp6_reply_no_port _tinet_udp6_reply_no_port
|
---|
153 | #define udp6_input_select _tinet_udp6_input_select
|
---|
154 | #define udp6_input _tinet_udp6_input
|
---|
155 | #define udp4_reply_no_port _tinet_udp4_reply_no_port
|
---|
156 | #define udp4_input_select _tinet_udp4_input_select
|
---|
157 | #define udp4_input _tinet_udp4_input
|
---|
158 |
|
---|
159 | /* netinet/udp_subr.c */
|
---|
160 |
|
---|
161 | #define udp6_alloc_port _tinet_udp6_alloc_port
|
---|
162 | #define udp6_alloc_auto_port _tinet_udp6_alloc_auto_port
|
---|
163 | #define udp6_notify _tinet_udp6_notify
|
---|
164 | #define udp6_find_cep _tinet_udp6_find_cep
|
---|
165 | #define udp4_alloc_port _tinet_udp4_alloc_port
|
---|
166 | #define udp4_alloc_auto_port _tinet_udp4_alloc_auto_port
|
---|
167 | #define udp4_notify _tinet_udp4_notify
|
---|
168 | #define udp4_find_cep _tinet_udp4_find_cep
|
---|
169 |
|
---|
170 | /* netinet/udp_usrreq.c */
|
---|
171 |
|
---|
172 | #define udp_send_data _tinet_udp_send_data
|
---|
173 |
|
---|
174 | /* netinet/udp_usrreq_nblk.c */
|
---|
175 |
|
---|
176 | #define udp_can_rcv _tinet_udp_can_rcv
|
---|
177 | #define udp_can_snd _tinet_udp_can_snd
|
---|
178 |
|
---|
179 | /* udp_cfg.c */
|
---|
180 |
|
---|
181 | #define udp6_cep _tinet_udp6_cep
|
---|
182 | #define udp4_cep _tinet_udp4_cep
|
---|
183 | #define tmax_udp_cepid _tinet_tmax_udp_cepid
|
---|
184 | #define tmax_udp_ccepid _tinet_tmax_udp_cepid /* TINET 1.3 との互換性のための定義 */
|
---|
185 |
|
---|
186 | /* netinet/ip_icmp.c */
|
---|
187 |
|
---|
188 | #define icmp_input _tinet_icmp_input
|
---|
189 | #define icmp_error _tinet_icmp_error
|
---|
190 | #define icmp_echo_reply _tinet_icmp_echo_reply
|
---|
191 |
|
---|
192 | /* netinet/ip_input.c */
|
---|
193 |
|
---|
194 | #define ip_input _tinet_ip_input
|
---|
195 | #define ip_init _tinet_ip_init
|
---|
196 | #define ip_frag_timer _tinet_ip_frag_timer
|
---|
197 | #define ip_get_frag_queue _tinet_ip_get_frag_queue
|
---|
198 | #define ip_remove_options _tinet_ip_remove_options
|
---|
199 |
|
---|
200 | /* netinet/ip_output.c */
|
---|
201 |
|
---|
202 | #define ip_output _tinet_ip_output
|
---|
203 |
|
---|
204 | /* netinet/in_subr.c */
|
---|
205 |
|
---|
206 | #define inn_addrwithifp _tinet_inn_addrwithifp
|
---|
207 | #define in_cksum_carry _tinet_in_cksum_carry
|
---|
208 | #define inn_is_addr_multicast _tinet_inn_is_addr_multicast
|
---|
209 | #define inn_get_datagram _tinet_inn_get_datagram
|
---|
210 | #define inn_is_dstaddr_accept _tinet_inn_is_dstaddr_accept
|
---|
211 | #define ip_exchg_addr _tinet_ip_exchg_addr
|
---|
212 | #define inn_copy_to_host _tinet_inn_copy_to_host
|
---|
213 | #define in_cksum_sum _tinet_in_cksum_sum
|
---|
214 | #define inn_are_net_srcaddr_equal \
|
---|
215 | _tinet_inn_are_net_srcaddr_equal
|
---|
216 |
|
---|
217 | /* netinet/in4_subr.c */
|
---|
218 |
|
---|
219 | #define in4_add_ifaddr _tinet_in4_add_ifaddr
|
---|
220 | #define in4_set_header _tinet_in4_set_header
|
---|
221 | #define inn4_is_dstaddr_accept _tinet_inn4_is_dstaddr_accept
|
---|
222 | #define in4_rtredirect _tinet_in4_rtredirect
|
---|
223 | #define in_rtnewentry _tinet_in_rtnewentry
|
---|
224 | #define in_cksum _tinet_in_cksum
|
---|
225 | #define in4_addrwithifp _tinet_in4_addrwithifp
|
---|
226 | #define in4_rtalloc _tinet_in4_rtalloc
|
---|
227 | #define in4_init _tinet_in4_init
|
---|
228 | #define in_rttimer _tinet_in_rttimer
|
---|
229 | #define in4_get_ifaddr _tinet_in4_get_ifaddr
|
---|
230 | #define in4_get_datagram _tinet_in4_get_datagram
|
---|
231 | #define in4_is_dstaddr_accept _tinet_in4_is_dstaddr_accept
|
---|
232 | #define in4_cksum _tinet_in4_cksum
|
---|
233 | #define in_rtinit _tinet_in_rtinit
|
---|
234 | #define in4_ifawithifp _tinet_in4_ifawithifp
|
---|
235 |
|
---|
236 | /* netinet/if_ether.c */
|
---|
237 |
|
---|
238 | #define arp_request _tinet_arp_request
|
---|
239 | #define arp_input _tinet_arp_input
|
---|
240 | #define arp_resolve _tinet_arp_resolve
|
---|
241 | #define arp_init _tinet_arp_init
|
---|
242 | #define arp_get_cache _tinet_arp_get_cache
|
---|
243 |
|
---|
244 | /* netinet6/icmp6.c */
|
---|
245 |
|
---|
246 | #define icmp6_input _tinet_icmp6_input
|
---|
247 |
|
---|
248 | #endif /* of #ifndef _IN_RENAME_H_ */
|
---|