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
F137951675: D38199.id115735.diff
Thu, Nov 27, 3:13 PM
F137916866: D38199.id115735.diff
Thu, Nov 27, 5:17 AM
Unknown Object (File)
Wed, Nov 26, 5:22 AM
Unknown Object (File)
Sun, Nov 23, 8:11 AM
Unknown Object (File)
Sun, Nov 16, 8:17 AM
Unknown Object (File)
Sat, Nov 15, 3:36 PM
Unknown Object (File)
Wed, Nov 12, 9:49 AM
Unknown Object (File)
Wed, Nov 12, 9:49 AM
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