Defines | |
| #define | UIP_ACTIVE_OPEN |
| Determines if support for opening connections from uIP should be compiled in. | |
| #define | UIP_CONNS |
| The maximum number of simultaneously open TCP connections. | |
| #define | UIP_LISTENPORTS |
| The maximum number of simultaneously listening TCP ports. | |
| #define | UIP_RECEIVE_WINDOW |
| The size of the advertised receiver's window. ±¤°íµÈ ¼ö½ÅÀÚÀÇ À©µµ¿ìÀÇ »çÀÌÁî | |
| #define | UIP_URGDATA |
| Determines if support for TCP urgent data notification should be compiled in. | |
| #define | UIP_RTO 3 |
| The initial retransmission timeout counted in timer pulses. | |
| #define | UIP_MAXRTX 8 |
| The maximum number of times a segment should be retransmitted before the connection should be aborted. | |
| #define | UIP_MAXSYNRTX 3 |
| The maximum number of times a SYN segment should be retransmitted before a connection request should be deemed to have been unsuccessful. SYN¼¼±×¸ÕÆ®°¡ ¿¬°á¿äûÀü¿¡ ÀçÀü¼ÛµÇ¾î¾ßÇÏ´Â ÃÖ´ë ½Ã°£Àº ¾Õ¼ ½ÇÆÐÇÑ °ÍÀ» °í·ÁÇØ¾ßÇÑ´Ù. | |
| #define | UIP_TCP_MSS (UIP_BUFSIZE - UIP_LLH_LEN - 40) |
| The TCP maximum segment size. | |
| #define | UIP_TIME_WAIT_TIMEOUT 120 |
| How long a connection should stay in the TIME_WAIT state. | |
|
|
Determines if support for opening connections from uIP should be compiled in. uIP¿¡¼ ¿ÀÇÁ´× ¿¬°áÀ» À§ÇÑ ÄÚµåÀÇ ÄÄÆÄÀÏÀÌ µÇ¾î¾ß ÇÏ´ÂÁö ¸¶´ÂÁö¸¦ °áÁ¤ÇÑ´Ù. If the applications that are running on top of uIP for this project do not need to open outgoing TCP connections, this configration option can be turned off to reduce the code size of uIP. ÀÌ ÇÁ·ÎÁ§Æ®¸¦ À§Çؼ uIPÀÇ ÃÖ»óÀ§ ¿¡¼ ½ÇÇàµÇ°íÀÖ´Â ¾îÇø®ÄÉÀ̼ÇÀÌ ¹ÛÀ¸·Î ÇâÇÏ´Â TCP¿¬°áÀ» openÇÒ Çʿ䰡 ¾ø´Ù¸é openÇÏÁö ¾Ê¾Æµµ µÇ°í, ¿É¼Ç¼³Á¤Àº uIPÄÚµå»çÀÌÁ ÁÙÀ̱âÀ§ÇØ offµÉ ¼ö ÀÖ´Ù. |
|
|
The maximum number of simultaneously open TCP connections. TCP¿¬°áµéÀÇ µ¿½ÃÀû ¿ÀÇÂÀÇ ÃÖ´ë ¼ö Since the TCP connections are statically allocated, turning this configuration knob down results in less RAM used. Each TCP connection requires approximatly 30 bytes of memory. TCP¿¬°áµéÀº Á¤ÀûÀ¸·Î ¸Þ¸ð¸® ÇÒ´çÀ» Çϱ⶧¹®¿¡, ÀÌ ±¸¼ºÀ» ²ô´Â °ÍÀº ÀûÀº ·¥À» »ç¿ëÇÒ °ÍÀÌ´Ù. °¢°¢ÀÇ TCP¿¬°áµéÀº ¾à 30¹ÙÀÌÆ® Á¤µµÀÇ ¸Þ¸ð¸®¸¦ ¿ä±¸ÇÑ´Ù. |
|
|
The maximum number of simultaneously listening TCP ports. µ¿½ÃÀû ûÃë TCPÆ÷Æ®ÀÇ ÃÖ´ë ¼ö Each listening TCP port requires 2 bytes of memory. °¢°¢ÀÇ TCP¸®½º´× Æ÷Æ®µéÀº 2¹ÙÀÌÆ® ¸Þ¸ð¸®¸¦ ÇÊ¿ä·Î ÇÑ´Ù. |
|
|
The maximum number of times a segment should be retransmitted before the connection should be aborted. ¿¬°áÀÌ Ãë¼Ò µÇ±â Àü¿¡ ÀçÀü¼Û µÇ¾î¾ß ÇÒ ¼¼±×¸ÕÆ®ÀÇ ÃÖ´ë½Ã°£??? This should not be changed. ÀÌ ¼³Á¤Àº ¹Ù²Ü ÇÊ¿ä¾ø´Ù. |
|
|
The maximum number of times a SYN segment should be retransmitted before a connection request should be deemed to have been unsuccessful. ¿¬°á¿äû Àü¿¡ SYN¼¼±×¸ÕÆ®°¡ ÀçÀü¼ÛµÇ¾î¾ßÇÏ´Â ÃÖ´ë ½Ã°£Àº ½ÇÆÐÇß´ø °ÍÀ» °í·ÁÇØ¾ß ÇÑ´Ù. This should not need to be changed. ÀÌ ¼³Á¤Àº ¹Ù²Ü ÇÊ¿ä¾ø´Ù. |
|
|
The size of the advertised receiver's window. Should be set low (i.e., to the size of the uip_buf buffer) ±¤°íµÈ ¼ö½ÅÀÚÀÇ À©µµ¿ì »çÀÌÁî´Â (¿¹¸¦ µé¾î uip_buf ¹öÆÛÀÇ »çÀÌÁÅ) ³·°Ô ÇØ¾ß ÇÑ´Ù. If the application is slow to process incoming data, or high (32768 bytes) if the application processes data quickly. Å©±â¸¦ ÀÛ°Ô ÀâÀ¸¸é ¾îÇø®ÄÉÀ̼ÇÀº µé¾î¿À´Â µ¥ÀÌÅ͸¦ õõÈ÷ ó¸®Çϰí,³ô°Ô ÀâÀ¸¸é ºü¸£°Ô ó¸®ÇÒ °ÍÀÌ´Ù.(32768¹ÙÀÌÆ®) |
|
|
The initial retransmission timeout counted in timer pulses. ŸÀÌ¸Ó ÆÞ½º ¼Ó¿¡ Ä«¿îÆ®µÈ ÀçÀü¼Û Ãʱâ ŸÀӾƿô This should not be changed. ¹Ù²Ü ÇÊ¿ä¾ø´Ù. |
|
|
The TCP maximum segment size. TCPÃÖ´ë ¼¼±×¸ÕÆ® »çÀÌÁî This is should not be to set to more than UIP_BUFSIZE - UIP_LLH_LEN - 40. (UIP_BUFSIZE - UIP_LLH_LEN - 40)ÀÌ»ó µÉ ÇÊ¿ä´Â ¾ø´Ù. |
|
|
How long a connection should stay in the TIME_WAIT state. ¾ó¸¶³ª ¿À·¡ ¿¬°áÀÌ TIME_WAIT»óÅ¿¡ ÀÖ¾î¾ß Çϴ°¡ This configiration option has no real implication, and it should be left untouched. ÀÌ ¿É¼È ¼³Á¤Àº ½ÇÁ¦·Î Àǹ̰¡ ¾ø°í,¸¸Áú Çʿ䵵 ¾ø´Ù. |
|
|
Determines if support for TCP urgent data notification should be compiled in. TCP ±ä±Þ µ¥ÀÌÅÍ °øÁö°¡ ÄÄÆÄÀÏ µÇ¾î¾ß ÇÏ´ÂÁö ¸»¾Æ¾ß ÇÏ´ÂÁö¸¦ °áÁ¤ÇÑ´Ù. Urgent data (out-of-band data) is a rarely used TCP feature that very seldom would be required. TCP¿¡¼´Â ÀÀ±Þ µ¥ÀÌÅÍ´Â °ÅÀÇ ¹ß»ýÇÏÁö ¾Ê´Â´Ù. |
1.3.3