Home
last modified time | relevance | path

Searched refs:nla_data (Results 1 – 6 of 6) sorted by relevance

/system/extras/tests/net_test/
Dnetlink.py90 def _Decode(self, command, msg, nla_type, nla_data): argument
92 return nla_type, nla_data
120 nla_data, data = data[:datalen], data[padded_len:]
123 nla_name, nla_data = self._Decode(command, msg, nla.nla_type, nla_data)
130 attributes[nla_name] = nla_data
131 self._Debug(" %s" % str((nla_name, nla_data)))
Diproute.py222 def _Decode(self, command, msg, nla_type, nla_data): argument
274 data = struct.unpack("=I", nla_data)[0]
276 data = struct.unpack("=i", nla_data)[0]
278 data = ord(nla_data)
282 data = socket.inet_ntop(msg.family, nla_data)
284 data = nla_data.strip("\x00")
286 data = self._ParseAttributes(-RTA_METRICS, msg.family, None, nla_data)
288 data = RTACacheinfo(nla_data)
290 data = IFACacheinfo(nla_data)
292 data = NDACacheinfo(nla_data)
[all …]
Dsock_diag.py106 def _Decode(self, command, msg, nla_type, nla_data): argument
115 data = ord(nla_data)
117 data = nla_data.strip("\x00")
119 data = InetDiagMeminfo(nla_data)
122 data = TcpInfo(nla_data)
124 data = SkMeminfo(nla_data)
126 data = nla_data
/system/extras/iotop/
Dtaskstats.cpp99 nlattr* nested_attr = static_cast<nlattr*>(nla_data(attr)); in ParseTaskStats()
/system/extras/taskstats/
Dtaskstats.c80 parse_aggregate_task_stats(nla_data(attr), nla_len(attr), in parse_task_stats()
/system/core/libsysutils/src/
DNetlinkEvent.cpp287 raw = (char*) nla_data(payload); in parseNfPacketMessage()