forked from ti-mo/conntrack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
attributetype_string.go
47 lines (41 loc) · 1.5 KB
/
attributetype_string.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Code generated by "stringer -type=attributeType"; DO NOT EDIT.
package conntrack
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[ctaUnspec-0]
_ = x[ctaTupleOrig-1]
_ = x[ctaTupleReply-2]
_ = x[ctaStatus-3]
_ = x[ctaProtoInfo-4]
_ = x[ctaHelp-5]
_ = x[ctaNatSrc-6]
_ = x[ctaTimeout-7]
_ = x[ctaMark-8]
_ = x[ctaCountersOrig-9]
_ = x[ctaCountersReply-10]
_ = x[ctaUse-11]
_ = x[ctaID-12]
_ = x[ctaNatDst-13]
_ = x[ctaTupleMaster-14]
_ = x[ctaSeqAdjOrig-15]
_ = x[ctaSeqAdjReply-16]
_ = x[ctaSecMark-17]
_ = x[ctaZone-18]
_ = x[ctaSecCtx-19]
_ = x[ctaTimestamp-20]
_ = x[ctaMarkMask-21]
_ = x[ctaLabels-22]
_ = x[ctaLabelsMask-23]
_ = x[ctaSynProxy-24]
}
const _attributeType_name = "ctaUnspecctaTupleOrigctaTupleReplyctaStatusctaProtoInfoctaHelpctaNatSrcctaTimeoutctaMarkctaCountersOrigctaCountersReplyctaUsectaIDctaNatDstctaTupleMasterctaSeqAdjOrigctaSeqAdjReplyctaSecMarkctaZonectaSecCtxctaTimestampctaMarkMaskctaLabelsctaLabelsMaskctaSynProxy"
var _attributeType_index = [...]uint16{0, 9, 21, 34, 43, 55, 62, 71, 81, 88, 103, 119, 125, 130, 139, 153, 166, 180, 190, 197, 206, 218, 229, 238, 251, 262}
func (i attributeType) String() string {
if i >= attributeType(len(_attributeType_index)-1) {
return "attributeType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _attributeType_name[_attributeType_index[i]:_attributeType_index[i+1]]
}