// Code generated by "stringer -type=BondMode -linecomment"; DO NOT EDIT.

package nethelpers

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[BondModeRoundrobin-0]
	_ = x[BondModeActiveBackup-1]
	_ = x[BondModeXOR-2]
	_ = x[BondModeBroadcast-3]
	_ = x[BondMode8023AD-4]
	_ = x[BondModeTLB-5]
	_ = x[BondModeALB-6]
}

const _BondMode_name = "balance-rractive-backupbalance-xorbroadcast802.3adbalance-tlbbalance-alb"

var _BondMode_index = [...]uint8{0, 10, 23, 34, 43, 50, 61, 72}

func (i BondMode) String() string {
	if i >= BondMode(len(_BondMode_index)-1) {
		return "BondMode(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _BondMode_name[_BondMode_index[i]:_BondMode_index[i+1]]
}
