diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2023-01-25 19:45:53 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2023-01-31 20:02:17 +0000 |
commit | 31cfaf191b0861d54ce8e212c77b458fd8fc018e (patch) | |
tree | b96388d053dafcf0bcbac9a91055c7702ab90d36 /sys/net/if_var.h | |
parent | 0d2684e15e415cef652e0f75e88962a674bffe04 (diff) | |
download | src-31cfaf191b0861d54ce8e212c77b458fd8fc018e.tar.gz src-31cfaf191b0861d54ce8e212c77b458fd8fc018e.zip |
IfAPI: Add l2com accessor for firewire.
Summary:
Firewire is the only device driver that accesses the l2com member, all
other accesses are handled within the netstack itself.
Sponsored by: Juniper Networks, Inc.
Reviewed by: glebius, melifaro
Differential Revision: https://reviews.freebsd.org/D38203
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r-- | sys/net/if_var.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index be7a5f059a7e..dbf8796865f0 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -644,6 +644,7 @@ struct label *if_getmaclabel(if_t ifp); void if_setmaclabel(if_t ifp, struct label *label); struct bpf_if *if_getbpf(if_t ifp); uint8_t if_getpcp(if_t ifp); +void *if_getl2com(if_t ifp); struct ifvlantrunk *if_getvlantrunk(if_t ifp); void *if_getafdata(if_t ifp, int); |