Searched refs:struct_type (Results 1 – 3 of 3) 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 …]
353 struct_type = XfrmUsersaInfo355 struct_type = XfrmUsersaId357 struct_type = XfrmUsersaId359 struct_type = XfrmUserSpiInfo361 struct_type = XfrmUserpolicyInfo363 struct_type = None366 if struct_type:367 print("%s %s" % (cmdname, str(self._ParseNLMsg(data, struct_type))))
276 def Read(data, struct_type): argument277 length = len(struct_type)278 return struct_type(data), data[length:]