Home
last modified time | relevance | path

Searched refs:struct_type (Results 1 – 4 of 4) sorted by relevance

/kernel/tests/net/test/
Dpf_key.py168 struct_type = None
170 struct_type = SadbSa
173 struct_type = SadbLifetime
176 struct_type = SadbAddress
178 struct_type = SadbKey
180 struct_type = SadbXSa2
182 struct_type = SadbXNatTType
184 struct_type = SadbXNatTPort
186 if struct_type:
187 ext, attrs = cstruct.Read(data, struct_type)
[all …]
Dxfrm.py345 struct_type = XfrmUsersaInfo
347 struct_type = XfrmUsersaId
349 struct_type = XfrmUsersaId
351 struct_type = XfrmUserSpiInfo
353 struct_type = XfrmUserpolicyInfo
355 struct_type = None
358 if struct_type:
359 print "%s %s" % (cmdname, str(self._ParseNLMsg(data, struct_type)))
Dcstruct.py273 def Read(data, struct_type): argument
274 length = len(struct_type)
275 return struct_type(data), data[length:]
Diproute.py442 struct_type = {
449 parsed = self._ParseNLMsg(data, struct_type)