Lines Matching refs:name
291 name = self._GetConstantName(nla_type, "RTAX_")
293 name = self._GetConstantName(nla_type, "IFLA_INFO_")
295 name = self._GetConstantName(nla_type, "IFLA_VTI_")
297 name = self._GetConstantName(nla_type, "IFA_")
299 name = self._GetConstantName(nla_type, "IFLA_")
301 name = self._GetConstantName(nla_type, "FRA_")
303 name = self._GetConstantName(nla_type, "RTA_")
305 name = self._GetConstantName(nla_type, "NDA_")
308 name = nla_type
310 if name in ["FRA_PRIORITY", "FRA_FWMARK", "FRA_TABLE", "FRA_FWMASK",
318 elif name in ["IFLA_VTI_OKEY", "IFLA_VTI_IKEY"]:
320 elif name == "FRA_SUPPRESS_PREFIXLEN":
322 elif name in ["IFLA_LINKMODE", "IFLA_OPERSTATE", "IFLA_CARRIER"]:
324 elif name in ["IFA_ADDRESS", "IFA_LOCAL", "RTA_DST", "RTA_SRC",
327 elif name in ["FRA_IIFNAME", "FRA_OIFNAME", "IFLA_IFNAME", "IFLA_QDISC",
330 elif name == "RTA_METRICS":
332 elif name == "IFLA_LINKINFO":
334 elif name == "IFLA_INFO_DATA":
336 elif name == "RTA_CACHEINFO":
338 elif name == "IFA_CACHEINFO":
340 elif name == "NDA_CACHEINFO":
342 elif name in ["NDA_LLADDR", "IFLA_ADDRESS", "IFLA_BROADCAST"]:
344 elif name == "FRA_UID_RANGE":
346 elif name == "IFLA_STATS":
348 elif name == "IFLA_STATS64":
353 return name, data
444 name = CommandName(command)
454 return "%s %s" % (name, str(parsed))
456 raise ValueError("Don't know how to print command type %s" % name)