Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration8021x ¶
type Configuration8021x struct { // Name is used to identify the configuration. Name string // 802.1x configuration field. EAP string KeyManagement string Identity string Password string Phase1 string Phase2 string CaCert []byte ClientCert []byte PrivKey []byte PrivKeyPasswd string }
Configuration8021x represents authentication information for a wired network with 802.1x.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is used to manage a wired network interface.
func NewManager ¶
NewManager returns a Manager for a specified wired interface.
func (*Manager) Authenticate8021x ¶
func (m *Manager) Authenticate8021x(cfg Configuration8021x) (State, error)
func (*Manager) IPAddress ¶
IPAddress returns a dotted decimal string representation of the Interface's IP address. If it has no IP, an empty string is returned.
type OperState ¶
type OperState int32
OperState represents the operational state of the wired interface as per RFC2863.
Click to show internal directories.
Click to hide internal directories.