Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

TCP configuration options
[Configuration options for uIP]


Defines

#define UIP_ACTIVE_OPEN
 Determines if support for opening connections from uIP should be compiled in.
uIP°¡ ½ÃÀÛ ¿¬°á¿¡ »ç¿ë ÇÒ Äڵ带 ÄÄÆÄÀÏ ÇÒ°ÍÀÎÁö °áÁ¤ÇÑ´Ù.

#define UIP_CONNS
 The maximum number of simultaneously open TCP connections.
µ¿½Ã¿¡ ¿­ ¼ö ÀÖ´Â TCP¿¬°áÀÇ ÃÖ´ë °³¼ö.

#define UIP_LISTENPORTS
 The maximum number of simultaneously listening TCP ports.
»ç¿ëÇÒ ¼ö ÀÖ´Â TCP ¸®½º´× Æ÷Æ®ÀÇ ÃÖ´ë °³¼ö.

#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.
TCP ÀÀ±Þ ¸Þ½ÃÁö¸¦ ó¸®ÇÒ ·çƾÀ» Áö¿øÇÒ °ÍÀÎÁö¸¦ °áÁ¤.

#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.
¿¬°á ¿ä±¸°¡ ½ÇÆÐ·Î °£ÁֵDZâ Àü¿¡ SYN ¼¼±×¸ÕÆ®°¡ ÀçÀü¼Û µÇ¾î¾ß ÇÏ´Â ½Ã°£ÀÇ ÃÖ´ë °³¼ö.

#define UIP_TCP_MSS   (UIP_BUFSIZE - UIP_LLH_LEN - 40)
 The TCP maximum segment size.
TCP ¼¼±×¸ÕÆ®ÀÌ ÃÖ´ë Å©±â.

#define UIP_TIME_WAIT_TIMEOUT   120
 How long a connection should stay in the TIME_WAIT state.
TIME_WAIT »óÅ¿¡¼­ ¿¬°á À¯Áö ½Ã°£.


Define Documentation

#define UIP_ACTIVE_OPEN
 

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µÉ ¼ö ÀÖ´Ù.

#define UIP_CONNS
 

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¹ÙÀÌÆ® Á¤µµÀÇ ¸Þ¸ð¸®¸¦ ¿ä±¸ÇÑ´Ù.

#define UIP_LISTENPORTS
 

The maximum number of simultaneously listening TCP ports.

»ç¿ëÇÒ ¼ö ÀÖ´Â TCP ¸®½º´× Æ÷Æ®ÀÇ ÃÖ´ë °³¼ö.


Each listening TCP port requires 2 bytes of memory.

°¢°¢ÀÇ TCP ¸®½º´× Æ÷Æ®µéÀº 2¹ÙÀÌÆ® ¸Þ¸ð¸®¸¦ ÇÊ¿ä·Î ÇÑ´Ù.

#define UIP_MAXRTX   8
 

The maximum number of times a segment should be retransmitted before the connection should be aborted.

¿¬°áÀÌ Ãë¼ÒµÇ±â Àü¿¡ ÀçÀü¼Û µÉ ¼¼±×¸ÕÆ®ÀÇ ÃÖ´ë ½Ã°£.


This should not be changed.

À̰ÍÀº ¼öÁ¤ ÇÒ Çʿ䰡 ¾ø´Ù.

#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.

¿¬°á ¿ä±¸°¡ ½ÇÆÐ·Î °£ÁֵDZâ Àü¿¡ SYN ¼¼±×¸ÕÆ®°¡ ÀçÀü¼Û µÇ¾î¾ß ÇÏ´Â ½Ã°£ÀÇ ÃÖ´ë °³¼ö.


This should not need to be changed.

À̰ÍÀº ¼öÁ¤ÇÒ Çʿ䰡 ¾ø´Ù.

#define UIP_RECEIVE_WINDOW
 

The size of the advertised receiver's window.

¾Ë·ÁÁø ¼ö½ÅÀÚÀÇ À©µµ¿ì Å©±â.


Should be set low (i.e., to the size of the uip_buf buffer) is the application is slow to process incoming data, or high (32768 bytes) if the application processes data quickly.

¾Ë·ÁÁø ¼ö½ÅÀÚÀÇ À©µµ¿ì »çÀÌÁî´Â (¿¹¸¦ µé¾î uip_buf ¹öÆÛÀÇ »çÀÌ Áŭ) ³·°Ô ÇØ¾ß ÇÑ´Ù. Å©±â¸¦ ÀÛ°Ô ÀâÀ¸¸é ¾îÇø®ÄÉÀ̼ÇÀº µé¾î¿À´Â µ¥ÀÌÅ͸¦ õõÈ÷ ó¸®Çϰí, ³ô°Ô ÀâÀ¸¸é ºü¸£°Ô ó¸®ÇÒ °ÍÀÌ´Ù.(32768¹ÙÀÌÆ®)

#define UIP_RTO   3
 

The initial retransmission timeout counted in timer pulses.

ŸÀ̸ӿ¡ÀÇÇØ Ä«¿îÆ® µÈ Ãʱâ ÀçÀü¼Û ŸÀӾƿô.


This should not be changed.

À̰ÍÀº ¼öÁ¤ÇÒ Çʿ䰡 ¾ø´Ù.

#define UIP_TCP_MSS   (UIP_BUFSIZE - UIP_LLH_LEN - 40)
 

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)ÀÌ»ó µÉ ÇÊ¿ä´Â ¾ø´Ù.

#define UIP_TIME_WAIT_TIMEOUT   120
 

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.

ÀÌ ¿É¼ÇÀº ½ÇÁ¦·Î Àǹ̵µ ¾ø°í. ¼öÁ¤ÇÒ Çʿ䵵 ¾ø´Ù.

#define UIP_URGDATA
 

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¿¡¼­´Â ÀÀ±Þ ¸Þ½ÃÁö¸¦ °ÅÀÇ ¹ß»ý½ÃŰÁö ¾Ê´Â´Ù.


Generated on Tue Oct 7 15:51:45 2003 for uIP 0.9 by doxygen 1.3.3