Page MenuHomeFreeBSD

IfAPI: Add if_llsoftc member accessors for TOEDEV
ClosedPublic

Authored by jhibbits on Jan 25 2023, 8:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 12, 5:16 PM
Unknown Object (File)
Mar 14 2025, 9:30 AM
Unknown Object (File)
Feb 26 2025, 9:17 AM
Unknown Object (File)
Feb 26 2025, 6:21 AM
Unknown Object (File)
Feb 25 2025, 3:48 AM
Unknown Object (File)
Feb 25 2025, 2:09 AM
Unknown Object (File)
Feb 23 2025, 12:56 AM
Unknown Object (File)
Jan 26 2025, 2:40 PM
Subscribers

Details

Summary

Keep TOEDEV() macro for backwards compatibility, and add a SETTOEDEV()
macro to complement with the new accessors.

Sponsored by: Juniper Networks, Inc.

Diff Detail

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

Event Timeline

sys/net/if.c
4830

What is the reason to make it non-void?

sys/net/if.c
4830

It was for consistency with other setters, but I guess that's not consistent either. I'll just make it void.

This revision is now accepted and ready to land.Jan 31 2023, 5:06 PM