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)
Fri, Apr 26, 11:17 AM
Unknown Object (File)
Fri, Apr 26, 11:17 AM
Unknown Object (File)
Fri, Apr 26, 6:08 AM
Unknown Object (File)
Fri, Apr 26, 1:44 AM
Unknown Object (File)
Mon, Apr 22, 7:32 AM
Unknown Object (File)
Feb 19 2024, 10:11 PM
Unknown Object (File)
Feb 10 2024, 9:40 PM
Unknown Object (File)
Dec 28 2023, 4:16 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