Searched refs:attrs (Results 1 – 7 of 7) sorted by relevance
/kernel/tests/net/test/ |
D | pf_key.py | 187 ext, attrs = cstruct.Read(data, struct_type) 189 ext, attrs, = data, "" 191 return exttype, ext, attrs 222 for exttype, extstruct, attrs in extlist: 224 ext = SadbExt(((len(extdata) + len(SadbExt) + len(attrs)) / 8, exttype)) 225 extensions += ext.Pack() + extdata + attrs 319 for exttype, ext, attrs in extensions: 323 (exttype, self.DecodeSadbSa(ext), attrs.encode("hex"))) 324 print(" %s %s %s" % (exttype, ext, attrs.encode("hex")))
|
D | genetlink.py | 117 hdr, attrs = self._GetMsg(Genlmsghdr) 118 return attrs["CTRL_ATTR_FAMILY_ID"]
|
D | tcp_metrics.py | 125 hdr, attrs = self._GetMsg(genetlink.Genlmsghdr) 126 return attrs
|
D | sock_diag_test.py | 129 def assertMarkIs(self, mark, attrs): argument 130 self.assertEqual(mark, attrs.get("INET_DIAG_MARK", None)) 133 diag_msg, attrs = info 149 self.assertMarkIs(mark, attrs) 652 diag_msg, attrs = self.sock_diag.GetSockInfo(diag_req) 659 diag_msg, attrs = self.sock_diag.GetSockInfo(diag_req) 668 diag_msg, attrs = self.sock_diag.GetSockInfo(diag_req) 677 for diag_msg, attrs in infos), 718 diag_msg, attrs = self.sock_diag.GetSockInfo(child) 720 self.assertMarkIs(self.netid, attrs) [all …]
|
D | neighbour_test.py | 152 def ExpectNeighbourNotification(self, addr, state, attrs=None): argument 157 if attrs: 158 for name in attrs: 159 self.assertEqual(attrs[name], actual_attrs[name])
|
D | sock_diag.py | 393 for diag_msg, attrs in results: 395 return diag_msg, attrs 417 diag_msg, attrs = self.FindSockInfoFromFd(s)
|
D | xfrm.py | 632 sainfo = [sa for sa, attrs in self.DumpSaInfo() if sa.id.spi == spi]
|