struct ifnet: add if_capabilities2 and if_capenable2 bitmasks
We are running out of bits in if_capabilities. Suggested by: jhb Reviewed by: hselasky, jhb, kp (previous version) Sponsored by: NVIDIA Networking MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D32551
This commit is contained in:
parent
daed785d6f
commit
b96549f057
@ -342,7 +342,9 @@ struct ifnet {
|
||||
int if_flags; /* up/down, broadcast, etc. */
|
||||
int if_drv_flags; /* driver-managed status flags */
|
||||
int if_capabilities; /* interface features & capabilities */
|
||||
int if_capabilities2; /* part 2 */
|
||||
int if_capenable; /* enabled features & capabilities */
|
||||
int if_capenable2; /* part 2 */
|
||||
void *if_linkmib; /* link-type-specific MIB data */
|
||||
size_t if_linkmiblen; /* length of above data */
|
||||
u_int if_refcount; /* reference count */
|
||||
|
Loading…
Reference in New Issue
Block a user