Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dpf_key.py167 def ParseExtension(exttype, data): argument
169 if exttype == SADB_EXT_SA:
171 elif exttype in [SADB_EXT_LIFETIME_CURRENT, SADB_EXT_LIFETIME_HARD,
174 elif exttype in [SADB_EXT_ADDRESS_SRC, SADB_EXT_ADDRESS_DST,
177 elif exttype in [SADB_EXT_KEY_AUTH, SADB_EXT_KEY_ENCRYPT]:
179 elif exttype == SADB_X_EXT_SA2:
181 elif exttype == SADB_X_EXT_NAT_T_TYPE:
183 elif exttype in [SADB_X_EXT_NAT_T_SPORT, SADB_X_EXT_NAT_T_DPORT]:
191 return exttype, ext, attrs
221 for exttype, extstruct, attrs in extlist:
[all …]