How to read Ethernet packet of data 65535 bytes from blf file
Issue #35
resolved
I have observed that ETHERNET_FRAME_EX structure has frameData of maximum 1612 byte. the maximum payload of udp packet is 65535. if the udp data is logged into blf which maximum payload. how to read 65535 bytes of data from blf file
Comments (3)
-
repo owner -
repo owner - changed status to resolved
Question is answered. Although documentation gives a max data size, the actual vector is not limited.
-
repo owner -
assigned issue to
-
assigned issue to
- Log in to comment
Hello,
although the documentation (I took over from Vector API) mentions max 1612 data bytes per frame, the data is stored in a std::vector<uint8_t>. So this should work with longer frames as well.
I think 1612 data byte refers to the original IEEE Ethernet standard, which was extended in the meantime to support jumbo frames up to 65535 bytes.
Do you have a specific example (BLF file) that you can provide that shows that this is not working? You can also send via e-mail, if it’s confidential.
Bye
Tobias