[sr-dev] git:master:2d1b442f: core: relocation and refactoring on ip addr handling code

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 19 12:47:07 CEST 2020


Module: kamailio
Branch: master
Commit: 2d1b442fd8602003a794ebbdcf7f21a211b6b356
URL: https://github.com/kamailio/kamailio/commit/2d1b442fd8602003a794ebbdcf7f21a211b6b356

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-10-19T12:46:51+02:00

core: relocation and refactoring on ip addr handling code

- many static inline functions moved from ip_addr.h to ip_addr.c, code
size for some of them increased over the time
- ipv6_hex_style can be set to "c" to have IPv6 addresses compacted and
using lowercase hexdigits (rfc5952#section-4.2.1), GH #2510
- when ipv6_hex_style="c", ip6tosbuf() uses POSIX inet_ntop(),
conforming with POSIX.1-2001, POSIX.1-2008

---

Modified: src/core/cfg.y
Modified: src/core/globals.h
Modified: src/core/ip_addr.c
Modified: src/core/ip_addr.h

---

Diff:  https://github.com/kamailio/kamailio/commit/2d1b442fd8602003a794ebbdcf7f21a211b6b356.diff
Patch: https://github.com/kamailio/kamailio/commit/2d1b442fd8602003a794ebbdcf7f21a211b6b356.patch




More information about the sr-dev mailing list