// Code generated by "stringer -type=LinkFlag -linecomment -output linkflag_string_linux.go"; 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[LinkUp-1]
	_ = x[LinkBroadcast-2]
	_ = x[LinkDebug-4]
	_ = x[LinkLoopback-8]
	_ = x[LinkPointToPoint-16]
	_ = x[LinkRunning-64]
	_ = x[LinkNoArp-128]
	_ = x[LinkPromisc-256]
	_ = x[LinkNoTrailers-32]
	_ = x[LinkAllMulti-512]
	_ = x[LinkMaster-1024]
	_ = x[LinkSlave-2048]
	_ = x[LinkMulticase-4096]
	_ = x[LinkPortsel-8192]
	_ = x[LinKAutoMedia-16384]
	_ = x[LinkDynamic-32768]
	_ = x[LinkLowerUp-65536]
	_ = x[LinkDormant-131072]
	_ = x[LinkEcho-262144]
}

const _LinkFlag_name = "UPBROADCASTDEBUGLOOPBACKPOINTTOPOINTNOTRAILERSRUNNINGNOARPPROMISCALLMULTIMASTERSLAVEMULTICASTPORTSELAUTOMEDIADYNAMICLOWER_UPDORMANTECHO"

var _LinkFlag_map = map[LinkFlag]string{
	1:      _LinkFlag_name[0:2],
	2:      _LinkFlag_name[2:11],
	4:      _LinkFlag_name[11:16],
	8:      _LinkFlag_name[16:24],
	16:     _LinkFlag_name[24:36],
	32:     _LinkFlag_name[36:46],
	64:     _LinkFlag_name[46:53],
	128:    _LinkFlag_name[53:58],
	256:    _LinkFlag_name[58:65],
	512:    _LinkFlag_name[65:73],
	1024:   _LinkFlag_name[73:79],
	2048:   _LinkFlag_name[79:84],
	4096:   _LinkFlag_name[84:93],
	8192:   _LinkFlag_name[93:100],
	16384:  _LinkFlag_name[100:109],
	32768:  _LinkFlag_name[109:116],
	65536:  _LinkFlag_name[116:124],
	131072: _LinkFlag_name[124:131],
	262144: _LinkFlag_name[131:135],
}

func (i LinkFlag) String() string {
	if str, ok := _LinkFlag_map[i]; ok {
		return str
	}
	return "LinkFlag(" + strconv.FormatInt(int64(i), 10) + ")"
}
