talos

Форк
0
24 строки · 754.0 Байт
1
// This Source Code Form is subject to the terms of the Mozilla Public
2
// License, v. 2.0. If a copy of the MPL was not distributed with this
3
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4

5
package nethelpers
6

7
import "github.com/mdlayher/ethtool"
8

9
// Port wraps ethtool.Port for YAML marshaling.
10
type Port ethtool.Port
11

12
// Possible Port type values.
13
//
14
//structprotogen:gen_enum
15
const (
16
	TwistedPair  Port = Port(ethtool.TwistedPair)
17
	AUI          Port = Port(ethtool.AUI)
18
	MII          Port = Port(ethtool.MII)
19
	Fibre        Port = Port(ethtool.Fibre) //nolint:misspell
20
	BNC          Port = Port(ethtool.BNC)
21
	DirectAttach Port = Port(ethtool.DirectAttach)
22
	None         Port = Port(ethtool.None)
23
	Other        Port = Port(ethtool.Other)
24
)
25

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.