Code cleanup (octet strings)
|Reported by:||sdecugis||Owned by:||admin|
Some cleanup is needed in the code:
- for all data coming from the network (Diameter Id, Session Id, ...) use octet string types everywhere (uint8 * + size_t).
- Create a quick function to compare octet strings based on the length first, then on the contents. This will speed many operations. The only limitation is that it is difficult to find if a string is the prefix of another (but we do not use this).
This will impact a large part of the code, and will be performed only after the first release.