// Code generated by "stringer -type=RouteType -linecomment -output routetype_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[TypeUnspec-0]
	_ = x[TypeUnicast-1]
	_ = x[TypeLocal-2]
	_ = x[TypeBroadcast-3]
	_ = x[TypeAnycast-4]
	_ = x[TypeMulticast-5]
	_ = x[TypeBlackhole-6]
	_ = x[TypeUnreachable-7]
	_ = x[TypeProhibit-8]
	_ = x[TypeThrow-9]
	_ = x[TypeNAT-10]
	_ = x[TypeXResolve-11]
}

const _RouteType_name = "unspecunicastlocalbroadcastanycastmulticastblackholeunreachableprohibitthrownatxresolve"

var _RouteType_index = [...]uint8{0, 6, 13, 18, 27, 34, 43, 52, 63, 71, 76, 79, 87}

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