Branch: refs/heads/libnozzle-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 34007c354f83de97aedffb44f2be0fc3b64591fd
https://github.com/kronosnet/kronosnet/commit/34007c354f83de97aedffb44f2be0…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2026-05-12 (Tue, 12 May 2026)
Changed paths:
M libnozzle/internals.c
M libnozzle/internals.h
M libnozzle/libnozzle_bsd.c
M libnozzle/libnozzle_linux.c
M libnozzle/libnozzle_solaris.c
Log Message:
-----------
libnozzle: refactor IP address helpers to reduce code duplication
Extract common IP address calculation logic from platform-specific functions
into shared helpers. Add _determine_family(), _validate_prefix(),
_ipv4_prefix_to_netmask(), and _ipv6_prefix_to_mask() to internals.c/h.
Include netinet/in.h in both files for struct in6_addr definition.
Signed-off-by: Fabio M. Di Nitto <fabbione(a)kronosnet.org>
Co-Authored-By: Claude Sonnet 4.5 <noreply(a)anthropic.com>
Commit: f41905179dac69ea7276ee562f40b6af91aa4c48
https://github.com/kronosnet/kronosnet/commit/f41905179dac69ea7276ee562f40b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2026-05-12 (Tue, 12 May 2026)
Changed paths:
M libnozzle/libnozzle_bsd.c
M libnozzle/libnozzle_linux.c
M libnozzle/libnozzle_solaris.c
Log Message:
-----------
libnozzle: consolidate platform-specific add_ip/del_ip implementations
Consolidate duplicate add/delete logic into platform-specific helpers:
Linux uses _netlink_modify_addr() for netlink operations, BSD uses
_bsd_modify_ipv4/6() for ioctl operations, Solaris uses _solaris_modify_ipv4/6()
with secondary interface support. Eliminates ~80 lines of duplication.
Signed-off-by: Fabio M. Di Nitto <fabbione(a)kronosnet.org>
Co-Authored-By: Claude Sonnet 4.5 <noreply(a)anthropic.com>
Compare: https://github.com/kronosnet/kronosnet/compare/364d72b22eec...f41905179dac
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications
Branch: refs/heads/libnozzle-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 364d72b22eec4f4b4e0ce30c17c58582cbe9839d
https://github.com/kronosnet/kronosnet/commit/364d72b22eec4f4b4e0ce30c17c58…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2026-05-12 (Tue, 12 May 2026)
Changed paths:
M libnozzle/internals.h
Log Message:
-----------
libnozzle: add netinet/in.h include to internals.h for struct in6_addr
The _ipv6_prefix_to_mask() function declaration uses struct in6_addr
in its parameter list, but internals.h didn't include netinet/in.h to
define the type. This caused compilation failures on FreeBSD where the
type wasn't available through transitive includes.
Signed-off-by: Fabio M. Di Nitto <fabbione(a)kronosnet.org>
Co-Authored-By: Claude Sonnet 4.5 <noreply(a)anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications
Branch: refs/heads/libnozzle-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: f2008faa314c8414e299d80301001fce538feb61
https://github.com/kronosnet/kronosnet/commit/f2008faa314c8414e299d80301001…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2026-05-11 (Mon, 11 May 2026)
Changed paths:
M libnozzle/internals.c
M libnozzle/internals.h
M libnozzle/libnozzle_bsd.c
M libnozzle/libnozzle_linux.c
M libnozzle/libnozzle_solaris.c
Log Message:
-----------
libnozzle: refactor IP address helpers to reduce code duplication
Extract common IP address calculation logic from platform-specific functions
into shared helpers. Add _determine_family(), _validate_prefix(),
_ipv4_prefix_to_netmask(), and _ipv6_prefix_to_mask() to internals.c.
Include netinet/in.h for struct in6_addr used by IPv6 mask generation.
Signed-off-by: Fabio M. Di Nitto <fabbione(a)kronosnet.org>
Co-Authored-By: Claude Sonnet 4.5 <noreply(a)anthropic.com>
Commit: 7fd7bae7154170164d895a1d5c2189dcd5cc8509
https://github.com/kronosnet/kronosnet/commit/7fd7bae7154170164d895a1d5c218…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2026-05-11 (Mon, 11 May 2026)
Changed paths:
M libnozzle/libnozzle_bsd.c
M libnozzle/libnozzle_linux.c
M libnozzle/libnozzle_solaris.c
Log Message:
-----------
libnozzle: consolidate platform-specific add_ip/del_ip implementations
Consolidate duplicate add/delete logic into platform-specific helpers:
Linux uses _netlink_modify_addr() for netlink operations, BSD uses
_bsd_modify_ipv4/6() for ioctl operations, Solaris uses _solaris_modify_ipv4/6()
with secondary interface support. Eliminates ~80 lines of duplication.
Signed-off-by: Fabio M. Di Nitto <fabbione(a)kronosnet.org>
Co-Authored-By: Claude Sonnet 4.5 <noreply(a)anthropic.com>
Compare: https://github.com/kronosnet/kronosnet/compare/74c183ab35c2...7fd7bae71541
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications