X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3b6987bca3ef746fd9a5d4baec6d40b65c9b4101..ad4308b1d123c36df674f553bb0c43f23cd7a99a:/Projects/Webserver/Lib/uip/uip-split.c diff --git a/Projects/Webserver/Lib/uip/uip-split.c b/Projects/Webserver/Lib/uip/uip-split.c index 9ad6b484c..5fac6d53b 100644 --- a/Projects/Webserver/Lib/uip/uip-split.c +++ b/Projects/Webserver/Lib/uip/uip-split.c @@ -80,7 +80,6 @@ uip_split_output(void) #endif /* UIP_CONF_IPV6 */ /* Transmit the first packet. */ - /* uip_fw_output();*/ #if UIP_CONF_IPV6 tcpip_ipv6_output(); #else @@ -90,7 +89,7 @@ uip_split_output(void) /* Now, create the second packet. To do this, it is not enough to just alter the length field, but we must also update the TCP sequence number and point the uip_appdata to a new place in - memory. This place is detemined by the length of the first + memory. This place is determined by the length of the first packet (len1). */ uip_len = len2 + UIP_TCPIP_HLEN + UIP_LLH_LEN; #if UIP_CONF_IPV6 @@ -103,7 +102,6 @@ uip_split_output(void) BUF->len[1] = (uip_len - UIP_LLH_LEN) & 0xff; #endif /* UIP_CONF_IPV6 */ - /* uip_appdata += len1;*/ memcpy(uip_appdata, (u8_t *)uip_appdata + len1, len2); uip_add32(BUF->seqno, len1); @@ -123,12 +121,10 @@ uip_split_output(void) #endif /* UIP_CONF_IPV6 */ /* Transmit the second packet. */ - /* uip_fw_output();*/ #if UIP_CONF_IPV6 tcpip_ipv6_output(); #else RNDIS_Host_SendPacket(&Ethernet_RNDIS_Interface, uip_buf, uip_len); - //tcpip_output(); #endif /* UIP_CONF_IPV6 */ return; }