[270] | 1 | /*
|
---|
| 2 | * TINET (TCP/IP Protocol Stack)
|
---|
| 3 | *
|
---|
| 4 | * Copyright (C) 2001-2009 by Dep. of Computer Science and Engineering
|
---|
| 5 | * Tomakomai National College of Technology, JAPAN
|
---|
| 6 | *
|
---|
| 7 | * ä¸è¨èä½æ¨©è
|
---|
| 8 | ã¯ï¼ä»¥ä¸ã® (1)ï½(4) ã®æ¡ä»¶ãï¼Free Software Foundation
|
---|
| 9 | * ã«ãã£ã¦å
|
---|
| 10 | ¬è¡¨ããã¦ãã GNU General Public License ã® Version 2 ã«è¨
|
---|
| 11 | * è¿°ããã¦ããæ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§ã¢ï¼æ¬ã½ããã¦ã§ã¢
|
---|
| 12 | * ãæ¹å¤ãããã®ãå«ãï¼ä»¥ä¸åãï¼ã使ç¨ã»è¤è£½ã»æ¹å¤ã»åé
|
---|
| 13 | å¸ï¼ä»¥ä¸ï¼
|
---|
| 14 | * å©ç¨ã¨å¼ã¶ï¼ãããã¨ãç¡åã§è¨±è«¾ããï¼
|
---|
| 15 | * (1) æ¬ã½ããã¦ã§ã¢ãã½ã¼ã¹ã³ã¼ãã®å½¢ã§å©ç¨ããå ´åã«ã¯ï¼ä¸è¨ã®èä½
|
---|
| 16 | * 権表示ï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãï¼ãã®ã¾ã¾ã®å½¢ã§ã½ã¼
|
---|
| 17 | * ã¹ã³ã¼ãä¸ã«å«ã¾ãã¦ãããã¨ï¼
|
---|
| 18 | * (2) æ¬ã½ããã¦ã§ã¢ãï¼ã©ã¤ãã©ãªå½¢å¼ãªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
|
---|
| 19 | * ç¨ã§ããå½¢ã§åé
|
---|
| 20 | å¸ããå ´åã«ã¯ï¼åé
|
---|
| 21 | å¸ã«ä¼´ãããã¥ã¡ã³ãï¼å©ç¨
|
---|
| 22 | * è
|
---|
| 23 | ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®èä½æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨
|
---|
| 24 | * ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
|
---|
| 25 | * (3) æ¬ã½ããã¦ã§ã¢ãï¼æ©å¨ã«çµã¿è¾¼ããªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
|
---|
| 26 | * ç¨ã§ããªãå½¢ã§åé
|
---|
| 27 | å¸ããå ´åã«ã¯ï¼æ¬¡ã®æ¡ä»¶ãæºãããã¨ï¼
|
---|
| 28 | * (a) åé
|
---|
| 29 | å¸ã«ä¼´ãããã¥ã¡ã³ãï¼å©ç¨è
|
---|
| 30 | ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®è
|
---|
| 31 | * ä½æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
|
---|
| 32 | * (4) æ¬ã½ããã¦ã§ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ
|
---|
| 33 | * 害ãããï¼ä¸è¨èä½æ¨©è
|
---|
| 34 | ããã³TOPPERSããã¸ã§ã¯ããå
|
---|
| 35 | 責ãããã¨ï¼
|
---|
| 36 | *
|
---|
| 37 | * æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è
|
---|
| 38 | ã
|
---|
| 39 | * ãã³TOPPERSããã¸ã§ã¯ãã¯ï¼æ¬ã½ããã¦ã§ã¢ã«é¢ãã¦ï¼ãã®é©ç¨å¯è½æ§ã
|
---|
| 40 | * å«ãã¦ï¼ãããªãä¿è¨¼ãè¡ããªãï¼ã¾ãï¼æ¬ã½ããã¦ã§ã¢ã®å©ç¨ã«ããç´
|
---|
| 41 | * æ¥çã¾ãã¯éæ¥çã«çãããããªãæ害ã«é¢ãã¦ãï¼ãã®è²¬ä»»ãè² ããªãï¼
|
---|
| 42 | *
|
---|
| 43 | * @(#) $Id: net_rename.h 270 2017-02-09 04:03:47Z coas-nagasima $
|
---|
| 44 | */
|
---|
| 45 |
|
---|
| 46 | #ifndef _NET_RENAME_H_
|
---|
| 47 | #define _NET_RENAME_H_
|
---|
| 48 |
|
---|
| 49 | /*
|
---|
| 50 | * æ±ç¨ãããã¯ã¼ã¯ã¤ã³ã¿ãã§ã¼ã¹å
|
---|
| 51 | é¨åã®ãªãã¼ã
|
---|
| 52 | */
|
---|
| 53 |
|
---|
| 54 | /* net/ethernet.c */
|
---|
| 55 |
|
---|
| 56 | #define ether_broad_cast_addr _tinet_ether_broad_cast_addr
|
---|
| 57 | #define ether_ipv4_addr_local _tinet_ether_ipv4_addr_local
|
---|
| 58 | #define ether_ipv4_addr_local_mask \
|
---|
| 59 | _tinet_ether_ipv4_addr_local_mask
|
---|
| 60 |
|
---|
| 61 | #define ether_raw_output _tinet_ether_raw_output
|
---|
| 62 | #define ether_output _tinet_ether_output
|
---|
| 63 | #define ether_in6_ifaddr _tinet_ether_in6_ifaddr
|
---|
| 64 | #define ether_in6_ifaddr_list _tinet_ether_in6_ifaddr_list
|
---|
| 65 | #define ether_in6_resolve_multicast \
|
---|
| 66 | _tinet_ether_in6_resolve_multicast
|
---|
| 67 | #define ether_input_task _tinet_ether_input_task
|
---|
| 68 | #define ether_get_ifnet _tinet_ether_get_ifnet
|
---|
| 69 | #define ether_output_task _tinet_ether_output_task
|
---|
| 70 |
|
---|
| 71 | /* net/if.c */
|
---|
| 72 |
|
---|
| 73 | #ifdef SUPPORT_ETHER
|
---|
| 74 |
|
---|
| 75 | #define ifinit _tinet_ifinit
|
---|
| 76 | #define if_addmulti _tinet_if_addmulti
|
---|
| 77 |
|
---|
| 78 | #endif /* of #ifdef SUPPORT_ETHER */
|
---|
| 79 |
|
---|
| 80 | /* net/net_buf.c */
|
---|
| 81 |
|
---|
| 82 | #define tget_net_buf_ex _tinet_tget_net_buf_ex
|
---|
| 83 | #define tget_net_buf _tinet_tget_net_buf
|
---|
| 84 | #define rel_net_buf _tinet_rel_net_buf
|
---|
| 85 | #define rus_net_buf _tinet_rus_net_buf
|
---|
| 86 | #define net_buf_siz _tinet_net_buf_siz
|
---|
| 87 | #define net_buf_max_siz _tinet_net_buf_max_siz
|
---|
| 88 | #define nbuf_get_tbl _tinet_nbuf_get_tbl
|
---|
| 89 | #define nbuf_get_tbl_size _tinet_nbuf_get_tbl_size
|
---|
| 90 |
|
---|
| 91 | /* net/net_subr.c */
|
---|
| 92 |
|
---|
| 93 | #define convert_hexdigit _tinet_convert_hexdigit
|
---|
| 94 | #define net_rand _tinet_net_rand
|
---|
| 95 | #define net_srand _tinet_net_srand
|
---|
| 96 | #define rev_memcpy_word _tinet_rev_memcpy_word
|
---|
| 97 | #define rev_memcmp_word _tinet_rev_memcmp_word
|
---|
| 98 |
|
---|
| 99 | /* net/net_timer.c */
|
---|
| 100 |
|
---|
| 101 | #define timeout _tinet_timeout
|
---|
| 102 | #define untimeout _tinet_untimeout
|
---|
| 103 | #define busy_callout _tinet_busy_callout
|
---|
| 104 | #define max_busy _tinet_max_busy
|
---|
| 105 |
|
---|
| 106 | /* route_cfg.c */
|
---|
| 107 |
|
---|
| 108 | #define routing_tbl _tinet_routing_tbl
|
---|
| 109 |
|
---|
| 110 | #ifdef SUPPORT_PPP
|
---|
| 111 |
|
---|
| 112 | /* net/ppp.c */
|
---|
| 113 |
|
---|
| 114 | #define ppp_output _tinet_ppp_output
|
---|
| 115 | #define ppp_cp_output _tinet_ppp_cp_output
|
---|
| 116 | #define ppp_phase _tinet_ppp_phase
|
---|
| 117 | #define protocols _tinet_protocols
|
---|
| 118 |
|
---|
| 119 | /* net/ppp_hdlc.c */
|
---|
| 120 |
|
---|
| 121 | #define HDLC_dummy_read _tinet_HDLC_dummy_read
|
---|
| 122 | #define HDLC_read _tinet_HDLC_read
|
---|
| 123 | #define HDLC_write _tinet_HDLC_write
|
---|
| 124 | #define remote_ACCM _tinet_remote_ACCM
|
---|
| 125 |
|
---|
| 126 | /* net/ppp_lcp.c */
|
---|
| 127 |
|
---|
| 128 | #define lcp_close _tinet_lcp_close
|
---|
| 129 | #define lcp_open _tinet_lcp_open
|
---|
| 130 | #define lcp_lowerdown _tinet_lcp_lowerdown
|
---|
| 131 | #define lcp_sprotrej _tinet_lcp_sprotrej
|
---|
| 132 | #define lcp_lowerup _tinet_lcp_lowerup
|
---|
| 133 | #define lcp_finished _tinet_lcp_finished
|
---|
| 134 | #define lcp_down _tinet_lcp_down
|
---|
| 135 | #define lcp_callbacks _tinet_lcp_callbacks
|
---|
| 136 | #define lcp_fsm _tinet_lcp_fsm
|
---|
| 137 | #define lcp_protent _tinet_lcp_protent
|
---|
| 138 | #define lcp_local_ack_cfg _tinet_lcp_local_ack_cfg
|
---|
| 139 | #define lcp_remote_ack_cfg _tinet_lcp_remote_ack_cfg
|
---|
| 140 |
|
---|
| 141 | /* net/ppp_fsm.c */
|
---|
| 142 |
|
---|
| 143 | #define fsm_init _tinet_fsm_init
|
---|
| 144 | #define fsm_open _tinet_fsm_open
|
---|
| 145 | #define fsm_input _tinet_fsm_input
|
---|
| 146 | #define fsm_protreject _tinet_fsm_protreject
|
---|
| 147 | #define fsm_lowerdown _tinet_fsm_lowerdown
|
---|
| 148 | #define fsm_close _tinet_fsm_close
|
---|
| 149 | #define fsm_lowerup _tinet_fsm_lowerup
|
---|
| 150 | #define ppp_open_mode _tinet_ppp_open_mode
|
---|
| 151 |
|
---|
| 152 | /* net/ppp_auth.c */
|
---|
| 153 |
|
---|
| 154 | #define auth_reset _tinet_auth_reset
|
---|
| 155 | #define link_terminated _tinet_link_terminated
|
---|
| 156 | #define link_established _tinet_link_established
|
---|
| 157 | #define link_required _tinet_link_required
|
---|
| 158 | #define network_phase _tinet_network_phase
|
---|
| 159 | #define link_down _tinet_link_down
|
---|
| 160 |
|
---|
| 161 | /* net/ppp_ipcp.c */
|
---|
| 162 |
|
---|
| 163 | #define wait_ipcp _tinet_wait_ipcp
|
---|
| 164 | #define ppp_get_ifnet _tinet_ppp_get_ifnet
|
---|
| 165 | #define ipcp_protent _tinet_ipcp_protent
|
---|
| 166 | #define ipcp_callbacks _tinet_ipcp_callbacks
|
---|
| 167 | #define ipcp_fsm _tinet_ipcp_fsm
|
---|
| 168 | #define ipcp_remote_ack_cfg _tinet_ipcp_remote_ack_cfg
|
---|
| 169 | #define ipcp_local_ack_cfg _tinet_ipcp_local_ack_cfg
|
---|
| 170 |
|
---|
| 171 | /* net/ppp_upap.c */
|
---|
| 172 |
|
---|
| 173 | #define upap_auth_client _tinet_upap_auth_client
|
---|
| 174 | #define upap_auth_server _tinet_upap_auth_server
|
---|
| 175 | #define pap_protent _tinet_pap_protent
|
---|
| 176 |
|
---|
| 177 | #endif /* of #ifdef SUPPORT_PPP */
|
---|
| 178 |
|
---|
| 179 | #ifdef SUPPORT_LOOP
|
---|
| 180 |
|
---|
| 181 | #endif /* of #ifdef SUPPORT_LOOP */
|
---|
| 182 |
|
---|
| 183 | #endif /* of #ifndef _NET_RENAME_H_ */
|
---|