diff options
author | fach <shaw38@gmail.com> | 2020-06-04 12:20:52 -0400 |
---|---|---|
committer | fach <shaw38@gmail.com> | 2020-06-04 12:29:23 -0400 |
commit | 5fadcb1bacfbb4dfa2b8ff8ec5d067085e39a149 (patch) | |
tree | 438231a636c81e44f4a25ec4f671de83d6ee3d12 | |
parent | 0ea89787889788c0a8a809e9525c6e9c6ff7e377 (diff) | |
download | prometheus_node_collector-5fadcb1bacfbb4dfa2b8ff8ec5d067085e39a149.tar.bz2 prometheus_node_collector-5fadcb1bacfbb4dfa2b8ff8ec5d067085e39a149.tar.xz prometheus_node_collector-5fadcb1bacfbb4dfa2b8ff8ec5d067085e39a149.zip |
Updating mod version for github.com/ema/qdisc
Signed-off-by: fach <shaw38@gmail.com>
21 files changed, 355 insertions, 248 deletions
@@ -4,7 +4,7 @@ require ( | |||
4 | github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect | 4 | github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect |
5 | github.com/beevik/ntp v0.3.0 | 5 | github.com/beevik/ntp v0.3.0 |
6 | github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf | 6 | github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf |
7 | github.com/ema/qdisc v0.0.0-20190904071900-b82c76788043 | 7 | github.com/ema/qdisc v0.0.0-20200603082823-62d0308e3e00 |
8 | github.com/go-kit/kit v0.10.0 | 8 | github.com/go-kit/kit v0.10.0 |
9 | github.com/godbus/dbus v0.0.0-20190402143921-271e53dc4968 | 9 | github.com/godbus/dbus v0.0.0-20190402143921-271e53dc4968 |
10 | github.com/golang/protobuf v1.4.1 // indirect | 10 | github.com/golang/protobuf v1.4.1 // indirect |
@@ -26,9 +26,9 @@ require ( | |||
26 | go.uber.org/multierr v1.5.0 // indirect | 26 | go.uber.org/multierr v1.5.0 // indirect |
27 | golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37 | 27 | golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37 |
28 | golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect | 28 | golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect |
29 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120 // indirect | 29 | golang.org/x/net v0.0.0-20200602114024-627f9648deb9 // indirect |
30 | golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a // indirect | 30 | golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a // indirect |
31 | golang.org/x/sys v0.0.0-20200523222454-059865788121 | 31 | golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 |
32 | golang.org/x/tools v0.0.0-20200513201620-d5fe73897c97 // indirect | 32 | golang.org/x/tools v0.0.0-20200513201620-d5fe73897c97 // indirect |
33 | gopkg.in/alecthomas/kingpin.v2 v2.2.6 | 33 | gopkg.in/alecthomas/kingpin.v2 v2.2.6 |
34 | gopkg.in/yaml.v2 v2.3.0 | 34 | gopkg.in/yaml.v2 v2.3.0 |
@@ -60,8 +60,8 @@ github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5m | |||
60 | github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= | 60 | github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= |
61 | github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= | 61 | github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= |
62 | github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= | 62 | github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= |
63 | github.com/ema/qdisc v0.0.0-20190904071900-b82c76788043 h1:I3hLsM87FSASssIrIOGwJCio31dvLkvpYDKn2+r31ec= | 63 | github.com/ema/qdisc v0.0.0-20200603082823-62d0308e3e00 h1:0GHzegkDz/zSrt+Zph1OueNImPdUxoToypnkhhRYTjI= |
64 | github.com/ema/qdisc v0.0.0-20190904071900-b82c76788043/go.mod h1:ix4kG2zvdUd8kEKSW0ZTr1XLks0epFpI4j745DXxlNE= | 64 | github.com/ema/qdisc v0.0.0-20200603082823-62d0308e3e00/go.mod h1:ix4kG2zvdUd8kEKSW0ZTr1XLks0epFpI4j745DXxlNE= |
65 | github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= | 65 | github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= |
66 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= | 66 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= |
67 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= | 67 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= |
@@ -392,8 +392,8 @@ golang.org/x/net v0.0.0-20191007182048-72f939374954/go.mod h1:z5CRVTTTmAJ677TzLL | |||
392 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI= | 392 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI= |
393 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= | 393 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= |
394 | golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= | 394 | golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= |
395 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120 h1:EZ3cVSzKOlJxAd8e8YAJ7no8nNypTxexh/YE/xW3ZEY= | 395 | golang.org/x/net v0.0.0-20200602114024-627f9648deb9 h1:pNX+40auqi2JqRfOP1akLGtYcn15TUbkhwuCO3foqqM= |
396 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= | 396 | golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= |
397 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= | 397 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= |
398 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= | 398 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= |
399 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | 399 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= |
@@ -432,8 +432,8 @@ golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7w | |||
432 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | 432 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
433 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | 433 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
434 | golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | 434 | golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
435 | golang.org/x/sys v0.0.0-20200523222454-059865788121 h1:rITEj+UZHYC927n8GT97eC3zrpzXdb/voyeOuVKS46o= | 435 | golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 h1:OjiUf46hAmXblsZdnoSXsEUSKU8r1UEzcL5RVZ4gO9Y= |
436 | golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | 436 | golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
437 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= | 437 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= |
438 | golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= | 438 | golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= |
439 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= | 439 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= |
diff --git a/vendor/github.com/ema/qdisc/get.go b/vendor/github.com/ema/qdisc/get.go index 9191594..c83024c 100644 --- a/vendor/github.com/ema/qdisc/get.go +++ b/vendor/github.com/ema/qdisc/get.go | |||
@@ -86,6 +86,8 @@ type QdiscInfo struct { | |||
86 | GcFlows uint64 | 86 | GcFlows uint64 |
87 | Throttled uint64 | 87 | Throttled uint64 |
88 | FlowsPlimit uint64 | 88 | FlowsPlimit uint64 |
89 | Qlen uint32 | ||
90 | Backlog uint32 | ||
89 | } | 91 | } |
90 | 92 | ||
91 | func parseTCAStats(attr netlink.Attribute) TC_Stats { | 93 | func parseTCAStats(attr netlink.Attribute) TC_Stats { |
@@ -237,6 +239,8 @@ func parseMessage(msg netlink.Message) (QdiscInfo, error) { | |||
237 | // requeues only available in TCA_STATS2, not in TCA_STATS | 239 | // requeues only available in TCA_STATS2, not in TCA_STATS |
238 | m.Requeues = s2.Requeues | 240 | m.Requeues = s2.Requeues |
239 | m.Overlimits = s2.Overlimits | 241 | m.Overlimits = s2.Overlimits |
242 | m.Qlen = s2.Qlen | ||
243 | m.Backlog = s2.Backlog | ||
240 | case TCA_STATS: | 244 | case TCA_STATS: |
241 | // Legacy | 245 | // Legacy |
242 | s = parseTCAStats(attr) | 246 | s = parseTCAStats(attr) |
@@ -244,6 +248,8 @@ func parseMessage(msg netlink.Message) (QdiscInfo, error) { | |||
244 | m.Packets = s.Packets | 248 | m.Packets = s.Packets |
245 | m.Drops = s.Drops | 249 | m.Drops = s.Drops |
246 | m.Overlimits = s.Overlimits | 250 | m.Overlimits = s.Overlimits |
251 | m.Qlen = s.Qlen | ||
252 | m.Backlog = s.Backlog | ||
247 | default: | 253 | default: |
248 | // TODO: TCA_OPTIONS and TCA_XSTATS | 254 | // TODO: TCA_OPTIONS and TCA_XSTATS |
249 | } | 255 | } |
diff --git a/vendor/golang.org/x/net/http2/transport.go b/vendor/golang.org/x/net/http2/transport.go index 54acc1e..76a92e0 100644 --- a/vendor/golang.org/x/net/http2/transport.go +++ b/vendor/golang.org/x/net/http2/transport.go | |||
@@ -108,6 +108,19 @@ type Transport struct { | |||
108 | // waiting for their turn. | 108 | // waiting for their turn. |
109 | StrictMaxConcurrentStreams bool | 109 | StrictMaxConcurrentStreams bool |
110 | 110 | ||
111 | // ReadIdleTimeout is the timeout after which a health check using ping | ||
112 | // frame will be carried out if no frame is received on the connection. | ||
113 | // Note that a ping response will is considered a received frame, so if | ||
114 | // there is no other traffic on the connection, the health check will | ||
115 | // be performed every ReadIdleTimeout interval. | ||
116 | // If zero, no health check is performed. | ||
117 | ReadIdleTimeout time.Duration | ||
118 | |||
119 | // PingTimeout is the timeout after which the connection will be closed | ||
120 | // if a response to Ping is not received. | ||
121 | // Defaults to 15s. | ||
122 | PingTimeout time.Duration | ||
123 | |||
111 | // t1, if non-nil, is the standard library Transport using | 124 | // t1, if non-nil, is the standard library Transport using |
112 | // this transport. Its settings are used (but not its | 125 | // this transport. Its settings are used (but not its |
113 | // RoundTrip method, etc). | 126 | // RoundTrip method, etc). |
@@ -131,6 +144,14 @@ func (t *Transport) disableCompression() bool { | |||
131 | return t.DisableCompression || (t.t1 != nil && t.t1.DisableCompression) | 144 | return t.DisableCompression || (t.t1 != nil && t.t1.DisableCompression) |
132 | } | 145 | } |
133 | 146 | ||
147 | func (t *Transport) pingTimeout() time.Duration { | ||
148 | if t.PingTimeout == 0 { | ||
149 | return 15 * time.Second | ||
150 | } | ||
151 | return t.PingTimeout | ||
152 | |||
153 | } | ||
154 | |||
134 | // ConfigureTransport configures a net/http HTTP/1 Transport to use HTTP/2. | 155 | // ConfigureTransport configures a net/http HTTP/1 Transport to use HTTP/2. |
135 | // It returns an error if t1 has already been HTTP/2-enabled. | 156 | // It returns an error if t1 has already been HTTP/2-enabled. |
136 | func ConfigureTransport(t1 *http.Transport) error { | 157 | func ConfigureTransport(t1 *http.Transport) error { |
@@ -675,6 +696,20 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro | |||
675 | return cc, nil | 696 | return cc, nil |
676 | } | 697 | } |
677 | 698 | ||
699 | func (cc *ClientConn) healthCheck() { | ||
700 | pingTimeout := cc.t.pingTimeout() | ||
701 | // We don't need to periodically ping in the health check, because the readLoop of ClientConn will | ||
702 | // trigger the healthCheck again if there is no frame received. | ||
703 | ctx, cancel := context.WithTimeout(context.Background(), pingTimeout) | ||
704 | defer cancel() | ||
705 | err := cc.Ping(ctx) | ||
706 | if err != nil { | ||
707 | cc.closeForLostPing() | ||
708 | cc.t.connPool().MarkDead(cc) | ||
709 | return | ||
710 | } | ||
711 | } | ||
712 | |||
678 | func (cc *ClientConn) setGoAway(f *GoAwayFrame) { | 713 | func (cc *ClientConn) setGoAway(f *GoAwayFrame) { |
679 | cc.mu.Lock() | 714 | cc.mu.Lock() |
680 | defer cc.mu.Unlock() | 715 | defer cc.mu.Unlock() |
@@ -846,14 +881,12 @@ func (cc *ClientConn) sendGoAway() error { | |||
846 | return nil | 881 | return nil |
847 | } | 882 | } |
848 | 883 | ||
849 | // Close closes the client connection immediately. | 884 | // closes the client connection immediately. In-flight requests are interrupted. |
850 | // | 885 | // err is sent to streams. |
851 | // In-flight requests are interrupted. For a graceful shutdown, use Shutdown instead. | 886 | func (cc *ClientConn) closeForError(err error) error { |
852 | func (cc *ClientConn) Close() error { | ||
853 | cc.mu.Lock() | 887 | cc.mu.Lock() |
854 | defer cc.cond.Broadcast() | 888 | defer cc.cond.Broadcast() |
855 | defer cc.mu.Unlock() | 889 | defer cc.mu.Unlock() |
856 | err := errors.New("http2: client connection force closed via ClientConn.Close") | ||
857 | for id, cs := range cc.streams { | 890 | for id, cs := range cc.streams { |
858 | select { | 891 | select { |
859 | case cs.resc <- resAndError{err: err}: | 892 | case cs.resc <- resAndError{err: err}: |
@@ -866,6 +899,20 @@ func (cc *ClientConn) Close() error { | |||
866 | return cc.tconn.Close() | 899 | return cc.tconn.Close() |
867 | } | 900 | } |
868 | 901 | ||
902 | // Close closes the client connection immediately. | ||
903 | // | ||
904 | // In-flight requests are interrupted. For a graceful shutdown, use Shutdown instead. | ||
905 | func (cc *ClientConn) Close() error { | ||
906 | err := errors.New("http2: client connection force closed via ClientConn.Close") | ||
907 | return cc.closeForError(err) | ||
908 | } | ||
909 | |||
910 | // closes the client connection immediately. In-flight requests are interrupted. | ||
911 | func (cc *ClientConn) closeForLostPing() error { | ||
912 | err := errors.New("http2: client connection lost") | ||
913 | return cc.closeForError(err) | ||
914 | } | ||
915 | |||
869 | const maxAllocFrameSize = 512 << 10 | 916 | const maxAllocFrameSize = 512 << 10 |
870 | 917 | ||
871 | // frameBuffer returns a scratch buffer suitable for writing DATA frames. | 918 | // frameBuffer returns a scratch buffer suitable for writing DATA frames. |
@@ -1737,8 +1784,17 @@ func (rl *clientConnReadLoop) run() error { | |||
1737 | rl.closeWhenIdle = cc.t.disableKeepAlives() || cc.singleUse | 1784 | rl.closeWhenIdle = cc.t.disableKeepAlives() || cc.singleUse |
1738 | gotReply := false // ever saw a HEADERS reply | 1785 | gotReply := false // ever saw a HEADERS reply |
1739 | gotSettings := false | 1786 | gotSettings := false |
1787 | readIdleTimeout := cc.t.ReadIdleTimeout | ||
1788 | var t *time.Timer | ||
1789 | if readIdleTimeout != 0 { | ||
1790 | t = time.AfterFunc(readIdleTimeout, cc.healthCheck) | ||
1791 | defer t.Stop() | ||
1792 | } | ||
1740 | for { | 1793 | for { |
1741 | f, err := cc.fr.ReadFrame() | 1794 | f, err := cc.fr.ReadFrame() |
1795 | if t != nil { | ||
1796 | t.Reset(readIdleTimeout) | ||
1797 | } | ||
1742 | if err != nil { | 1798 | if err != nil { |
1743 | cc.vlogf("http2: Transport readFrame error on conn %p: (%T) %v", cc, err, err) | 1799 | cc.vlogf("http2: Transport readFrame error on conn %p: (%T) %v", cc, err, err) |
1744 | } | 1800 | } |
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go index 942a4bb..7b7c727 100644 --- a/vendor/golang.org/x/sys/unix/syscall_linux.go +++ b/vendor/golang.org/x/sys/unix/syscall_linux.go | |||
@@ -97,6 +97,12 @@ func IoctlSetRTCTime(fd int, value *RTCTime) error { | |||
97 | return err | 97 | return err |
98 | } | 98 | } |
99 | 99 | ||
100 | func IoctlSetRTCWkAlrm(fd int, value *RTCWkAlrm) error { | ||
101 | err := ioctl(fd, RTC_WKALM_SET, uintptr(unsafe.Pointer(value))) | ||
102 | runtime.KeepAlive(value) | ||
103 | return err | ||
104 | } | ||
105 | |||
100 | func IoctlGetUint32(fd int, req uint) (uint32, error) { | 106 | func IoctlGetUint32(fd int, req uint) (uint32, error) { |
101 | var value uint32 | 107 | var value uint32 |
102 | err := ioctl(fd, req, uintptr(unsafe.Pointer(&value))) | 108 | err := ioctl(fd, req, uintptr(unsafe.Pointer(&value))) |
@@ -109,6 +115,12 @@ func IoctlGetRTCTime(fd int) (*RTCTime, error) { | |||
109 | return &value, err | 115 | return &value, err |
110 | } | 116 | } |
111 | 117 | ||
118 | func IoctlGetRTCWkAlrm(fd int) (*RTCWkAlrm, error) { | ||
119 | var value RTCWkAlrm | ||
120 | err := ioctl(fd, RTC_WKALM_RD, uintptr(unsafe.Pointer(&value))) | ||
121 | return &value, err | ||
122 | } | ||
123 | |||
112 | //sys Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) | 124 | //sys Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) |
113 | 125 | ||
114 | func Link(oldpath string, newpath string) (err error) { | 126 | func Link(oldpath string, newpath string) (err error) { |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux.go b/vendor/golang.org/x/sys/unix/zerrors_linux.go index 6e3cfec..f8bd50c 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux.go | |||
@@ -160,78 +160,28 @@ const ( | |||
160 | BPF_A = 0x10 | 160 | BPF_A = 0x10 |
161 | BPF_ABS = 0x20 | 161 | BPF_ABS = 0x20 |
162 | BPF_ADD = 0x0 | 162 | BPF_ADD = 0x0 |
163 | BPF_ADJ_ROOM_ENCAP_L2_MASK = 0xff | ||
164 | BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 0x38 | ||
165 | BPF_ALU = 0x4 | 163 | BPF_ALU = 0x4 |
166 | BPF_ALU64 = 0x7 | 164 | BPF_ALU64 = 0x7 |
167 | BPF_AND = 0x50 | 165 | BPF_AND = 0x50 |
168 | BPF_ANY = 0x0 | ||
169 | BPF_ARSH = 0xc0 | 166 | BPF_ARSH = 0xc0 |
170 | BPF_B = 0x10 | 167 | BPF_B = 0x10 |
171 | BPF_BUILD_ID_SIZE = 0x14 | 168 | BPF_BUILD_ID_SIZE = 0x14 |
172 | BPF_CALL = 0x80 | 169 | BPF_CALL = 0x80 |
173 | BPF_DEVCG_ACC_MKNOD = 0x1 | ||
174 | BPF_DEVCG_ACC_READ = 0x2 | ||
175 | BPF_DEVCG_ACC_WRITE = 0x4 | ||
176 | BPF_DEVCG_DEV_BLOCK = 0x1 | ||
177 | BPF_DEVCG_DEV_CHAR = 0x2 | ||
178 | BPF_DIV = 0x30 | 170 | BPF_DIV = 0x30 |
179 | BPF_DW = 0x18 | 171 | BPF_DW = 0x18 |
180 | BPF_END = 0xd0 | 172 | BPF_END = 0xd0 |
181 | BPF_EXIST = 0x2 | ||
182 | BPF_EXIT = 0x90 | 173 | BPF_EXIT = 0x90 |
183 | BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 0x1 | ||
184 | BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 0x4 | ||
185 | BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 0x2 | ||
186 | BPF_FROM_BE = 0x8 | 174 | BPF_FROM_BE = 0x8 |
187 | BPF_FROM_LE = 0x0 | 175 | BPF_FROM_LE = 0x0 |
188 | BPF_FS_MAGIC = 0xcafe4a11 | 176 | BPF_FS_MAGIC = 0xcafe4a11 |
189 | BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 0x2 | ||
190 | BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 0x4 | ||
191 | BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 0x8 | ||
192 | BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 0x10 | ||
193 | BPF_F_ADJ_ROOM_FIXED_GSO = 0x1 | ||
194 | BPF_F_ALLOW_MULTI = 0x2 | 177 | BPF_F_ALLOW_MULTI = 0x2 |
195 | BPF_F_ALLOW_OVERRIDE = 0x1 | 178 | BPF_F_ALLOW_OVERRIDE = 0x1 |
196 | BPF_F_ANY_ALIGNMENT = 0x2 | 179 | BPF_F_ANY_ALIGNMENT = 0x2 |
197 | BPF_F_CLONE = 0x200 | ||
198 | BPF_F_CTXLEN_MASK = 0xfffff00000000 | ||
199 | BPF_F_CURRENT_CPU = 0xffffffff | ||
200 | BPF_F_CURRENT_NETNS = -0x1 | ||
201 | BPF_F_DONT_FRAGMENT = 0x4 | ||
202 | BPF_F_FAST_STACK_CMP = 0x200 | ||
203 | BPF_F_HDR_FIELD_MASK = 0xf | ||
204 | BPF_F_INDEX_MASK = 0xffffffff | ||
205 | BPF_F_INGRESS = 0x1 | ||
206 | BPF_F_INVALIDATE_HASH = 0x2 | ||
207 | BPF_F_LOCK = 0x4 | ||
208 | BPF_F_MARK_ENFORCE = 0x40 | ||
209 | BPF_F_MARK_MANGLED_0 = 0x20 | ||
210 | BPF_F_MMAPABLE = 0x400 | ||
211 | BPF_F_NO_COMMON_LRU = 0x2 | ||
212 | BPF_F_NO_PREALLOC = 0x1 | ||
213 | BPF_F_NUMA_NODE = 0x4 | ||
214 | BPF_F_PSEUDO_HDR = 0x10 | ||
215 | BPF_F_QUERY_EFFECTIVE = 0x1 | 180 | BPF_F_QUERY_EFFECTIVE = 0x1 |
216 | BPF_F_RDONLY = 0x8 | ||
217 | BPF_F_RDONLY_PROG = 0x80 | ||
218 | BPF_F_RECOMPUTE_CSUM = 0x1 | ||
219 | BPF_F_REPLACE = 0x4 | 181 | BPF_F_REPLACE = 0x4 |
220 | BPF_F_REUSE_STACKID = 0x400 | ||
221 | BPF_F_SEQ_NUMBER = 0x8 | ||
222 | BPF_F_SKIP_FIELD_MASK = 0xff | ||
223 | BPF_F_STACK_BUILD_ID = 0x20 | ||
224 | BPF_F_STRICT_ALIGNMENT = 0x1 | 182 | BPF_F_STRICT_ALIGNMENT = 0x1 |
225 | BPF_F_SYSCTL_BASE_NAME = 0x1 | ||
226 | BPF_F_TEST_RND_HI32 = 0x4 | 183 | BPF_F_TEST_RND_HI32 = 0x4 |
227 | BPF_F_TEST_STATE_FREQ = 0x8 | 184 | BPF_F_TEST_STATE_FREQ = 0x8 |
228 | BPF_F_TUNINFO_IPV6 = 0x1 | ||
229 | BPF_F_USER_BUILD_ID = 0x800 | ||
230 | BPF_F_USER_STACK = 0x100 | ||
231 | BPF_F_WRONLY = 0x10 | ||
232 | BPF_F_WRONLY_PROG = 0x100 | ||
233 | BPF_F_ZERO_CSUM_TX = 0x2 | ||
234 | BPF_F_ZERO_SEED = 0x40 | ||
235 | BPF_H = 0x8 | 185 | BPF_H = 0x8 |
236 | BPF_IMM = 0x0 | 186 | BPF_IMM = 0x0 |
237 | BPF_IND = 0x40 | 187 | BPF_IND = 0x40 |
@@ -267,7 +217,6 @@ const ( | |||
267 | BPF_MUL = 0x20 | 217 | BPF_MUL = 0x20 |
268 | BPF_NEG = 0x80 | 218 | BPF_NEG = 0x80 |
269 | BPF_NET_OFF = -0x100000 | 219 | BPF_NET_OFF = -0x100000 |
270 | BPF_NOEXIST = 0x1 | ||
271 | BPF_OBJ_NAME_LEN = 0x10 | 220 | BPF_OBJ_NAME_LEN = 0x10 |
272 | BPF_OR = 0x40 | 221 | BPF_OR = 0x40 |
273 | BPF_PSEUDO_CALL = 0x1 | 222 | BPF_PSEUDO_CALL = 0x1 |
@@ -275,12 +224,6 @@ const ( | |||
275 | BPF_PSEUDO_MAP_VALUE = 0x2 | 224 | BPF_PSEUDO_MAP_VALUE = 0x2 |
276 | BPF_RET = 0x6 | 225 | BPF_RET = 0x6 |
277 | BPF_RSH = 0x70 | 226 | BPF_RSH = 0x70 |
278 | BPF_SK_STORAGE_GET_F_CREATE = 0x1 | ||
279 | BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf | ||
280 | BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2 | ||
281 | BPF_SOCK_OPS_RTO_CB_FLAG = 0x1 | ||
282 | BPF_SOCK_OPS_RTT_CB_FLAG = 0x8 | ||
283 | BPF_SOCK_OPS_STATE_CB_FLAG = 0x4 | ||
284 | BPF_ST = 0x2 | 227 | BPF_ST = 0x2 |
285 | BPF_STX = 0x3 | 228 | BPF_STX = 0x3 |
286 | BPF_SUB = 0x10 | 229 | BPF_SUB = 0x10 |
@@ -378,12 +321,14 @@ const ( | |||
378 | CLOCK_TXINT = 0x3 | 321 | CLOCK_TXINT = 0x3 |
379 | CLONE_ARGS_SIZE_VER0 = 0x40 | 322 | CLONE_ARGS_SIZE_VER0 = 0x40 |
380 | CLONE_ARGS_SIZE_VER1 = 0x50 | 323 | CLONE_ARGS_SIZE_VER1 = 0x50 |
324 | CLONE_ARGS_SIZE_VER2 = 0x58 | ||
381 | CLONE_CHILD_CLEARTID = 0x200000 | 325 | CLONE_CHILD_CLEARTID = 0x200000 |
382 | CLONE_CHILD_SETTID = 0x1000000 | 326 | CLONE_CHILD_SETTID = 0x1000000 |
383 | CLONE_CLEAR_SIGHAND = 0x100000000 | 327 | CLONE_CLEAR_SIGHAND = 0x100000000 |
384 | CLONE_DETACHED = 0x400000 | 328 | CLONE_DETACHED = 0x400000 |
385 | CLONE_FILES = 0x400 | 329 | CLONE_FILES = 0x400 |
386 | CLONE_FS = 0x200 | 330 | CLONE_FS = 0x200 |
331 | CLONE_INTO_CGROUP = 0x200000000 | ||
387 | CLONE_IO = 0x80000000 | 332 | CLONE_IO = 0x80000000 |
388 | CLONE_NEWCGROUP = 0x2000000 | 333 | CLONE_NEWCGROUP = 0x2000000 |
389 | CLONE_NEWIPC = 0x8000000 | 334 | CLONE_NEWIPC = 0x8000000 |
@@ -598,7 +543,9 @@ const ( | |||
598 | FAN_DELETE = 0x200 | 543 | FAN_DELETE = 0x200 |
599 | FAN_DELETE_SELF = 0x400 | 544 | FAN_DELETE_SELF = 0x400 |
600 | FAN_DENY = 0x2 | 545 | FAN_DENY = 0x2 |
546 | FAN_DIR_MODIFY = 0x80000 | ||
601 | FAN_ENABLE_AUDIT = 0x40 | 547 | FAN_ENABLE_AUDIT = 0x40 |
548 | FAN_EVENT_INFO_TYPE_DFID_NAME = 0x2 | ||
602 | FAN_EVENT_INFO_TYPE_FID = 0x1 | 549 | FAN_EVENT_INFO_TYPE_FID = 0x1 |
603 | FAN_EVENT_METADATA_LEN = 0x18 | 550 | FAN_EVENT_METADATA_LEN = 0x18 |
604 | FAN_EVENT_ON_CHILD = 0x8000000 | 551 | FAN_EVENT_ON_CHILD = 0x8000000 |
@@ -2108,8 +2055,6 @@ const ( | |||
2108 | TCOFLUSH = 0x1 | 2055 | TCOFLUSH = 0x1 |
2109 | TCOOFF = 0x0 | 2056 | TCOOFF = 0x0 |
2110 | TCOON = 0x1 | 2057 | TCOON = 0x1 |
2111 | TCP_BPF_IW = 0x3e9 | ||
2112 | TCP_BPF_SNDCWND_CLAMP = 0x3ea | ||
2113 | TCP_CC_INFO = 0x1a | 2058 | TCP_CC_INFO = 0x1a |
2114 | TCP_CM_INQ = 0x24 | 2059 | TCP_CM_INQ = 0x24 |
2115 | TCP_CONGESTION = 0xd | 2060 | TCP_CONGESTION = 0xd |
@@ -2384,8 +2329,9 @@ const ( | |||
2384 | XDP_COPY = 0x2 | 2329 | XDP_COPY = 0x2 |
2385 | XDP_FLAGS_DRV_MODE = 0x4 | 2330 | XDP_FLAGS_DRV_MODE = 0x4 |
2386 | XDP_FLAGS_HW_MODE = 0x8 | 2331 | XDP_FLAGS_HW_MODE = 0x8 |
2387 | XDP_FLAGS_MASK = 0xf | 2332 | XDP_FLAGS_MASK = 0x1f |
2388 | XDP_FLAGS_MODES = 0xe | 2333 | XDP_FLAGS_MODES = 0xe |
2334 | XDP_FLAGS_REPLACE = 0x10 | ||
2389 | XDP_FLAGS_SKB_MODE = 0x2 | 2335 | XDP_FLAGS_SKB_MODE = 0x2 |
2390 | XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1 | 2336 | XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1 |
2391 | XDP_MMAP_OFFSETS = 0x1 | 2337 | XDP_MMAP_OFFSETS = 0x1 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go index 5e97411..8d207b0 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go | |||
@@ -75,6 +75,7 @@ const ( | |||
75 | FP_XSTATE_MAGIC2 = 0x46505845 | 75 | FP_XSTATE_MAGIC2 = 0x46505845 |
76 | FS_IOC_ENABLE_VERITY = 0x40806685 | 76 | FS_IOC_ENABLE_VERITY = 0x40806685 |
77 | FS_IOC_GETFLAGS = 0x80046601 | 77 | FS_IOC_GETFLAGS = 0x80046601 |
78 | FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b | ||
78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 | 79 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 |
79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 | 80 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 |
80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 | 81 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go index 47a57fe..c4bf9cb 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go | |||
@@ -75,6 +75,7 @@ const ( | |||
75 | FP_XSTATE_MAGIC2 = 0x46505845 | 75 | FP_XSTATE_MAGIC2 = 0x46505845 |
76 | FS_IOC_ENABLE_VERITY = 0x40806685 | 76 | FS_IOC_ENABLE_VERITY = 0x40806685 |
77 | FS_IOC_GETFLAGS = 0x80086601 | 77 | FS_IOC_GETFLAGS = 0x80086601 |
78 | FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b | ||
78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 | 79 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 |
79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 | 80 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 |
80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 | 81 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go index df2eea4..0cab052 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x1000 | 74 | FLUSHO = 0x1000 |
75 | FS_IOC_ENABLE_VERITY = 0x40806685 | 75 | FS_IOC_ENABLE_VERITY = 0x40806685 |
76 | FS_IOC_GETFLAGS = 0x80046601 | 76 | FS_IOC_GETFLAGS = 0x80046601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go index 4e12142..370d0a7 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go | |||
@@ -77,6 +77,7 @@ const ( | |||
77 | FPSIMD_MAGIC = 0x46508001 | 77 | FPSIMD_MAGIC = 0x46508001 |
78 | FS_IOC_ENABLE_VERITY = 0x40806685 | 78 | FS_IOC_ENABLE_VERITY = 0x40806685 |
79 | FS_IOC_GETFLAGS = 0x80086601 | 79 | FS_IOC_GETFLAGS = 0x80086601 |
80 | FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b | ||
80 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 | 81 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 |
81 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 | 82 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 |
82 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 | 83 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go index a23b080..fbf2f31 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x2000 | 74 | FLUSHO = 0x2000 |
75 | FS_IOC_ENABLE_VERITY = 0x80806685 | 75 | FS_IOC_ENABLE_VERITY = 0x80806685 |
76 | FS_IOC_GETFLAGS = 0x40046601 | 76 | FS_IOC_GETFLAGS = 0x40046601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x4010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go index a5a921e..25e74b3 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x2000 | 74 | FLUSHO = 0x2000 |
75 | FS_IOC_ENABLE_VERITY = 0x80806685 | 75 | FS_IOC_ENABLE_VERITY = 0x80806685 |
76 | FS_IOC_GETFLAGS = 0x40086601 | 76 | FS_IOC_GETFLAGS = 0x40086601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x4010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go index d088e19..4ecc0bc 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x2000 | 74 | FLUSHO = 0x2000 |
75 | FS_IOC_ENABLE_VERITY = 0x80806685 | 75 | FS_IOC_ENABLE_VERITY = 0x80806685 |
76 | FS_IOC_GETFLAGS = 0x40086601 | 76 | FS_IOC_GETFLAGS = 0x40086601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x4010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go index 0ddf9d5..dfb8f88 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x2000 | 74 | FLUSHO = 0x2000 |
75 | FS_IOC_ENABLE_VERITY = 0x80806685 | 75 | FS_IOC_ENABLE_VERITY = 0x80806685 |
76 | FS_IOC_GETFLAGS = 0x40046601 | 76 | FS_IOC_GETFLAGS = 0x40046601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x4010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go index a93ffc1..72d8dad 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x800000 | 74 | FLUSHO = 0x800000 |
75 | FS_IOC_ENABLE_VERITY = 0x80806685 | 75 | FS_IOC_ENABLE_VERITY = 0x80806685 |
76 | FS_IOC_GETFLAGS = 0x40086601 | 76 | FS_IOC_GETFLAGS = 0x40086601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x4010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go index c1ea48b..ca0e7b5 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x800000 | 74 | FLUSHO = 0x800000 |
75 | FS_IOC_ENABLE_VERITY = 0x80806685 | 75 | FS_IOC_ENABLE_VERITY = 0x80806685 |
76 | FS_IOC_GETFLAGS = 0x40086601 | 76 | FS_IOC_GETFLAGS = 0x40086601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x4010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go index 7def950..147511a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x1000 | 74 | FLUSHO = 0x1000 |
75 | FS_IOC_ENABLE_VERITY = 0x40806685 | 75 | FS_IOC_ENABLE_VERITY = 0x40806685 |
76 | FS_IOC_GETFLAGS = 0x80086601 | 76 | FS_IOC_GETFLAGS = 0x80086601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go index d39293c..517349d 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go | |||
@@ -74,6 +74,7 @@ const ( | |||
74 | FLUSHO = 0x1000 | 74 | FLUSHO = 0x1000 |
75 | FS_IOC_ENABLE_VERITY = 0x40806685 | 75 | FS_IOC_ENABLE_VERITY = 0x40806685 |
76 | FS_IOC_GETFLAGS = 0x80086601 | 76 | FS_IOC_GETFLAGS = 0x80086601 |
77 | FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b | ||
77 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 | 78 | FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 |
78 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 | 79 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 |
79 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 | 80 | FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 |
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go index 3ff3ec6..0948224 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go | |||
@@ -78,6 +78,7 @@ const ( | |||
78 | FLUSHO = 0x1000 | 78 | FLUSHO = 0x1000 |
79 | FS_IOC_ENABLE_VERITY = 0x80806685 | 79 | FS_IOC_ENABLE_VERITY = 0x80806685 |
80 | FS_IOC_GETFLAGS = 0x40086601 | 80 | FS_IOC_GETFLAGS = 0x40086601 |
81 | FS_IOC_GET_ENCRYPTION_NONCE = 0x4010661b | ||
81 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 | 82 | FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 |
82 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 | 83 | FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 |
83 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 | 84 | FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 |
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux.go b/vendor/golang.org/x/sys/unix/ztypes_linux.go index 416f776..27d67ac 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux.go | |||
@@ -1871,175 +1871,249 @@ const ( | |||
1871 | ) | 1871 | ) |
1872 | 1872 | ||
1873 | const ( | 1873 | const ( |
1874 | BPF_REG_0 = 0x0 | 1874 | BPF_REG_0 = 0x0 |
1875 | BPF_REG_1 = 0x1 | 1875 | BPF_REG_1 = 0x1 |
1876 | BPF_REG_2 = 0x2 | 1876 | BPF_REG_2 = 0x2 |
1877 | BPF_REG_3 = 0x3 | 1877 | BPF_REG_3 = 0x3 |
1878 | BPF_REG_4 = 0x4 | 1878 | BPF_REG_4 = 0x4 |
1879 | BPF_REG_5 = 0x5 | 1879 | BPF_REG_5 = 0x5 |
1880 | BPF_REG_6 = 0x6 | 1880 | BPF_REG_6 = 0x6 |
1881 | BPF_REG_7 = 0x7 | 1881 | BPF_REG_7 = 0x7 |
1882 | BPF_REG_8 = 0x8 | 1882 | BPF_REG_8 = 0x8 |
1883 | BPF_REG_9 = 0x9 | 1883 | BPF_REG_9 = 0x9 |
1884 | BPF_REG_10 = 0xa | 1884 | BPF_REG_10 = 0xa |
1885 | BPF_MAP_CREATE = 0x0 | 1885 | BPF_MAP_CREATE = 0x0 |
1886 | BPF_MAP_LOOKUP_ELEM = 0x1 | 1886 | BPF_MAP_LOOKUP_ELEM = 0x1 |
1887 | BPF_MAP_UPDATE_ELEM = 0x2 | 1887 | BPF_MAP_UPDATE_ELEM = 0x2 |
1888 | BPF_MAP_DELETE_ELEM = 0x3 | 1888 | BPF_MAP_DELETE_ELEM = 0x3 |
1889 | BPF_MAP_GET_NEXT_KEY = 0x4 | 1889 | BPF_MAP_GET_NEXT_KEY = 0x4 |
1890 | BPF_PROG_LOAD = 0x5 | 1890 | BPF_PROG_LOAD = 0x5 |
1891 | BPF_OBJ_PIN = 0x6 | 1891 | BPF_OBJ_PIN = 0x6 |
1892 | BPF_OBJ_GET = 0x7 | 1892 | BPF_OBJ_GET = 0x7 |
1893 | BPF_PROG_ATTACH = 0x8 | 1893 | BPF_PROG_ATTACH = 0x8 |
1894 | BPF_PROG_DETACH = 0x9 | 1894 | BPF_PROG_DETACH = 0x9 |
1895 | BPF_PROG_TEST_RUN = 0xa | 1895 | BPF_PROG_TEST_RUN = 0xa |
1896 | BPF_PROG_GET_NEXT_ID = 0xb | 1896 | BPF_PROG_GET_NEXT_ID = 0xb |
1897 | BPF_MAP_GET_NEXT_ID = 0xc | 1897 | BPF_MAP_GET_NEXT_ID = 0xc |
1898 | BPF_PROG_GET_FD_BY_ID = 0xd | 1898 | BPF_PROG_GET_FD_BY_ID = 0xd |
1899 | BPF_MAP_GET_FD_BY_ID = 0xe | 1899 | BPF_MAP_GET_FD_BY_ID = 0xe |
1900 | BPF_OBJ_GET_INFO_BY_FD = 0xf | 1900 | BPF_OBJ_GET_INFO_BY_FD = 0xf |
1901 | BPF_PROG_QUERY = 0x10 | 1901 | BPF_PROG_QUERY = 0x10 |
1902 | BPF_RAW_TRACEPOINT_OPEN = 0x11 | 1902 | BPF_RAW_TRACEPOINT_OPEN = 0x11 |
1903 | BPF_BTF_LOAD = 0x12 | 1903 | BPF_BTF_LOAD = 0x12 |
1904 | BPF_BTF_GET_FD_BY_ID = 0x13 | 1904 | BPF_BTF_GET_FD_BY_ID = 0x13 |
1905 | BPF_TASK_FD_QUERY = 0x14 | 1905 | BPF_TASK_FD_QUERY = 0x14 |
1906 | BPF_MAP_LOOKUP_AND_DELETE_ELEM = 0x15 | 1906 | BPF_MAP_LOOKUP_AND_DELETE_ELEM = 0x15 |
1907 | BPF_MAP_FREEZE = 0x16 | 1907 | BPF_MAP_FREEZE = 0x16 |
1908 | BPF_BTF_GET_NEXT_ID = 0x17 | 1908 | BPF_BTF_GET_NEXT_ID = 0x17 |
1909 | BPF_MAP_TYPE_UNSPEC = 0x0 | 1909 | BPF_MAP_LOOKUP_BATCH = 0x18 |
1910 | BPF_MAP_TYPE_HASH = 0x1 | 1910 | BPF_MAP_LOOKUP_AND_DELETE_BATCH = 0x19 |
1911 | BPF_MAP_TYPE_ARRAY = 0x2 | 1911 | BPF_MAP_UPDATE_BATCH = 0x1a |
1912 | BPF_MAP_TYPE_PROG_ARRAY = 0x3 | 1912 | BPF_MAP_DELETE_BATCH = 0x1b |
1913 | BPF_MAP_TYPE_PERF_EVENT_ARRAY = 0x4 | 1913 | BPF_LINK_CREATE = 0x1c |
1914 | BPF_MAP_TYPE_PERCPU_HASH = 0x5 | 1914 | BPF_LINK_UPDATE = 0x1d |
1915 | BPF_MAP_TYPE_PERCPU_ARRAY = 0x6 | 1915 | BPF_MAP_TYPE_UNSPEC = 0x0 |
1916 | BPF_MAP_TYPE_STACK_TRACE = 0x7 | 1916 | BPF_MAP_TYPE_HASH = 0x1 |
1917 | BPF_MAP_TYPE_CGROUP_ARRAY = 0x8 | 1917 | BPF_MAP_TYPE_ARRAY = 0x2 |
1918 | BPF_MAP_TYPE_LRU_HASH = 0x9 | 1918 | BPF_MAP_TYPE_PROG_ARRAY = 0x3 |
1919 | BPF_MAP_TYPE_LRU_PERCPU_HASH = 0xa | 1919 | BPF_MAP_TYPE_PERF_EVENT_ARRAY = 0x4 |
1920 | BPF_MAP_TYPE_LPM_TRIE = 0xb | 1920 | BPF_MAP_TYPE_PERCPU_HASH = 0x5 |
1921 | BPF_MAP_TYPE_ARRAY_OF_MAPS = 0xc | 1921 | BPF_MAP_TYPE_PERCPU_ARRAY = 0x6 |
1922 | BPF_MAP_TYPE_HASH_OF_MAPS = 0xd | 1922 | BPF_MAP_TYPE_STACK_TRACE = 0x7 |
1923 | BPF_MAP_TYPE_DEVMAP = 0xe | 1923 | BPF_MAP_TYPE_CGROUP_ARRAY = 0x8 |
1924 | BPF_MAP_TYPE_SOCKMAP = 0xf | 1924 | BPF_MAP_TYPE_LRU_HASH = 0x9 |
1925 | BPF_MAP_TYPE_CPUMAP = 0x10 | 1925 | BPF_MAP_TYPE_LRU_PERCPU_HASH = 0xa |
1926 | BPF_MAP_TYPE_XSKMAP = 0x11 | 1926 | BPF_MAP_TYPE_LPM_TRIE = 0xb |
1927 | BPF_MAP_TYPE_SOCKHASH = 0x12 | 1927 | BPF_MAP_TYPE_ARRAY_OF_MAPS = 0xc |
1928 | BPF_MAP_TYPE_CGROUP_STORAGE = 0x13 | 1928 | BPF_MAP_TYPE_HASH_OF_MAPS = 0xd |
1929 | BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 0x14 | 1929 | BPF_MAP_TYPE_DEVMAP = 0xe |
1930 | BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 0x15 | 1930 | BPF_MAP_TYPE_SOCKMAP = 0xf |
1931 | BPF_MAP_TYPE_QUEUE = 0x16 | 1931 | BPF_MAP_TYPE_CPUMAP = 0x10 |
1932 | BPF_MAP_TYPE_STACK = 0x17 | 1932 | BPF_MAP_TYPE_XSKMAP = 0x11 |
1933 | BPF_MAP_TYPE_SK_STORAGE = 0x18 | 1933 | BPF_MAP_TYPE_SOCKHASH = 0x12 |
1934 | BPF_MAP_TYPE_DEVMAP_HASH = 0x19 | 1934 | BPF_MAP_TYPE_CGROUP_STORAGE = 0x13 |
1935 | BPF_PROG_TYPE_UNSPEC = 0x0 | 1935 | BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 0x14 |
1936 | BPF_PROG_TYPE_SOCKET_FILTER = 0x1 | 1936 | BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 0x15 |
1937 | BPF_PROG_TYPE_KPROBE = 0x2 | 1937 | BPF_MAP_TYPE_QUEUE = 0x16 |
1938 | BPF_PROG_TYPE_SCHED_CLS = 0x3 | 1938 | BPF_MAP_TYPE_STACK = 0x17 |
1939 | BPF_PROG_TYPE_SCHED_ACT = 0x4 | 1939 | BPF_MAP_TYPE_SK_STORAGE = 0x18 |
1940 | BPF_PROG_TYPE_TRACEPOINT = 0x5 | 1940 | BPF_MAP_TYPE_DEVMAP_HASH = 0x19 |
1941 | BPF_PROG_TYPE_XDP = 0x6 | 1941 | BPF_MAP_TYPE_STRUCT_OPS = 0x1a |
1942 | BPF_PROG_TYPE_PERF_EVENT = 0x7 | 1942 | BPF_PROG_TYPE_UNSPEC = 0x0 |
1943 | BPF_PROG_TYPE_CGROUP_SKB = 0x8 | 1943 | BPF_PROG_TYPE_SOCKET_FILTER = 0x1 |
1944 | BPF_PROG_TYPE_CGROUP_SOCK = 0x9 | 1944 | BPF_PROG_TYPE_KPROBE = 0x2 |
1945 | BPF_PROG_TYPE_LWT_IN = 0xa | 1945 | BPF_PROG_TYPE_SCHED_CLS = 0x3 |
1946 | BPF_PROG_TYPE_LWT_OUT = 0xb | 1946 | BPF_PROG_TYPE_SCHED_ACT = 0x4 |
1947 | BPF_PROG_TYPE_LWT_XMIT = 0xc | 1947 | BPF_PROG_TYPE_TRACEPOINT = 0x5 |
1948 | BPF_PROG_TYPE_SOCK_OPS = 0xd | 1948 | BPF_PROG_TYPE_XDP = 0x6 |
1949 | BPF_PROG_TYPE_SK_SKB = 0xe | 1949 | BPF_PROG_TYPE_PERF_EVENT = 0x7 |
1950 | BPF_PROG_TYPE_CGROUP_DEVICE = 0xf | 1950 | BPF_PROG_TYPE_CGROUP_SKB = 0x8 |
1951 | BPF_PROG_TYPE_SK_MSG = 0x10 | 1951 | BPF_PROG_TYPE_CGROUP_SOCK = 0x9 |
1952 | BPF_PROG_TYPE_RAW_TRACEPOINT = 0x11 | 1952 | BPF_PROG_TYPE_LWT_IN = 0xa |
1953 | BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 0x12 | 1953 | BPF_PROG_TYPE_LWT_OUT = 0xb |
1954 | BPF_PROG_TYPE_LWT_SEG6LOCAL = 0x13 | 1954 | BPF_PROG_TYPE_LWT_XMIT = 0xc |
1955 | BPF_PROG_TYPE_LIRC_MODE2 = 0x14 | 1955 | BPF_PROG_TYPE_SOCK_OPS = 0xd |
1956 | BPF_PROG_TYPE_SK_REUSEPORT = 0x15 | 1956 | BPF_PROG_TYPE_SK_SKB = 0xe |
1957 | BPF_PROG_TYPE_FLOW_DISSECTOR = 0x16 | 1957 | BPF_PROG_TYPE_CGROUP_DEVICE = 0xf |
1958 | BPF_PROG_TYPE_CGROUP_SYSCTL = 0x17 | 1958 | BPF_PROG_TYPE_SK_MSG = 0x10 |
1959 | BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 0x18 | 1959 | BPF_PROG_TYPE_RAW_TRACEPOINT = 0x11 |
1960 | BPF_PROG_TYPE_CGROUP_SOCKOPT = 0x19 | 1960 | BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 0x12 |
1961 | BPF_PROG_TYPE_TRACING = 0x1a | 1961 | BPF_PROG_TYPE_LWT_SEG6LOCAL = 0x13 |
1962 | BPF_CGROUP_INET_INGRESS = 0x0 | 1962 | BPF_PROG_TYPE_LIRC_MODE2 = 0x14 |
1963 | BPF_CGROUP_INET_EGRESS = 0x1 | 1963 | BPF_PROG_TYPE_SK_REUSEPORT = 0x15 |
1964 | BPF_CGROUP_INET_SOCK_CREATE = 0x2 | 1964 | BPF_PROG_TYPE_FLOW_DISSECTOR = 0x16 |
1965 | BPF_CGROUP_SOCK_OPS = 0x3 | 1965 | BPF_PROG_TYPE_CGROUP_SYSCTL = 0x17 |
1966 | BPF_SK_SKB_STREAM_PARSER = 0x4 | 1966 | BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 0x18 |
1967 | BPF_SK_SKB_STREAM_VERDICT = 0x5 | 1967 | BPF_PROG_TYPE_CGROUP_SOCKOPT = 0x19 |
1968 | BPF_CGROUP_DEVICE = 0x6 | 1968 | BPF_PROG_TYPE_TRACING = 0x1a |
1969 | BPF_SK_MSG_VERDICT = 0x7 | 1969 | BPF_PROG_TYPE_STRUCT_OPS = 0x1b |
1970 | BPF_CGROUP_INET4_BIND = 0x8 | 1970 | BPF_PROG_TYPE_EXT = 0x1c |
1971 | BPF_CGROUP_INET6_BIND = 0x9 | 1971 | BPF_PROG_TYPE_LSM = 0x1d |
1972 | BPF_CGROUP_INET4_CONNECT = 0xa | 1972 | BPF_CGROUP_INET_INGRESS = 0x0 |
1973 | BPF_CGROUP_INET6_CONNECT = 0xb | 1973 | BPF_CGROUP_INET_EGRESS = 0x1 |
1974 | BPF_CGROUP_INET4_POST_BIND = 0xc | 1974 | BPF_CGROUP_INET_SOCK_CREATE = 0x2 |
1975 | BPF_CGROUP_INET6_POST_BIND = 0xd | 1975 | BPF_CGROUP_SOCK_OPS = 0x3 |
1976 | BPF_CGROUP_UDP4_SENDMSG = 0xe | 1976 | BPF_SK_SKB_STREAM_PARSER = 0x4 |
1977 | BPF_CGROUP_UDP6_SENDMSG = 0xf | 1977 | BPF_SK_SKB_STREAM_VERDICT = 0x5 |
1978 | BPF_LIRC_MODE2 = 0x10 | 1978 | BPF_CGROUP_DEVICE = 0x6 |
1979 | BPF_FLOW_DISSECTOR = 0x11 | 1979 | BPF_SK_MSG_VERDICT = 0x7 |
1980 | BPF_CGROUP_SYSCTL = 0x12 | 1980 | BPF_CGROUP_INET4_BIND = 0x8 |
1981 | BPF_CGROUP_UDP4_RECVMSG = 0x13 | 1981 | BPF_CGROUP_INET6_BIND = 0x9 |
1982 | BPF_CGROUP_UDP6_RECVMSG = 0x14 | 1982 | BPF_CGROUP_INET4_CONNECT = 0xa |
1983 | BPF_CGROUP_GETSOCKOPT = 0x15 | 1983 | BPF_CGROUP_INET6_CONNECT = 0xb |
1984 | BPF_CGROUP_SETSOCKOPT = 0x16 | 1984 | BPF_CGROUP_INET4_POST_BIND = 0xc |
1985 | BPF_TRACE_RAW_TP = 0x17 | 1985 | BPF_CGROUP_INET6_POST_BIND = 0xd |
1986 | BPF_TRACE_FENTRY = 0x18 | 1986 | BPF_CGROUP_UDP4_SENDMSG = 0xe |
1987 | BPF_TRACE_FEXIT = 0x19 | 1987 | BPF_CGROUP_UDP6_SENDMSG = 0xf |
1988 | BPF_STACK_BUILD_ID_EMPTY = 0x0 | 1988 | BPF_LIRC_MODE2 = 0x10 |
1989 | BPF_STACK_BUILD_ID_VALID = 0x1 | 1989 | BPF_FLOW_DISSECTOR = 0x11 |
1990 | BPF_STACK_BUILD_ID_IP = 0x2 | 1990 | BPF_CGROUP_SYSCTL = 0x12 |
1991 | BPF_ADJ_ROOM_NET = 0x0 | 1991 | BPF_CGROUP_UDP4_RECVMSG = 0x13 |
1992 | BPF_ADJ_ROOM_MAC = 0x1 | 1992 | BPF_CGROUP_UDP6_RECVMSG = 0x14 |
1993 | BPF_HDR_START_MAC = 0x0 | 1993 | BPF_CGROUP_GETSOCKOPT = 0x15 |
1994 | BPF_HDR_START_NET = 0x1 | 1994 | BPF_CGROUP_SETSOCKOPT = 0x16 |
1995 | BPF_LWT_ENCAP_SEG6 = 0x0 | 1995 | BPF_TRACE_RAW_TP = 0x17 |
1996 | BPF_LWT_ENCAP_SEG6_INLINE = 0x1 | 1996 | BPF_TRACE_FENTRY = 0x18 |
1997 | BPF_LWT_ENCAP_IP = 0x2 | 1997 | BPF_TRACE_FEXIT = 0x19 |
1998 | BPF_OK = 0x0 | 1998 | BPF_MODIFY_RETURN = 0x1a |
1999 | BPF_DROP = 0x2 | 1999 | BPF_LSM_MAC = 0x1b |
2000 | BPF_REDIRECT = 0x7 | 2000 | BPF_ANY = 0x0 |
2001 | BPF_LWT_REROUTE = 0x80 | 2001 | BPF_NOEXIST = 0x1 |
2002 | BPF_SOCK_OPS_VOID = 0x0 | 2002 | BPF_EXIST = 0x2 |
2003 | BPF_SOCK_OPS_TIMEOUT_INIT = 0x1 | 2003 | BPF_F_LOCK = 0x4 |
2004 | BPF_SOCK_OPS_RWND_INIT = 0x2 | 2004 | BPF_F_NO_PREALLOC = 0x1 |
2005 | BPF_SOCK_OPS_TCP_CONNECT_CB = 0x3 | 2005 | BPF_F_NO_COMMON_LRU = 0x2 |
2006 | BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 0x4 | 2006 | BPF_F_NUMA_NODE = 0x4 |
2007 | BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 0x5 | 2007 | BPF_F_RDONLY = 0x8 |
2008 | BPF_SOCK_OPS_NEEDS_ECN = 0x6 | 2008 | BPF_F_WRONLY = 0x10 |
2009 | BPF_SOCK_OPS_BASE_RTT = 0x7 | 2009 | BPF_F_STACK_BUILD_ID = 0x20 |
2010 | BPF_SOCK_OPS_RTO_CB = 0x8 | 2010 | BPF_F_ZERO_SEED = 0x40 |
2011 | BPF_SOCK_OPS_RETRANS_CB = 0x9 | 2011 | BPF_F_RDONLY_PROG = 0x80 |
2012 | BPF_SOCK_OPS_STATE_CB = 0xa | 2012 | BPF_F_WRONLY_PROG = 0x100 |
2013 | BPF_SOCK_OPS_TCP_LISTEN_CB = 0xb | 2013 | BPF_F_CLONE = 0x200 |
2014 | BPF_SOCK_OPS_RTT_CB = 0xc | 2014 | BPF_F_MMAPABLE = 0x400 |
2015 | BPF_TCP_ESTABLISHED = 0x1 | 2015 | BPF_STACK_BUILD_ID_EMPTY = 0x0 |
2016 | BPF_TCP_SYN_SENT = 0x2 | 2016 | BPF_STACK_BUILD_ID_VALID = 0x1 |
2017 | BPF_TCP_SYN_RECV = 0x3 | 2017 | BPF_STACK_BUILD_ID_IP = 0x2 |
2018 | BPF_TCP_FIN_WAIT1 = 0x4 | 2018 | BPF_F_RECOMPUTE_CSUM = 0x1 |
2019 | BPF_TCP_FIN_WAIT2 = 0x5 | 2019 | BPF_F_INVALIDATE_HASH = 0x2 |
2020 | BPF_TCP_TIME_WAIT = 0x6 | 2020 | BPF_F_HDR_FIELD_MASK = 0xf |
2021 | BPF_TCP_CLOSE = 0x7 | 2021 | BPF_F_PSEUDO_HDR = 0x10 |
2022 | BPF_TCP_CLOSE_WAIT = 0x8 | 2022 | BPF_F_MARK_MANGLED_0 = 0x20 |
2023 | BPF_TCP_LAST_ACK = 0x9 | 2023 | BPF_F_MARK_ENFORCE = 0x40 |
2024 | BPF_TCP_LISTEN = 0xa | 2024 | BPF_F_INGRESS = 0x1 |
2025 | BPF_TCP_CLOSING = 0xb | 2025 | BPF_F_TUNINFO_IPV6 = 0x1 |
2026 | BPF_TCP_NEW_SYN_RECV = 0xc | 2026 | BPF_F_SKIP_FIELD_MASK = 0xff |
2027 | BPF_TCP_MAX_STATES = 0xd | 2027 | BPF_F_USER_STACK = 0x100 |
2028 | BPF_FIB_LKUP_RET_SUCCESS = 0x0 | 2028 | BPF_F_FAST_STACK_CMP = 0x200 |
2029 | BPF_FIB_LKUP_RET_BLACKHOLE = 0x1 | 2029 | BPF_F_REUSE_STACKID = 0x400 |
2030 | BPF_FIB_LKUP_RET_UNREACHABLE = 0x2 | 2030 | BPF_F_USER_BUILD_ID = 0x800 |
2031 | BPF_FIB_LKUP_RET_PROHIBIT = 0x3 | 2031 | BPF_F_ZERO_CSUM_TX = 0x2 |
2032 | BPF_FIB_LKUP_RET_NOT_FWDED = 0x4 | 2032 | BPF_F_DONT_FRAGMENT = 0x4 |
2033 | BPF_FIB_LKUP_RET_FWD_DISABLED = 0x5 | 2033 | BPF_F_SEQ_NUMBER = 0x8 |
2034 | BPF_FIB_LKUP_RET_UNSUPP_LWT = 0x6 | 2034 | BPF_F_INDEX_MASK = 0xffffffff |
2035 | BPF_FIB_LKUP_RET_NO_NEIGH = 0x7 | 2035 | BPF_F_CURRENT_CPU = 0xffffffff |
2036 | BPF_FIB_LKUP_RET_FRAG_NEEDED = 0x8 | 2036 | BPF_F_CTXLEN_MASK = 0xfffff00000000 |
2037 | BPF_FD_TYPE_RAW_TRACEPOINT = 0x0 | 2037 | BPF_F_CURRENT_NETNS = -0x1 |
2038 | BPF_FD_TYPE_TRACEPOINT = 0x1 | 2038 | BPF_F_ADJ_ROOM_FIXED_GSO = 0x1 |
2039 | BPF_FD_TYPE_KPROBE = 0x2 | 2039 | BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 0x2 |
2040 | BPF_FD_TYPE_KRETPROBE = 0x3 | 2040 | BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 0x4 |
2041 | BPF_FD_TYPE_UPROBE = 0x4 | 2041 | BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 0x8 |
2042 | BPF_FD_TYPE_URETPROBE = 0x5 | 2042 | BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 0x10 |
2043 | BPF_ADJ_ROOM_ENCAP_L2_MASK = 0xff | ||
2044 | BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 0x38 | ||
2045 | BPF_F_SYSCTL_BASE_NAME = 0x1 | ||
2046 | BPF_SK_STORAGE_GET_F_CREATE = 0x1 | ||
2047 | BPF_F_GET_BRANCH_RECORDS_SIZE = 0x1 | ||
2048 | BPF_ADJ_ROOM_NET = 0x0 | ||
2049 | BPF_ADJ_ROOM_MAC = 0x1 | ||
2050 | BPF_HDR_START_MAC = 0x0 | ||
2051 | BPF_HDR_START_NET = 0x1 | ||
2052 | BPF_LWT_ENCAP_SEG6 = 0x0 | ||
2053 | BPF_LWT_ENCAP_SEG6_INLINE = 0x1 | ||
2054 | BPF_LWT_ENCAP_IP = 0x2 | ||
2055 | BPF_OK = 0x0 | ||
2056 | BPF_DROP = 0x2 | ||
2057 | BPF_REDIRECT = 0x7 | ||
2058 | BPF_LWT_REROUTE = 0x80 | ||
2059 | BPF_SOCK_OPS_RTO_CB_FLAG = 0x1 | ||
2060 | BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2 | ||
2061 | BPF_SOCK_OPS_STATE_CB_FLAG = 0x4 | ||
2062 | BPF_SOCK_OPS_RTT_CB_FLAG = 0x8 | ||
2063 | BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf | ||
2064 | BPF_SOCK_OPS_VOID = 0x0 | ||
2065 | BPF_SOCK_OPS_TIMEOUT_INIT = 0x1 | ||
2066 | BPF_SOCK_OPS_RWND_INIT = 0x2 | ||
2067 | BPF_SOCK_OPS_TCP_CONNECT_CB = 0x3 | ||
2068 | BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 0x4 | ||
2069 | BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 0x5 | ||
2070 | BPF_SOCK_OPS_NEEDS_ECN = 0x6 | ||
2071 | BPF_SOCK_OPS_BASE_RTT = 0x7 | ||
2072 | BPF_SOCK_OPS_RTO_CB = 0x8 | ||
2073 | BPF_SOCK_OPS_RETRANS_CB = 0x9 | ||
2074 | BPF_SOCK_OPS_STATE_CB = 0xa | ||
2075 | BPF_SOCK_OPS_TCP_LISTEN_CB = 0xb | ||
2076 | BPF_SOCK_OPS_RTT_CB = 0xc | ||
2077 | BPF_TCP_ESTABLISHED = 0x1 | ||
2078 | BPF_TCP_SYN_SENT = 0x2 | ||
2079 | BPF_TCP_SYN_RECV = 0x3 | ||
2080 | BPF_TCP_FIN_WAIT1 = 0x4 | ||
2081 | BPF_TCP_FIN_WAIT2 = 0x5 | ||
2082 | BPF_TCP_TIME_WAIT = 0x6 | ||
2083 | BPF_TCP_CLOSE = 0x7 | ||
2084 | BPF_TCP_CLOSE_WAIT = 0x8 | ||
2085 | BPF_TCP_LAST_ACK = 0x9 | ||
2086 | BPF_TCP_LISTEN = 0xa | ||
2087 | BPF_TCP_CLOSING = 0xb | ||
2088 | BPF_TCP_NEW_SYN_RECV = 0xc | ||
2089 | BPF_TCP_MAX_STATES = 0xd | ||
2090 | TCP_BPF_IW = 0x3e9 | ||
2091 | TCP_BPF_SNDCWND_CLAMP = 0x3ea | ||
2092 | BPF_DEVCG_ACC_MKNOD = 0x1 | ||
2093 | BPF_DEVCG_ACC_READ = 0x2 | ||
2094 | BPF_DEVCG_ACC_WRITE = 0x4 | ||
2095 | BPF_DEVCG_DEV_BLOCK = 0x1 | ||
2096 | BPF_DEVCG_DEV_CHAR = 0x2 | ||
2097 | BPF_FIB_LOOKUP_DIRECT = 0x1 | ||
2098 | BPF_FIB_LOOKUP_OUTPUT = 0x2 | ||
2099 | BPF_FIB_LKUP_RET_SUCCESS = 0x0 | ||
2100 | BPF_FIB_LKUP_RET_BLACKHOLE = 0x1 | ||
2101 | BPF_FIB_LKUP_RET_UNREACHABLE = 0x2 | ||
2102 | BPF_FIB_LKUP_RET_PROHIBIT = 0x3 | ||
2103 | BPF_FIB_LKUP_RET_NOT_FWDED = 0x4 | ||
2104 | BPF_FIB_LKUP_RET_FWD_DISABLED = 0x5 | ||
2105 | BPF_FIB_LKUP_RET_UNSUPP_LWT = 0x6 | ||
2106 | BPF_FIB_LKUP_RET_NO_NEIGH = 0x7 | ||
2107 | BPF_FIB_LKUP_RET_FRAG_NEEDED = 0x8 | ||
2108 | BPF_FD_TYPE_RAW_TRACEPOINT = 0x0 | ||
2109 | BPF_FD_TYPE_TRACEPOINT = 0x1 | ||
2110 | BPF_FD_TYPE_KPROBE = 0x2 | ||
2111 | BPF_FD_TYPE_KRETPROBE = 0x3 | ||
2112 | BPF_FD_TYPE_UPROBE = 0x4 | ||
2113 | BPF_FD_TYPE_URETPROBE = 0x5 | ||
2114 | BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 0x1 | ||
2115 | BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 0x2 | ||
2116 | BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 0x4 | ||
2043 | ) | 2117 | ) |
2044 | 2118 | ||
2045 | const ( | 2119 | const ( |
@@ -2205,7 +2279,7 @@ const ( | |||
2205 | DEVLINK_CMD_DPIPE_ENTRIES_GET = 0x20 | 2279 | DEVLINK_CMD_DPIPE_ENTRIES_GET = 0x20 |
2206 | DEVLINK_CMD_DPIPE_HEADERS_GET = 0x21 | 2280 | DEVLINK_CMD_DPIPE_HEADERS_GET = 0x21 |
2207 | DEVLINK_CMD_DPIPE_TABLE_COUNTERS_SET = 0x22 | 2281 | DEVLINK_CMD_DPIPE_TABLE_COUNTERS_SET = 0x22 |
2208 | DEVLINK_CMD_MAX = 0x44 | 2282 | DEVLINK_CMD_MAX = 0x48 |
2209 | DEVLINK_PORT_TYPE_NOTSET = 0x0 | 2283 | DEVLINK_PORT_TYPE_NOTSET = 0x0 |
2210 | DEVLINK_PORT_TYPE_AUTO = 0x1 | 2284 | DEVLINK_PORT_TYPE_AUTO = 0x1 |
2211 | DEVLINK_PORT_TYPE_ETH = 0x2 | 2285 | DEVLINK_PORT_TYPE_ETH = 0x2 |
@@ -2285,7 +2359,7 @@ const ( | |||
2285 | DEVLINK_ATTR_DPIPE_FIELD_MAPPING_TYPE = 0x3c | 2359 | DEVLINK_ATTR_DPIPE_FIELD_MAPPING_TYPE = 0x3c |
2286 | DEVLINK_ATTR_PAD = 0x3d | 2360 | DEVLINK_ATTR_PAD = 0x3d |
2287 | DEVLINK_ATTR_ESWITCH_ENCAP_MODE = 0x3e | 2361 | DEVLINK_ATTR_ESWITCH_ENCAP_MODE = 0x3e |
2288 | DEVLINK_ATTR_MAX = 0x8c | 2362 | DEVLINK_ATTR_MAX = 0x90 |
2289 | DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0 | 2363 | DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0 |
2290 | DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1 | 2364 | DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1 |
2291 | DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0 | 2365 | DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0 |
diff --git a/vendor/modules.txt b/vendor/modules.txt index 50c44d6..05395a0 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt | |||
@@ -14,7 +14,7 @@ github.com/cespare/xxhash/v2 | |||
14 | # github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf | 14 | # github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf |
15 | ## explicit | 15 | ## explicit |
16 | github.com/coreos/go-systemd/dbus | 16 | github.com/coreos/go-systemd/dbus |
17 | # github.com/ema/qdisc v0.0.0-20190904071900-b82c76788043 | 17 | # github.com/ema/qdisc v0.0.0-20200603082823-62d0308e3e00 |
18 | ## explicit | 18 | ## explicit |
19 | github.com/ema/qdisc | 19 | github.com/ema/qdisc |
20 | # github.com/go-kit/kit v0.10.0 | 20 | # github.com/go-kit/kit v0.10.0 |
@@ -108,7 +108,7 @@ golang.org/x/crypto/bcrypt | |||
108 | golang.org/x/crypto/blowfish | 108 | golang.org/x/crypto/blowfish |
109 | # golang.org/x/lint v0.0.0-20200302205851-738671d3881b | 109 | # golang.org/x/lint v0.0.0-20200302205851-738671d3881b |
110 | ## explicit | 110 | ## explicit |
111 | # golang.org/x/net v0.0.0-20200513185701-a91f0712d120 | 111 | # golang.org/x/net v0.0.0-20200602114024-627f9648deb9 |
112 | ## explicit | 112 | ## explicit |
113 | golang.org/x/net/bpf | 113 | golang.org/x/net/bpf |
114 | golang.org/x/net/http/httpguts | 114 | golang.org/x/net/http/httpguts |
@@ -123,7 +123,7 @@ golang.org/x/net/trace | |||
123 | # golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a | 123 | # golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a |
124 | ## explicit | 124 | ## explicit |
125 | golang.org/x/sync/errgroup | 125 | golang.org/x/sync/errgroup |
126 | # golang.org/x/sys v0.0.0-20200523222454-059865788121 | 126 | # golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 |
127 | ## explicit | 127 | ## explicit |
128 | golang.org/x/sys/internal/unsafeheader | 128 | golang.org/x/sys/internal/unsafeheader |
129 | golang.org/x/sys/unix | 129 | golang.org/x/sys/unix |