Lines Matching +full:sub +full:- +full:group
1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
37 self.ident_name = self.name.replace('-', '_')
119 value_start = self.yaml.get('value-start', 0)
160 sub_type string, name of sub type
164 sub_message string, name of sub message type
166 sub-message type
168 is_auto_scalar bool, attr is a variable-size scalar
176 self.is_multi = yaml.get('multi-attr', False)
178 self.sub_type = yaml.get('sub-type')
179 self.byte_order = yaml.get('byte-order')
181 self.display_hint = yaml.get('display-hint')
182 self.sub_message = yaml.get('sub-message')
204 self.subset_of = self.yaml.get('subset-of', None)
259 self.byte_order = yaml.get('byte-order')
262 self.display_hint = yaml.get('display-hint')
292 """ Netlink sub-message definition
294 Represents a set of sub-message formats for polymorphic nlattrs
295 that contain type-specific sub messages.
298 name string, name of sub-message definition
299 formats dict of sub-message formats indexed by match value
314 """ Netlink sub-message format definition
316 Represents a single format for a sub-message.
327 self.fixed_header = yaml.get('fixed-header')
328 self.attr_set = yaml.get('attribute-set')
339 req_value numerical ID when serialized, user -> kernel
340 rsp_value numerical ID when serialized, user <- kernel
361 self.fixed_header = self.yaml.get('fixed-header', family.fixed_header)
370 if 'attribute-set' in self.yaml:
371 attr_set_name = self.yaml['attribute-set']
374 attr_set_name = msg['attribute-set']
384 """Netlink Multicast Group
386 Information about a multicast group.
389 netlink-raw schema. Genetlink families use dynamic ID allocation
394 name name of the mulitcast group
395 value integer id of this multicast group for netlink-raw or None
415 msg_id_model enum-model for operations (unified, directional etc.)
420 sub_msgs dict of all sub messages (index by name)
430 prefix = '# SPDX-License-Identifier: '
446 self.msg_id_model = self.yaml['operations'].get('enum-model', 'unified')
470 self.kernel_family = collections.OrderedDict(self.yaml.get('kernel-family', {}))
513 self.fixed_header = self.yaml['operations'].get('fixed-header')
525 self.fixed_header = self.yaml['operations'].get('fixed-header')
587 for elem in self.yaml['attribute-sets']:
591 for elem in self.yaml.get('sub-messages', []):
605 if not op.is_async and 'attribute-set' in op:
610 mcgs = self.yaml.get('mcast-groups')