// Code generated by "stringer -type=VLANProtocol -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[VLANProtocol8021Q-33024] _ = x[VLANProtocol8021AD-34984] } const ( _VLANProtocol_name_0 = "802.1q" _VLANProtocol_name_1 = "802.1ad" ) func (i VLANProtocol) String() string { switch { case i == 33024: return _VLANProtocol_name_0 case i == 34984: return _VLANProtocol_name_1 default: return "VLANProtocol(" + strconv.FormatInt(int64(i), 10) + ")" } }