Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/19/07 18:31
Read: times


 
#141049 - I fix it..kinda.
Responding to: ???'s previous message
I was right on what was corrupting it. ARP,ICMP, UDP and TCP all use the same buffer (packet[]) My guess is, on retry the buffer was send again but after it had an arp request or icmp echo in it. still not total sure how. have an idea still.

I created a temp buffer of about 80 bytes that store top of the packet buffer, if it is a TCP packet, before it gets the new packet from the ring buffer on the eth card. if the new packet is not TCP then AFTER it has processed the packet it recopy the temp buffer into the packet buffer.

I will probly change the temp buffer to a buffer that handles all other traffic except tcp and dedicate packet[] to TCP.


Thanks.


List of 10 messages in thread
TopicAuthorDate
Ethernet question.            01/01/70 00:00      
   More info required            01/01/70 00:00      
      Details            01/01/70 00:00      
         Packet monitor            01/01/70 00:00      
            thanks.            01/01/70 00:00      
               Sequence Numbers...?            01/01/70 00:00      
                  Ya.            01/01/70 00:00      
                     Show the log when corruption occured            01/01/70 00:00      
                        I fix it..kinda.            01/01/70 00:00      
                  Not so unusual for 8-bit micros server            01/01/70 00:00      

Back to Subject List