opnsense-src/lib/libifconfig
Ryan Moeller 671855e468 lib/libifconfig: Fix pointer-sign warnings
Fix all pointer-sign warnings generated when compiling libifconfig.

One of these warnings comes from the misuse of snl_add_msg_attr_string
for a byte array.  Though userland treats carpr_key as a string, it is
actually an array of bytes.  Handle it as such in libifconfig.

While here, fix a small consistency nit in ifconfig_sfp_get_sfp_dump.

Signed-off-by: Ryan Moeller <rmoeller.dev@gmail.com>
Reviewed by: imp, zlei
Pull Request: https://github.com/freebsd/freebsd-src/pull/1850
(cherry picked from commit 20cd1b475a1ef9dfca30726999aa1b9a02d5bc39)
2026-11-10 11:58:57 +01:00
..
libifconfig.c Revert "sys/socket.h: Fix AF_MAX" 2026-08-12 19:25:57 +02:00
libifconfig.h libifconfig: Add netlink based helper to bring the interface up/down 2025-08-29 17:39:39 +02:00
libifconfig_bridge.c libifconfig: Skip bridge VLAN config for span members 2026-05-05 16:03:45 +01:00
libifconfig_carp.c lib/libifconfig: Fix pointer-sign warnings 2026-11-10 11:58:57 +01:00
libifconfig_inet.c
libifconfig_inet6.c
libifconfig_internal.c Revert "sys/socket.h: Fix AF_MAX" 2026-08-12 19:25:57 +02:00
libifconfig_internal.h
libifconfig_lagg.c
libifconfig_media.c
libifconfig_nl.c libifconfig: Add netlink based helper to bring the interface up/down 2025-08-29 17:39:39 +02:00
libifconfig_sfp.c lib/libifconfig: Fix pointer-sign warnings 2026-11-10 11:58:57 +01:00
libifconfig_sfp.h
libifconfig_sfp_tables.tpl.c
libifconfig_sfp_tables.tpl.h
libifconfig_sfp_tables_internal.tpl.h
Makefile libifconfig: Add netlink based helper to bring the interface up/down 2025-08-29 17:39:39 +02:00
Makefile.depend
sfp.lua libifconfig: Fix nits in the descriptions of active 100G cables. 2025-03-17 16:05:25 -07:00
Symbol.map libifconfig: Remove ifconfig_set_fib and ifconfig_sfp_id_is_qsfp 2025-08-20 01:07:15 +02:00