{\r
/* uIP Timing Initialization */\r
clock_init();\r
- timer_set(&ConnectionTimer, CLOCK_SECOND / 10);\r
+ timer_set(&ConnectionTimer, CLOCK_SECOND / 5);\r
timer_set(&ARPTimer, CLOCK_SECOND * 10); \r
\r
/* uIP Stack Initialization */\r
/* Add destination MAC to outgoing packet */\r
uip_arp_out();\r
\r
- RNDIS_Host_SendPacket(&Ethernet_RNDIS_Interface, uip_buf, uip_len);\r
+ uip_split_output();\r
}\r
\r
break;\r
\r
/* If a response was generated, send it */\r
if (uip_len > 0)\r
- RNDIS_Host_SendPacket(&Ethernet_RNDIS_Interface, uip_buf, uip_len);\r
+ uip_split_output();\r
\r
break;\r
}\r
/* Add destination MAC to outgoing packet */\r
uip_arp_out();\r
\r
- RNDIS_Host_SendPacket(&Ethernet_RNDIS_Interface, uip_buf, uip_len);\r
+ /* Split and send the outgoing packet */\r
+ uip_split_output();\r
}\r
}\r
\r
/* Add destination MAC to outgoing packet */\r
uip_arp_out();\r
\r
- RNDIS_Host_SendPacket(&Ethernet_RNDIS_Interface, uip_buf, uip_len);\r
+ /* Split and send the outgoing packet */\r
+ uip_split_output();\r
}\r
}\r
\r
/* Add destination MAC to outgoing packet */\r
uip_arp_out();\r
\r
- RNDIS_Host_SendPacket(&Ethernet_RNDIS_Interface, uip_buf, uip_len);\r
+ /* Split and send the outgoing packet */\r
+ uip_split_output();\r
}\r
}\r
#endif\r