Re: git: fe33e0ab83d1 - main - ifnet/API: Move the IfAPI from if_var.h to if.h
- In reply to: Gleb Smirnoff : "Re: git: fe33e0ab83d1 - main - ifnet/API: Move the IfAPI from if_var.h to if.h"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jan 2023 00:57:42 UTC
On Thu, Jan 12, 2023 at 04:55:43PM -0800, Gleb Smirnoff wrote: T> 1) DrvAPI stays in if_var.h. Today all drivers already include it. T> 2) struct ifnet (and possibly later more stuff) goes to if_private.h. T> Alternative names: if_priv.h, if_kern.h, anything else? This file T> is not supposed to be used by drivers. T> 3) if_var.h _temporarily_ includes if_private.h. T> Removing this include and trying to compile we can very quickly T> check how close are we to final removal. T> 4) Eventually if_var.h stops including if_private.h. Note: the drivers that have already been converted, won't need a single change with this plan. -- Gleb Smirnoff