#else\r
u8_t uip_buf[UIP_BUFSIZE + 2] ALIGN_STRUCT_END; /* The packet buffer that contains incoming packets. */\r
#endif\r
- \r
+\r
#endif /* UIP_CONF_EXTERNAL_BUFFER */\r
\r
void *uip_appdata; /* The uip_appdata pointer points to\r
if(offset / (8 * 8) == (offset + len) / (8 * 8)) {\r
/* If the two endpoints are in the same byte, we only update\r
that byte. */\r
- \r
+\r
uip_reassbitmap[offset / (8 * 8)] |=\r
bitmap_bits[(offset / 8 ) & 7] &\r
~bitmap_bits[((offset + len) / 8 ) & 7];\r
4:\r
uip_connr->nrtx);\r
++(uip_connr->nrtx);\r
- \r
+\r
/* Ok, so we need to retransmit. We do this differently\r
depending on which state we are in. In ESTABLISHED, we\r
call upon the application so that it may prepare the\r
/* In the SYN_RCVD state, we should retransmit our\r
SYNACK. */\r
goto tcp_send_synack;\r
- \r
+\r
#if UIP_ACTIVE_OPEN\r
case UIP_SYN_SENT:\r
/* In the SYN_SENT state, we retransmit out SYN. */\r
BUF->flags = 0;\r
goto tcp_send_syn;\r
#endif /* UIP_ACTIVE_OPEN */\r
- \r
+\r
case UIP_ESTABLISHED:\r
/* In the ESTABLISHED state, we call upon the application\r
to do the actual retransmit after which we jump into\r
uip_flags = UIP_REXMIT;\r
UIP_APPCALL();\r
goto apprexmit;\r
- \r
+\r
case UIP_FIN_WAIT_1:\r
case UIP_CLOSING:\r
case UIP_LAST_ACK:\r
/* In all these states we should retransmit a FINACK. */\r
goto tcp_send_finack;\r
- \r
+\r
}\r
}\r
} else if((uip_connr->tcpstateflags & UIP_TS_MASK) == UIP_ESTABLISHED) {\r
(u16_t)uip_buf[UIP_IPTCPH_LEN + UIP_LLH_LEN + 3 + c];\r
uip_connr->initialmss = uip_connr->mss =\r
tmp16 > UIP_TCP_MSS? UIP_TCP_MSS: tmp16;\r
- \r
+\r
/* And we are done processing options. */\r
break;\r
} else {\r
uip_connr->snd_nxt[1] = uip_acc32[1];\r
uip_connr->snd_nxt[2] = uip_acc32[2];\r
uip_connr->snd_nxt[3] = uip_acc32[3];\r
- \r
+\r
\r
/* Do RTT estimation, unless we have done retransmissions. */\r
if(uip_connr->nrtx == 0) {\r
BUF->tcpchksum = 0;\r
BUF->tcpchksum = ~(uip_tcpchksum());\r
\r
-#if UIP_UDP \r
+#if UIP_UDP\r
ip_send_nolen:\r
#endif /* UIP_UDP */\r
- \r
+\r
#if UIP_CONF_IPV6\r
BUF->vtc = 0x60;\r
BUF->tcflow = 0x00;\r