Page MenuHomeFreeBSD

Improve copy-and-paste versions of SIOCGIFADDR.
ClosedPublic

Authored by brooks on Mar 27 2018, 6:48 PM.
Tags
None
Referenced Files
F141039680: D14873.diff
Wed, Dec 31, 2:04 AM
F141039677: D14873.diff
Wed, Dec 31, 2:04 AM
F141039671: D14873.diff
Wed, Dec 31, 2:04 AM
Unknown Object (File)
Fri, Dec 12, 1:40 PM
Unknown Object (File)
Nov 26 2025, 9:57 PM
Unknown Object (File)
Nov 24 2025, 2:28 AM
Unknown Object (File)
Nov 22 2025, 10:57 PM
Unknown Object (File)
Nov 21 2025, 10:19 PM
Subscribers

Details

Summary

The original implementation used a reference to ifr_data and a cast to
do the equivalent of accessing ifr_addr. This was copied multiple
times since 1996.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15834
Build 15842: arc lint + arc unit

Event Timeline

This is the first of several changes to clean up use of ifr_data before placing all remaining access behind an accessor function.

This revision is now accepted and ready to land.Mar 27 2018, 8:17 PM
This revision was automatically updated to reflect the committed changes.