mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
Revert "IfAPI: Added missing accessor for if_home_vnet"
This reverts commit 4e7a375804.
We do not want out-of-tree consumers to access the home_vnet variable.
As discussed with the author and Gleb Smirnoff.
This commit is contained in:
parent
e7258c4252
commit
ebb60d47a5
3 changed files with 1 additions and 16 deletions
|
|
@ -26,7 +26,7 @@
|
|||
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd September 29, 2025
|
||||
.Dd December 10, 2024
|
||||
.Dt IFNET 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -253,8 +253,6 @@
|
|||
.Fn if_getlladdr "const if_t ifp"
|
||||
.Ft struct vnet *
|
||||
.Fn if_getvnet "const if_t ifp"
|
||||
.Ft struct vnet *
|
||||
.Fn if_gethomevnet "const if_t ifp"
|
||||
.Ft void *
|
||||
.Fn if_gethandle "u_char"
|
||||
.Ft void
|
||||
|
|
@ -518,12 +516,6 @@ or
|
|||
A pointer to the virtual network stack instance.
|
||||
This is initialized by
|
||||
.Fn if_attach .
|
||||
.It Fn if_gethomevnet
|
||||
.Pq Vt "struct vnet *"
|
||||
A pointer to the parent virtual network stack,
|
||||
where this struct ifnet originates from.
|
||||
This is initialized by
|
||||
.Fn if_attach .
|
||||
.It Fn if_gethandle
|
||||
.It Fn if_vlancap
|
||||
.It Fn if_getcounter
|
||||
|
|
|
|||
|
|
@ -5116,12 +5116,6 @@ if_getvnet(if_t ifp)
|
|||
return (ifp->if_vnet);
|
||||
}
|
||||
|
||||
struct vnet *
|
||||
if_gethomevnet(if_t ifp)
|
||||
{
|
||||
return (ifp->if_home_vnet);
|
||||
}
|
||||
|
||||
void *
|
||||
if_getafdata(if_t ifp, int af)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -648,7 +648,6 @@ u_int16_t if_getvtag(struct mbuf *m);
|
|||
int if_vlantrunkinuse(if_t ifp);
|
||||
char *if_getlladdr(const if_t ifp);
|
||||
struct vnet *if_getvnet(const if_t ifp);
|
||||
struct vnet *if_gethomevnet(const if_t ifp);
|
||||
void *if_gethandle(u_char);
|
||||
void if_vlancap(if_t ifp);
|
||||
int if_transmit(if_t ifp, struct mbuf *m);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue