Hello,

I was going through the code of the IPv4 decoder and I found the following
line for calculating the length of the payload:

https://github.com/opendaylight/l2switch/blob/a59a8bf70022262ef5aa37b75b63b27c1f802208/packethandler/implementation/src/main/java/org/opendaylight/l2switch/packethandler/decoders/Ipv4Decoder.java#L103

However, I found that 4 bytes are being subtracted from this length, why is
that so?

Thank you.

Regards,

-- 



*AbdulRahman AlHamaliSoftware Engineer - Saugo360Mobile: 00961-76864084 |
Email: a.alhamal...@gmail.com <a.alhamal...@gmail.com>*
_______________________________________________
L2switch-dev mailing list
L2switch-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/l2switch-dev

Reply via email to