Searched refs:ext (Results 1 – 2 of 2) 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 224 ext = SadbExt(((len(extdata) + len(SadbExt) + len(attrs)) / 8, exttype)) 225 extensions += ext.Pack() + extdata + attrs 295 ext, data = cstruct.Read(data, SadbExt) 296 datalen = PfKey.ExtensionsLength(ext, SadbExt) 298 extensions.append(ParseExtension(ext.exttype, extdata)) 319 for exttype, ext, attrs in extensions: 323 (exttype, self.DecodeSadbSa(ext), attrs.encode("hex"))) [all …]
|
D | sock_diag.py | 307 def DumpAllInetSockets(self, protocol, bytecode, sock_id=None, ext=0, argument 317 diag_req = InetDiagReqV2((family, protocol, ext, states, sock_id)) 429 ext = 1 << (INET_DIAG_TOS - 1) | 1 << (INET_DIAG_TCLASS - 1) variable 432 sock_id=sock_id, ext=ext, states=states)
|