Lines Matching refs:ext
101 const struct sadb_ext *ext;
116 ext = (const void *)(base + 1);
119 if (ext->sadb_ext_len == 0 || ext->sadb_ext_len > tlen) {
121 __func__, ext->sadb_ext_len, tlen);
125 PFKEY_UNUNIT64(ext->sadb_ext_len), ext->sadb_ext_type);
128 switch (ext->sadb_ext_type) {
130 kdebug_sadb_sa(ext);
135 kdebug_sadb_lifetime(ext);
140 kdebug_sadb_address(ext);
144 kdebug_sadb_key(ext);
148 kdebug_sadb_identity(ext);
153 kdebug_sadb_prop(ext);
157 kdebug_sadb_supported(ext);
163 kdebug_sadb_x_policy(ext);
166 kdebug_sadb_x_sa2(ext);
170 __func__, ext->sadb_ext_type);
173 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
175 ext = (const void *)((const char *)ext + extlen);
181 kdebug_sadb_prop(const struct sadb_ext *ext)
183 const struct sadb_prop *prop = (const struct sadb_prop *)ext;
188 if (ext == NULL)
230 kdebug_sadb_identity(const struct sadb_ext *ext)
232 const struct sadb_ident *id = (const struct sadb_ident *)ext;
236 if (ext == NULL)
256 kdebug_sadb_supported(const struct sadb_ext *ext)
258 const struct sadb_supported *sup = (const struct sadb_supported *)ext;
263 if (ext == NULL)
280 kdebug_sadb_lifetime(const struct sadb_ext *ext)
282 const struct sadb_lifetime *lft = (const struct sadb_lifetime *)ext;
285 if (ext == NULL)
297 kdebug_sadb_sa(const struct sadb_ext *ext)
299 const struct sadb_sa *sa = (const struct sadb_sa *)ext;
302 if (ext == NULL)
313 kdebug_sadb_address(const struct sadb_ext *ext)
315 const struct sadb_address *addr = (const struct sadb_address *)ext;
318 if (ext == NULL)
327 ((const char *)ext + sizeof(*addr)));
331 kdebug_sadb_key(const struct sadb_ext *ext)
333 const struct sadb_key *key = (const struct sadb_key *)ext;
336 if (ext == NULL)
355 kdebug_sadb_x_sa2(const struct sadb_ext *ext)
357 const struct sadb_x_sa2 *sa2 = (const struct sadb_x_sa2 *)ext;
360 if (ext == NULL)
371 kdebug_sadb_x_policy(const struct sadb_ext *ext)
373 const struct sadb_x_policy *xpl = (const struct sadb_x_policy *)ext;
377 if (ext == NULL)
434 kdebug_sadb_xpolicy(const char *msg, const struct sadb_ext *ext)
437 kdebug_sadb_x_policy(ext);