Searched refs:nla_data (Results 1 – 4 of 4) sorted by relevance
/kernel/tests/net/test/ |
D | sock_diag.py | 118 def _Decode(self, command, msg, nla_type, nla_data): argument 132 data = ord(nla_data) 134 data = nla_data.strip("\x00") 136 data = InetDiagMeminfo(nla_data) 139 data = TcpInfo(nla_data) 141 data = SkMeminfo(nla_data) 143 data = struct.unpack("=I", nla_data)[0] 145 data = self.DecodeBytecode(nla_data) 148 while len(nla_data): 152 addr, nla_data = cstruct.Read(nla_data, csocket.SockaddrStorage) [all …]
|
D | netlink.py | 90 def _Decode(self, command, msg, nla_type, nla_data): argument 92 return nla_type, nla_data 119 nla_data, data = data[:datalen], data[padded_len:] 122 nla_name, nla_data = self._Decode(command, msg, nla.nla_type, nla_data) 129 attributes[nla_name] = nla_data 130 self._Debug(" %s" % str((nla_name, nla_data)))
|
D | iproute.py | 213 def _Decode(self, command, msg, nla_type, nla_data): argument 264 data = struct.unpack("=I", nla_data)[0] 266 data = struct.unpack("=i", nla_data)[0] 268 data = ord(nla_data) 272 data = socket.inet_ntop(msg.family, nla_data) 275 data = nla_data.strip("\x00") 277 data = self._ParseAttributes(-RTA_METRICS, None, nla_data) 279 data = RTACacheinfo(nla_data) 281 data = IFACacheinfo(nla_data) 283 data = NDACacheinfo(nla_data) [all …]
|
D | xfrm.py | 229 def _Decode(self, command, unused_msg, nla_type, nla_data): argument 234 data = cstruct.Read(nla_data, XfrmAlgo)[0] 236 data = cstruct.Read(nla_data, XfrmAlgoAuth)[0] 238 data = cstruct.Read(nla_data, XfrmEncapTmpl)[0] 240 data = nla_data
|