Hello,
I am developing an IM passthru driver on Windows XP.
In my driver code, I add a 1 byte sequence number for each packet that is transmitted. This works fine when the data to be sent is less than 1480 bytes. But when the data to be sent is equal to 1480 bytes i.e. for all IP fragmented packets, last byte in each fragment gets truncated. This is because; addition of sequence number increases the Ethernet frame length to 1519 bytes (14 bytes Ethernet header, 20 bytes IP header, 1480 bytes data + 1 byte sequence number) which is greater than its MTU.
Could anyone please guide me on how to limit the IP fragmented packets to 1479 bytes so that when sequence number is added in the driver code, it does not exceed the MTU? I am new to Windows driver development. Any help would be highly appreciated. Thanks!
With Regards,
Subashini V
DISCLAIMER:
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.