diff options
| author | Nikolay Aleksandrov <razor@blackwall.org> | 2026-09-30 10:14:00 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-02 12:42:09 -0700 |
| commit | 13bb47965e021eabeaf6881272b419e076c529b2 (patch) | |
| tree | f3f7fcde4d2219a850f24e3711a5d10daadd1836 /tools/lib/python/kdoc | |
| parent | 071876fd50482a68603a9460d80dd6dd58827ee1 (diff) | |
net: bridge: introduce a bridge destination type
Add an opaque destination type and helpers for representing bridge port
destinations. Using a separate structure makes raw pointer assignments and
comparisons fail at build time while marking its value member __private
makes sparse warn about accesses that bypass the helpers.
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260930071411.2786201-2-razor@blackwall.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
