Page MenuHomeFreeBSD

libifconfig: Remove ifconfig_set_fib and ifconfig_sfp_id_is_qsfp
ClosedPublic

Authored by saheed on Jun 3 2025, 1:37 PM.
Tags
None
Referenced Files
F159865533: D50666.id160633.diff
Thu, Jun 18, 10:41 PM
F159853363: D50666.diff
Thu, Jun 18, 7:55 PM
Unknown Object (File)
Wed, Jun 17, 2:20 PM
Unknown Object (File)
Wed, Jun 17, 3:01 AM
Unknown Object (File)
Thu, Jun 4, 12:41 PM
Unknown Object (File)
May 17 2026, 10:44 AM
Unknown Object (File)
May 17 2026, 6:32 AM
Unknown Object (File)
May 17 2026, 3:54 AM
Subscribers

Details

Summary

Removed the declaration of ifconfig_set_fib from libifconfig.h as it had no
definition.

ifconfig_sfp_id_is_qsfp is defined as a static header function in
libifconfig_sfp.h and doesn't generate a symbol.

Both have been removed from Symbol.map

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

saheed requested review of this revision.Jun 3 2025, 1:37 PM

Append "Sponsored by: Google LLC (GSoC)" to commits

lib/libifconfig/Symbol.map
84

this is used by ifconfig (sbin/ifconfig/sfp.c) right?

obiwac added inline comments.
lib/libifconfig/Symbol.map
84

ah no its defined statically in the header, you wrote that in your description already, sorry

This revision is now accepted and ready to land.Aug 19 2025, 10:56 PM
mckusick added a subscriber: mckusick.

Mentor approval for commit.