Lines Matching +full:fixed +full:- +full:header

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)
163 sub-message type
165 is_auto_scalar bool, attr is a variable-size scalar
173 self.is_multi = yaml.get('multi-attr', False)
175 self.sub_type = yaml.get('sub-type')
176 self.byte_order = yaml.get('byte-order')
178 self.display_hint = yaml.get('display-hint')
179 self.sub_message = yaml.get('sub-message')
201 self.subset_of = self.yaml.get('subset-of', None)
256 self.byte_order = yaml.get('byte-order')
259 self.display_hint = yaml.get('display-hint')
289 """ Netlink sub-message definition
291 Represents a set of sub-message formats for polymorphic nlattrs
292 that contain type-specific sub messages.
295 name string, name of sub-message definition
296 formats dict of sub-message formats indexed by match value
311 """ Netlink sub-message format definition
313 Represents a single format for a sub-message.
317 fixed_header string, name of fixed header, or None
324 self.fixed_header = yaml.get('fixed-header')
325 self.attr_set = yaml.get('attribute-set')
336 req_value numerical ID when serialized, user -> kernel
337 rsp_value numerical ID when serialized, user <- kernel
343 fixed_header string, optional name of fixed header struct
358 self.fixed_header = self.yaml.get('fixed-header', family.fixed_header)
367 if 'attribute-set' in self.yaml:
368 attr_set_name = self.yaml['attribute-set']
371 attr_set_name = msg['attribute-set']
386 netlink-raw schema. Genetlink families use dynamic ID allocation
392 value integer id of this multicast group for netlink-raw or None
412 msg_id_model enum-model for operations (unified, directional etc.)
421 fixed_header string, optional name of family default fixed header struct
427 prefix = '# SPDX-License-Identifier: '
443 self.msg_id_model = self.yaml['operations'].get('enum-model', 'unified')
467 self.kernel_family = collections.OrderedDict(self.yaml.get('kernel-family', {}))
510 self.fixed_header = self.yaml['operations'].get('fixed-header')
522 self.fixed_header = self.yaml['operations'].get('fixed-header')
584 for elem in self.yaml['attribute-sets']:
588 for elem in self.yaml.get('sub-messages', []):
602 if not op.is_async and 'attribute-set' in op:
607 mcgs = self.yaml.get('mcast-groups')