Home
last modified time | relevance | path

Searched refs:nla_type (Results 1 – 10 of 10) sorted by relevance

/system/extras/tests/net_test/
Dnetlink.py69 def _NlAttr(self, nla_type, data): argument
74 return NLAttr((nla_len, nla_type)).Pack() + data + padding
76 def _NlAttrU32(self, nla_type, value): argument
77 return self._NlAttr(nla_type, struct.pack("=I", value))
90 def _Decode(self, command, msg, nla_type, nla_data): argument
92 return nla_type, nla_data
123 nla_name, nla_data = self._Decode(command, msg, nla.nla_type, nla_data)
Diproute.py213 def _NlAttrIPAddress(self, nla_type, family, address): argument
214 return self._NlAttr(nla_type, socket.inet_pton(family, address))
216 def _NlAttrInterfaceName(self, nla_type, interface): argument
217 return self._NlAttr(nla_type, interface + "\x00")
222 def _Decode(self, command, msg, nla_type, nla_data): argument
252 name = self._GetConstantName(nla_type, "RTAX_")
254 name = self._GetConstantName(nla_type, "IFA_")
256 name = self._GetConstantName(nla_type, "IFLA_")
258 name = self._GetConstantName(nla_type, "FRA_")
260 name = self._GetConstantName(nla_type, "RTA_")
[all …]
Dsock_diag.py106 def _Decode(self, command, msg, nla_type, nla_data): argument
109 name = self._GetConstantName(__name__, nla_type, "INET_DIAG")
112 name = nla_type
/system/extras/iotop/
Dtaskstats.cpp67 switch (nla_type(attr)) { in ParseAggregateTaskStats()
95 switch (nla_type(attr)) { in ParseTaskStats()
/system/extras/taskstats/
Dtaskstats.c54 switch (attr->nla_type) { in parse_aggregate_task_stats()
77 switch (attr->nla_type) { in parse_task_stats()
/system/netd/server/
DSockDiag.cpp177 .nla_type = INET_DIAG_REQ_BYTECODE, in sendDumpRequest()
/system/connectivity/shill/net/
Dattribute_list.cc106 if (!method.Run(attribute->nla_type, value)) { in IterateAttributes()
Dnetlink_attribute.cc429 header.nla_type = id(); in EncodeGeneric()
811 header.nla_type = id(); in Encode()
/system/connectivity/shill/wifi/
Dwake_on_wifi_unittest.cc1716 wowlan_trig_disconnect_attr->nla_type = NL80211_WOWLAN_TRIG_MAGIC_PKT; in TEST_F()
1744 wowlan_trig_net_detect_attr->nla_type = 0; in TEST_F()
Dwifi_unittest.cc4617 nl80211_attr_wiphy->nla_type = NL80211_ATTR_WIPHY_FREQ; in TEST_F()