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
F167418052: D38199.id116128.diff
Fri, Aug 21, 3:30 PM
F167413971: D38199.id115735.diff
Fri, Aug 21, 3:11 PM
F167413438: D38199.diff
Fri, Aug 21, 3:08 PM
Unknown Object (File)
Thu, Aug 20, 12:07 PM
Unknown Object (File)
Sun, Aug 16, 5:24 AM
Unknown Object (File)
Thu, Aug 13, 7:40 AM
Unknown Object (File)
Mon, Jul 27, 3:34 PM
Unknown Object (File)
Sat, Jul 25, 9:02 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49232
Build 46122: arc lint + arc unit

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