Searched refs:struct_type (Results 1 – 4 of 4) sorted by relevance
168 struct_type = None170 struct_type = SadbSa173 struct_type = SadbLifetime176 struct_type = SadbAddress178 struct_type = SadbKey180 struct_type = SadbXSa2182 struct_type = SadbXNatTType184 struct_type = SadbXNatTPort186 if struct_type:187 ext, attrs = cstruct.Read(data, struct_type)[all …]
345 struct_type = XfrmUsersaInfo347 struct_type = XfrmUsersaId349 struct_type = XfrmUsersaId351 struct_type = XfrmUserSpiInfo353 struct_type = XfrmUserpolicyInfo355 struct_type = None358 if struct_type:359 print "%s %s" % (cmdname, str(self._ParseNLMsg(data, struct_type)))
273 def Read(data, struct_type): argument274 length = len(struct_type)275 return struct_type(data), data[length:]
442 struct_type = {449 parsed = self._ParseNLMsg(data, struct_type)