/[base]
ViewVC logotype

Revision 318505


Jump to revision: Previous Next
Author: rpokala
Date: Thu May 18 23:41:34 2017 UTC (7 years, 1 month ago)
Changed paths: 1
Log Message:
Persistently store NIC's hardware MAC address, and add a way to retrive it

jhb pointed out that (struct ifnet) is part of the network driver KBI, and
thus the offsets of internal fields must not change. Therefore, move the new
"if_hw_addr" field to the end, and consume one of the "if_pspare"s; that's
what they're there for. Because netmap on stable/10 uses "if_pspare[0]", the
new field replaces the *last* element of that array; that way,
offsetof(if_pspare) is unchanged compared to before r318430.

PR:		194386
Reviewed by:	jhb
Pointyhat to:	rpokala
Sponsored by:	Panasas


Changed paths

Path Details
Directorystable/10/sys/net/if_var.h modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27