Lines Matching refs:ext

169 	struct sadb_ext *ext;
185 ext = (struct sadb_ext *)((caddr_t)base + sizeof(struct sadb_msg));
189 ext->sadb_ext_len, ext->sadb_ext_type,
190 kdebug_sadb_exttype(ext->sadb_ext_type));
192 if (ext->sadb_ext_len == 0) {
196 if (ext->sadb_ext_len > tlen) {
198 __func__, ext->sadb_ext_len, tlen);
202 switch (ext->sadb_ext_type) {
204 kdebug_sadb_sa(ext);
209 kdebug_sadb_lifetime(ext);
218 kdebug_sadb_address(ext);
222 kdebug_sadb_key(ext);
226 kdebug_sadb_identity(ext);
231 kdebug_sadb_prop(ext);
235 kdebug_sadb_supported(ext);
241 kdebug_sadb_x_policy(ext);
244 kdebug_sadb_x_sa2(ext);
247 kdebug_sadb_x_sa_replay(ext);
252 kdebug_sadb_x_natt(ext);
256 ext->sadb_ext_type);
260 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
262 ext = (struct sadb_ext *)((caddr_t)ext + extlen);
269 kdebug_sadb_prop(struct sadb_ext *ext)
271 struct sadb_prop *prop = (struct sadb_prop *)ext;
276 if (ext == NULL)
318 kdebug_sadb_identity(struct sadb_ext *ext)
320 struct sadb_ident *id = (struct sadb_ident *)ext;
324 if (ext == NULL)
360 kdebug_sadb_supported(struct sadb_ext *ext)
362 struct sadb_supported *sup = (struct sadb_supported *)ext;
367 if (ext == NULL)
386 kdebug_sadb_lifetime(struct sadb_ext *ext)
388 struct sadb_lifetime *lft = (struct sadb_lifetime *)ext;
391 if (ext == NULL)
405 kdebug_sadb_sa(struct sadb_ext *ext)
407 struct sadb_sa *sa = (struct sadb_sa *)ext;
410 if (ext == NULL)
423 kdebug_sadb_address(struct sadb_ext *ext)
425 struct sadb_address *addr = (struct sadb_address *)ext;
428 if (ext == NULL)
436 kdebug_sockaddr((struct sockaddr *)((caddr_t)ext + sizeof(*addr)));
440 kdebug_sadb_key(struct sadb_ext *ext)
442 struct sadb_key *key = (struct sadb_key *)ext;
445 if (ext == NULL)
468 kdebug_sadb_x_sa2(struct sadb_ext *ext)
470 struct sadb_x_sa2 *sa2 = (struct sadb_x_sa2 *)ext;
473 if (ext == NULL)
486 kdebug_sadb_x_sa_replay(struct sadb_ext *ext)
491 if (ext == NULL)
494 replay = (struct sadb_x_sa_replay *)ext;
500 kdebug_sadb_x_natt(struct sadb_ext *ext)
506 if (ext == NULL)
509 if (ext->sadb_ext_type == SADB_X_EXT_NAT_T_TYPE) {
510 type = (struct sadb_x_nat_t_type *)ext;
514 port = (struct sadb_x_nat_t_port *)ext;
521 kdebug_sadb_x_policy(struct sadb_ext *ext)
523 struct sadb_x_policy *xpl = (struct sadb_x_policy *)ext;
527 if (ext == NULL)