Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-10-09 | l4p/tcp: fix SIGSEGV when reading IPv6 address | Mariusz Drost | 1 | -1/+1 | |
IPv6 address is obtained through pointer to mbuf (part storing IPv6 addr). Structure which then holds that pointer defines it as a pointer to _m128i data type. Because of that, when code is optimized, instruction vmovdqa is used, which requires data to be aligned to 16-bytes. Pointer from mbuf does not have to be aligned in that way, which may cause SIGSEGV. Solution is to add attribute packed and aligned(1) to structure holding IPv6 address. With that, vmovdqu assembly instruction is used, which is the equivalent of vmovdqa, but for unaligned data. Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com> Change-Id: I66e7ce2a317de2cdbc763ec8e31141605b5e5469 | |||||
2017-02-24 | Introduce first version of TCP code. | Konstantin Ananyev | 1 | -0/+78 | |
Supported functionality: - open/close - listen/accept/connect - send/recv In order to achieve that libtle_udp library was reworked into libtle_l4p library that supports both TCP and UDP protocols. New libtle_timer library was introduced (thanks to Cisco guys and Dave Barach <dbarach@cisco.com> for sharing their timer code with us). Sample application was also reworked significantly to support both TCP and UDP traffic handling. New UT were introduced. Change-Id: I806b05011f521e89b58db403cfdd484a37beb775 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com> Signed-off-by: Karol Latecki <karolx.latecki@intel.com> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> |