nl-linux 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/generated/nl/linux/binder.rb +94 -0
- data/generated/nl/linux/conntrack.rb +1225 -0
- data/generated/nl/linux/dev_energymodel.rb +233 -0
- data/generated/nl/linux/devlink.rb +5175 -0
- data/generated/nl/linux/dpll.rb +942 -0
- data/generated/nl/linux/ethtool.rb +7119 -0
- data/generated/nl/linux/fou.rb +330 -0
- data/generated/nl/linux/handshake.rb +236 -0
- data/generated/nl/linux/lockd.rb +97 -0
- data/generated/nl/linux/mptcp_pm.rb +605 -0
- data/generated/nl/linux/net_shaper.rb +729 -0
- data/generated/nl/linux/netdev.rb +1448 -0
- data/generated/nl/linux/nfsd.rb +498 -0
- data/generated/nl/linux/nftables.rb +2922 -0
- data/generated/nl/linux/nl80211.rb +3391 -0
- data/generated/nl/linux/nlctrl.rb +395 -0
- data/generated/nl/linux/ovpn.rb +962 -0
- data/generated/nl/linux/ovs_datapath.rb +319 -0
- data/generated/nl/linux/ovs_flow.rb +1445 -0
- data/generated/nl/linux/ovs_vport.rb +389 -0
- data/generated/nl/linux/psp.rb +461 -0
- data/generated/nl/linux/rt_addr.rb +446 -0
- data/generated/nl/linux/rt_link.rb +4611 -0
- data/generated/nl/linux/rt_neigh.rb +895 -0
- data/generated/nl/linux/rt_route.rb +1124 -0
- data/generated/nl/linux/rt_rule.rb +706 -0
- data/generated/nl/linux/tc.rb +7064 -0
- data/generated/nl/linux/tcp_metrics.rb +315 -0
- data/generated/nl/linux/team.rb +337 -0
- data/generated/nl/linux/wireguard.rb +428 -0
- data/lib/nl/linux/version.rb +1 -1
- metadata +36 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 690c036620d864dbfbf403fc4f16586e99205f5f251e53334746a43763f8df27
|
|
4
|
+
data.tar.gz: b8e39d095896efca406c995d7bbe7cf6a240c27b90de97b674cafd765c01d063
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71cca0166c97b16dc1347c1fbe577cd103d5c5a69e93ddf949c340c5cb93d30892e5326109d57824dc34e1888325a321c3e737cc5cd75ed9af8966fffca61b65
|
|
7
|
+
data.tar.gz: ae3b6f6bf87115ed1372f0507ccde9d247ac16c28672d07b0faa7f75def4d5418b685cb43ed8d4f6463f40579536eeb71739a3087e38ff8c36d97054fbf4fc5a
|
data/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
|
|
2
|
+
#
|
|
3
|
+
# Copyright 2025 Google LLC
|
|
4
|
+
#
|
|
5
|
+
#--
|
|
6
|
+
# frozen_string_literal: true
|
|
7
|
+
# rbs_inline: enabled
|
|
8
|
+
# This code is generated by Ynl::Generator. DO NOT EDIT.
|
|
9
|
+
require 'nl'
|
|
10
|
+
# Binder interface over generic netlink
|
|
11
|
+
class Nl::Linux::Binder < ::Nl::Family
|
|
12
|
+
NAME = "binder"
|
|
13
|
+
PROTOCOL = Ractor.make_shareable(::Nl::Protocols::Genl.new("binder"))
|
|
14
|
+
module Structs
|
|
15
|
+
end
|
|
16
|
+
module AttributeSets
|
|
17
|
+
# Attributes included within a transaction failure report. The elements
|
|
18
|
+
# correspond directly with the specific transaction that failed, along
|
|
19
|
+
# with the error returned to the sender e.g. BR_DEAD_REPLY.
|
|
20
|
+
class Report < ::Nl::Protocols::Genl::AttributeSet
|
|
21
|
+
# Abstract class
|
|
22
|
+
class Attribute < ::Nl::Protocols::Genl::AttributeSet::Attribute
|
|
23
|
+
end
|
|
24
|
+
class Error < Attribute
|
|
25
|
+
TYPE = 1
|
|
26
|
+
NAME = :"error"
|
|
27
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
28
|
+
end
|
|
29
|
+
class Context < Attribute
|
|
30
|
+
TYPE = 2
|
|
31
|
+
NAME = :"context"
|
|
32
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::String.new(check: nil)
|
|
33
|
+
end
|
|
34
|
+
class FromPid < Attribute
|
|
35
|
+
TYPE = 3
|
|
36
|
+
NAME = :"from_pid"
|
|
37
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
38
|
+
end
|
|
39
|
+
class FromTid < Attribute
|
|
40
|
+
TYPE = 4
|
|
41
|
+
NAME = :"from_tid"
|
|
42
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
43
|
+
end
|
|
44
|
+
class ToPid < Attribute
|
|
45
|
+
TYPE = 5
|
|
46
|
+
NAME = :"to_pid"
|
|
47
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
48
|
+
end
|
|
49
|
+
class ToTid < Attribute
|
|
50
|
+
TYPE = 6
|
|
51
|
+
NAME = :"to_tid"
|
|
52
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
53
|
+
end
|
|
54
|
+
class IsReply < Attribute
|
|
55
|
+
TYPE = 7
|
|
56
|
+
NAME = :"is_reply"
|
|
57
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Flag.new
|
|
58
|
+
end
|
|
59
|
+
class Flags < Attribute
|
|
60
|
+
TYPE = 8
|
|
61
|
+
NAME = :"flags"
|
|
62
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
63
|
+
end
|
|
64
|
+
class Code < Attribute
|
|
65
|
+
TYPE = 9
|
|
66
|
+
NAME = :"code"
|
|
67
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
68
|
+
end
|
|
69
|
+
class DataSize < Attribute
|
|
70
|
+
TYPE = 10
|
|
71
|
+
NAME = :"data_size"
|
|
72
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
73
|
+
end
|
|
74
|
+
# :nodoc:
|
|
75
|
+
BY_NAME = Ractor.make_shareable({:"error" => Error, :"context" => Context, :"from_pid" => FromPid, :"from_tid" => FromTid, :"to_pid" => ToPid, :"to_tid" => ToTid, :"is_reply" => IsReply, :"flags" => Flags, :"code" => Code, :"data_size" => DataSize}) #: Hash[::Symbol, Attribute]
|
|
76
|
+
# :nodoc:
|
|
77
|
+
BY_TYPE = Ractor.make_shareable({1 => Error, 2 => Context, 3 => FromPid, 4 => FromTid, 5 => ToPid, 6 => ToTid, 7 => IsReply, 8 => Flags, 9 => Code, 10 => DataSize}) #: Hash[::Integer, Attribute]
|
|
78
|
+
class << self
|
|
79
|
+
# Looks up Attribute class by name.
|
|
80
|
+
#--
|
|
81
|
+
# @rbs name: Symbol
|
|
82
|
+
# @rbs return: Attribute
|
|
83
|
+
def by_name(name); BY_NAME.fetch(name); end
|
|
84
|
+
# Looks up Attribute class by type value.
|
|
85
|
+
#--
|
|
86
|
+
# @rbs type: Integer
|
|
87
|
+
# @rbs return: Attribute
|
|
88
|
+
def by_type(type); BY_TYPE.fetch(type); end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
module Messages
|
|
93
|
+
end
|
|
94
|
+
end
|