How to read Ethernet packet of data 65535 bytes from blf file

Issue #35 resolved
Former user created an issue

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)

  1. Tobias Lorenz repo owner

    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

  2. Tobias Lorenz repo owner

    Question is answered. Although documentation gives a max data size, the actual vector is not limited.

  3. Log in to comment