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
F135595857: D38199.diff
Tue, Nov 11, 3:56 AM
Unknown Object (File)
Tue, Nov 4, 3:51 PM
Unknown Object (File)
Tue, Nov 4, 3:51 PM
Unknown Object (File)
Tue, Nov 4, 3:49 PM
Unknown Object (File)
Sun, Nov 2, 7:54 PM
Unknown Object (File)
Wed, Oct 29, 5:20 AM
Unknown Object (File)
Mon, Oct 27, 10:47 AM
Unknown Object (File)
Sat, Oct 25, 3:35 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