[270] | 1 | /*
|
---|
| 2 | * TINET (TCP/IP Protocol Stack)
|
---|
| 3 | *
|
---|
[331] | 4 | * Copyright (C) 2001-2017 by Dep. of Computer Science and Engineering
|
---|
[270] | 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$
|
---|
| 32 | */
|
---|
| 33 |
|
---|
| 34 | #ifndef _NET_RENAME_H_
|
---|
| 35 | #define _NET_RENAME_H_
|
---|
| 36 |
|
---|
| 37 | /*
|
---|
| 38 | * 汎用ネットワークインタフェース内部名のリネーム
|
---|
| 39 | */
|
---|
| 40 |
|
---|
| 41 | /* net/ethernet.c */
|
---|
| 42 |
|
---|
[331] | 43 | #define ether_input_task _tinet_ether_input_task
|
---|
| 44 | #define ether_get_ifnet _tinet_ether_get_ifnet
|
---|
| 45 | #define ether_in6_resolve_multicast \
|
---|
| 46 | _tinet_ether_in6_resolve_multicast
|
---|
| 47 | #define ether_srand _tinet_ether_srand
|
---|
| 48 | #define ether_output _tinet_ether_output
|
---|
| 49 | #define ether_raw_output _tinet_ether_raw_output
|
---|
| 50 | #define ether_output_task _tinet_ether_output_task
|
---|
| 51 |
|
---|
[270] | 52 | #define ether_broad_cast_addr _tinet_ether_broad_cast_addr
|
---|
| 53 | #define ether_ipv4_addr_local _tinet_ether_ipv4_addr_local
|
---|
| 54 | #define ether_ipv4_addr_local_mask \
|
---|
| 55 | _tinet_ether_ipv4_addr_local_mask
|
---|
| 56 |
|
---|
| 57 | #define ether_in6_ifaddr _tinet_ether_in6_ifaddr
|
---|
| 58 | #define ether_in6_ifaddr_list _tinet_ether_in6_ifaddr_list
|
---|
| 59 |
|
---|
| 60 | /* net/if.c */
|
---|
| 61 |
|
---|
| 62 | #ifdef SUPPORT_ETHER
|
---|
| 63 |
|
---|
| 64 | #define ifinit _tinet_ifinit
|
---|
| 65 | #define if_addmulti _tinet_if_addmulti
|
---|
| 66 |
|
---|
| 67 | #endif /* of #ifdef SUPPORT_ETHER */
|
---|
| 68 |
|
---|
| 69 | /* net/net_buf.c */
|
---|
| 70 |
|
---|
| 71 | #define tget_net_buf_ex _tinet_tget_net_buf_ex
|
---|
| 72 | #define tget_net_buf _tinet_tget_net_buf
|
---|
[429] | 73 | #define rel_net_buf _tinet_rel_net_buf
|
---|
| 74 | #define rus_net_buf _tinet_rus_net_buf
|
---|
| 75 | #define net_buf_siz _tinet_net_buf_siz
|
---|
[270] | 76 | #define net_buf_max_siz _tinet_net_buf_max_siz
|
---|
| 77 | #define nbuf_get_tbl _tinet_nbuf_get_tbl
|
---|
| 78 | #define nbuf_get_tbl_size _tinet_nbuf_get_tbl_size
|
---|
| 79 |
|
---|
| 80 | /* net/net_subr.c */
|
---|
| 81 |
|
---|
| 82 | #define convert_hexdigit _tinet_convert_hexdigit
|
---|
| 83 | #define net_rand _tinet_net_rand
|
---|
| 84 | #define net_srand _tinet_net_srand
|
---|
| 85 | #define rev_memcpy_word _tinet_rev_memcpy_word
|
---|
| 86 | #define rev_memcmp_word _tinet_rev_memcmp_word
|
---|
| 87 |
|
---|
| 88 | /* net/net_timer.c */
|
---|
| 89 |
|
---|
| 90 | #define timeout _tinet_timeout
|
---|
| 91 | #define untimeout _tinet_untimeout
|
---|
| 92 | #define busy_callout _tinet_busy_callout
|
---|
| 93 | #define max_busy _tinet_max_busy
|
---|
| 94 |
|
---|
| 95 | /* route_cfg.c */
|
---|
| 96 |
|
---|
[331] | 97 | #define routing6_tbl _tinet_routing6_tbl
|
---|
| 98 | #define routing4_tbl _tinet_routing4_tbl
|
---|
[270] | 99 |
|
---|
| 100 | #ifdef SUPPORT_PPP
|
---|
| 101 |
|
---|
| 102 | /* net/ppp.c */
|
---|
| 103 |
|
---|
| 104 | #define ppp_output _tinet_ppp_output
|
---|
| 105 | #define ppp_cp_output _tinet_ppp_cp_output
|
---|
| 106 | #define ppp_phase _tinet_ppp_phase
|
---|
| 107 | #define protocols _tinet_protocols
|
---|
| 108 |
|
---|
| 109 | /* net/ppp_hdlc.c */
|
---|
| 110 |
|
---|
| 111 | #define HDLC_dummy_read _tinet_HDLC_dummy_read
|
---|
| 112 | #define HDLC_read _tinet_HDLC_read
|
---|
| 113 | #define HDLC_write _tinet_HDLC_write
|
---|
| 114 | #define remote_ACCM _tinet_remote_ACCM
|
---|
| 115 |
|
---|
| 116 | /* net/ppp_lcp.c */
|
---|
| 117 |
|
---|
| 118 | #define lcp_close _tinet_lcp_close
|
---|
| 119 | #define lcp_open _tinet_lcp_open
|
---|
| 120 | #define lcp_lowerdown _tinet_lcp_lowerdown
|
---|
| 121 | #define lcp_sprotrej _tinet_lcp_sprotrej
|
---|
| 122 | #define lcp_lowerup _tinet_lcp_lowerup
|
---|
| 123 | #define lcp_finished _tinet_lcp_finished
|
---|
| 124 | #define lcp_down _tinet_lcp_down
|
---|
| 125 | #define lcp_callbacks _tinet_lcp_callbacks
|
---|
| 126 | #define lcp_fsm _tinet_lcp_fsm
|
---|
| 127 | #define lcp_protent _tinet_lcp_protent
|
---|
| 128 | #define lcp_local_ack_cfg _tinet_lcp_local_ack_cfg
|
---|
| 129 | #define lcp_remote_ack_cfg _tinet_lcp_remote_ack_cfg
|
---|
| 130 |
|
---|
| 131 | /* net/ppp_fsm.c */
|
---|
| 132 |
|
---|
| 133 | #define fsm_init _tinet_fsm_init
|
---|
| 134 | #define fsm_open _tinet_fsm_open
|
---|
| 135 | #define fsm_input _tinet_fsm_input
|
---|
| 136 | #define fsm_protreject _tinet_fsm_protreject
|
---|
| 137 | #define fsm_lowerdown _tinet_fsm_lowerdown
|
---|
| 138 | #define fsm_close _tinet_fsm_close
|
---|
| 139 | #define fsm_lowerup _tinet_fsm_lowerup
|
---|
| 140 | #define ppp_open_mode _tinet_ppp_open_mode
|
---|
| 141 |
|
---|
| 142 | /* net/ppp_auth.c */
|
---|
| 143 |
|
---|
| 144 | #define auth_reset _tinet_auth_reset
|
---|
| 145 | #define link_terminated _tinet_link_terminated
|
---|
| 146 | #define link_established _tinet_link_established
|
---|
| 147 | #define link_required _tinet_link_required
|
---|
| 148 | #define network_phase _tinet_network_phase
|
---|
| 149 | #define link_down _tinet_link_down
|
---|
| 150 |
|
---|
| 151 | /* net/ppp_ipcp.c */
|
---|
| 152 |
|
---|
| 153 | #define wait_ipcp _tinet_wait_ipcp
|
---|
| 154 | #define ppp_get_ifnet _tinet_ppp_get_ifnet
|
---|
| 155 | #define ipcp_protent _tinet_ipcp_protent
|
---|
| 156 | #define ipcp_callbacks _tinet_ipcp_callbacks
|
---|
| 157 | #define ipcp_fsm _tinet_ipcp_fsm
|
---|
| 158 | #define ipcp_remote_ack_cfg _tinet_ipcp_remote_ack_cfg
|
---|
| 159 | #define ipcp_local_ack_cfg _tinet_ipcp_local_ack_cfg
|
---|
| 160 |
|
---|
| 161 | /* net/ppp_upap.c */
|
---|
| 162 |
|
---|
| 163 | #define upap_auth_client _tinet_upap_auth_client
|
---|
| 164 | #define upap_auth_server _tinet_upap_auth_server
|
---|
| 165 | #define pap_protent _tinet_pap_protent
|
---|
| 166 |
|
---|
| 167 | #endif /* of #ifdef SUPPORT_PPP */
|
---|
| 168 |
|
---|
| 169 | #ifdef SUPPORT_LOOP
|
---|
| 170 |
|
---|
| 171 | #endif /* of #ifdef SUPPORT_LOOP */
|
---|
| 172 |
|
---|
| 173 | #endif /* of #ifndef _NET_RENAME_H_ */
|
---|