Page MenuHomeFreeBSD

the netlink macro NETLINK_GENERIC is conflicted with the old name defined in if_mib.h
AcceptedPublic

Authored by steven_chen3_dell.com on Sep 13 2023, 10:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 1, 12:07 AM
Unknown Object (File)
Sat, Feb 28, 4:07 AM
Unknown Object (File)
Sun, Feb 22, 9:25 PM
Unknown Object (File)
Mon, Feb 16, 6:23 PM
Unknown Object (File)
Jan 29 2026, 4:59 PM
Unknown Object (File)
Jan 27 2026, 12:07 PM
Unknown Object (File)
Nov 15 2025, 3:52 PM
Unknown Object (File)
Nov 15 2025, 11:57 AM
Subscribers

Details

Reviewers
melifaro
Summary

the old name of NETLINK_GENERIC is used by interface MIB type query in SNMP, either we change the name of the old feature type, or we change the name of the new feature type. in order to application code cross platform porting, we keep netlink name is the same as linux, so we change the MIB type name macro name to NETLINK_GENERIC_MIB.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped