Lines Matching refs:ext
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")))
324 print(" %s %s %s" % (exttype, ext, attrs.encode("hex")))