Home
last modified time | relevance | path

Searched refs:display_hint (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/net/ynl/lib/
Dynl.py116 def formatted_string(cls, raw, display_hint): argument
117 if display_hint == 'mac':
119 elif display_hint == 'hex':
121 elif display_hint in [ 'ipv4', 'ipv6' ]:
123 elif display_hint == 'uuid':
155 if m.display_hint:
156 decoded = self.formatted_string(decoded, m.display_hint)
500 if attr_spec.display_hint:
501 decoded = NlAttr.formatted_string(decoded, attr_spec.display_hint)
Dnlspec.py171 self.display_hint = yaml.get('display-hint')
247 self.display_hint = yaml.get('display-hint')