...
1
2
3 package ebpf
4
5 import "strconv"
6
7 func _() {
8
9
10 var x [1]struct{}
11 _ = x[AttachNone-0]
12 _ = x[AttachCGroupInetIngress-0]
13 _ = x[AttachCGroupInetEgress-1]
14 _ = x[AttachCGroupInetSockCreate-2]
15 _ = x[AttachCGroupSockOps-3]
16 _ = x[AttachSkSKBStreamParser-4]
17 _ = x[AttachSkSKBStreamVerdict-5]
18 _ = x[AttachCGroupDevice-6]
19 _ = x[AttachSkMsgVerdict-7]
20 _ = x[AttachCGroupInet4Bind-8]
21 _ = x[AttachCGroupInet6Bind-9]
22 _ = x[AttachCGroupInet4Connect-10]
23 _ = x[AttachCGroupInet6Connect-11]
24 _ = x[AttachCGroupInet4PostBind-12]
25 _ = x[AttachCGroupInet6PostBind-13]
26 _ = x[AttachCGroupUDP4Sendmsg-14]
27 _ = x[AttachCGroupUDP6Sendmsg-15]
28 _ = x[AttachLircMode2-16]
29 _ = x[AttachFlowDissector-17]
30 _ = x[AttachCGroupSysctl-18]
31 _ = x[AttachCGroupUDP4Recvmsg-19]
32 _ = x[AttachCGroupUDP6Recvmsg-20]
33 _ = x[AttachCGroupGetsockopt-21]
34 _ = x[AttachCGroupSetsockopt-22]
35 _ = x[AttachTraceRawTp-23]
36 _ = x[AttachTraceFEntry-24]
37 _ = x[AttachTraceFExit-25]
38 _ = x[AttachModifyReturn-26]
39 _ = x[AttachLSMMac-27]
40 _ = x[AttachTraceIter-28]
41 _ = x[AttachCgroupInet4GetPeername-29]
42 _ = x[AttachCgroupInet6GetPeername-30]
43 _ = x[AttachCgroupInet4GetSockname-31]
44 _ = x[AttachCgroupInet6GetSockname-32]
45 _ = x[AttachXDPDevMap-33]
46 _ = x[AttachCgroupInetSockRelease-34]
47 _ = x[AttachXDPCPUMap-35]
48 _ = x[AttachSkLookup-36]
49 _ = x[AttachXDP-37]
50 _ = x[AttachSkSKBVerdict-38]
51 _ = x[AttachSkReuseportSelect-39]
52 _ = x[AttachSkReuseportSelectOrMigrate-40]
53 _ = x[AttachPerfEvent-41]
54 }
55
56 const _AttachType_name = "NoneCGroupInetEgressCGroupInetSockCreateCGroupSockOpsSkSKBStreamParserSkSKBStreamVerdictCGroupDeviceSkMsgVerdictCGroupInet4BindCGroupInet6BindCGroupInet4ConnectCGroupInet6ConnectCGroupInet4PostBindCGroupInet6PostBindCGroupUDP4SendmsgCGroupUDP6SendmsgLircMode2FlowDissectorCGroupSysctlCGroupUDP4RecvmsgCGroupUDP6RecvmsgCGroupGetsockoptCGroupSetsockoptTraceRawTpTraceFEntryTraceFExitModifyReturnLSMMacTraceIterCgroupInet4GetPeernameCgroupInet6GetPeernameCgroupInet4GetSocknameCgroupInet6GetSocknameXDPDevMapCgroupInetSockReleaseXDPCPUMapSkLookupXDPSkSKBVerdictSkReuseportSelectSkReuseportSelectOrMigratePerfEvent"
57
58 var _AttachType_index = [...]uint16{0, 4, 20, 40, 53, 70, 88, 100, 112, 127, 142, 160, 178, 197, 216, 233, 250, 259, 272, 284, 301, 318, 334, 350, 360, 371, 381, 393, 399, 408, 430, 452, 474, 496, 505, 526, 535, 543, 546, 558, 575, 601, 610}
59
60 func (i AttachType) String() string {
61 if i >= AttachType(len(_AttachType_index)-1) {
62 return "AttachType(" + strconv.FormatInt(int64(i), 10) + ")"
63 }
64 return _AttachType_name[_AttachType_index[i]:_AttachType_index[i+1]]
65 }
66
View as plain text