Lines Matching refs:name
287 name = self._GetConstantName(nla_type, "RTAX_")
289 name = self._GetConstantName(nla_type, "IFLA_INFO_")
291 name = self._GetConstantName(nla_type, "IFLA_VTI_")
293 name = self._GetConstantName(nla_type, "IFA_")
295 name = self._GetConstantName(nla_type, "IFLA_")
297 name = self._GetConstantName(nla_type, "FRA_")
299 name = self._GetConstantName(nla_type, "RTA_")
301 name = self._GetConstantName(nla_type, "NDA_")
304 name = nla_type
306 if name in ["FRA_PRIORITY", "FRA_FWMARK", "FRA_TABLE", "FRA_FWMASK",
314 elif name in ["IFLA_VTI_OKEY", "IFLA_VTI_IKEY"]:
316 elif name == "FRA_SUPPRESS_PREFIXLEN":
318 elif name in ["IFLA_LINKMODE", "IFLA_OPERSTATE", "IFLA_CARRIER"]:
320 elif name in ["IFA_ADDRESS", "IFA_LOCAL", "RTA_DST", "RTA_SRC",
323 elif name in ["FRA_IIFNAME", "FRA_OIFNAME", "IFLA_IFNAME", "IFLA_QDISC",
326 elif name == "RTA_METRICS":
328 elif name == "IFLA_LINKINFO":
330 elif name == "IFLA_INFO_DATA":
332 elif name == "RTA_CACHEINFO":
334 elif name == "IFA_CACHEINFO":
336 elif name == "NDA_CACHEINFO":
338 elif name in ["NDA_LLADDR", "IFLA_ADDRESS", "IFLA_BROADCAST"]:
340 elif name == "FRA_UID_RANGE":
342 elif name == "IFLA_STATS":
344 elif name == "IFLA_STATS64":
349 return name, data
440 name = CommandName(command)
450 return "%s %s" % (name, str(parsed))
452 raise ValueError("Don't know how to print command type %s" % name)