• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/netipsec/

Lines Matching defs:ext

171 	struct sadb_ext *ext;
187 ext = (struct sadb_ext *)((caddr_t)base + sizeof(struct sadb_msg));
191 ext->sadb_ext_len, ext->sadb_ext_type,
192 kdebug_sadb_exttype(ext->sadb_ext_type));
194 if (ext->sadb_ext_len == 0) {
198 if (ext->sadb_ext_len > tlen) {
200 __func__, ext->sadb_ext_len, tlen);
204 switch (ext->sadb_ext_type) {
206 kdebug_sadb_sa(ext);
211 kdebug_sadb_lifetime(ext);
220 kdebug_sadb_address(ext);
224 kdebug_sadb_key(ext);
228 kdebug_sadb_identity(ext);
233 kdebug_sadb_prop(ext);
237 kdebug_sadb_supported(ext);
243 kdebug_sadb_x_policy(ext);
246 kdebug_sadb_x_sa2(ext);
249 kdebug_sadb_x_sa_replay(ext);
254 kdebug_sadb_x_natt(ext);
258 ext->sadb_ext_type);
262 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
264 ext = (struct sadb_ext *)((caddr_t)ext + extlen);
271 kdebug_sadb_prop(struct sadb_ext *ext)
273 struct sadb_prop *prop = (struct sadb_prop *)ext;
278 if (ext == NULL)
320 kdebug_sadb_identity(struct sadb_ext *ext)
322 struct sadb_ident *id = (struct sadb_ident *)ext;
326 if (ext == NULL)
362 kdebug_sadb_supported(struct sadb_ext *ext)
364 struct sadb_supported *sup = (struct sadb_supported *)ext;
369 if (ext == NULL)
388 kdebug_sadb_lifetime(struct sadb_ext *ext)
390 struct sadb_lifetime *lft = (struct sadb_lifetime *)ext;
393 if (ext == NULL)
407 kdebug_sadb_sa(struct sadb_ext *ext)
409 struct sadb_sa *sa = (struct sadb_sa *)ext;
412 if (ext == NULL)
425 kdebug_sadb_address(struct sadb_ext *ext)
427 struct sadb_address *addr = (struct sadb_address *)ext;
430 if (ext == NULL)
438 kdebug_sockaddr((struct sockaddr *)((caddr_t)ext + sizeof(*addr)));
442 kdebug_sadb_key(struct sadb_ext *ext)
444 struct sadb_key *key = (struct sadb_key *)ext;
447 if (ext == NULL)
470 kdebug_sadb_x_sa2(struct sadb_ext *ext)
472 struct sadb_x_sa2 *sa2 = (struct sadb_x_sa2 *)ext;
475 if (ext == NULL)
488 kdebug_sadb_x_sa_replay(struct sadb_ext *ext)
493 if (ext == NULL)
496 replay = (struct sadb_x_sa_replay *)ext;
502 kdebug_sadb_x_natt(struct sadb_ext *ext)
508 if (ext == NULL)
511 if (ext->sadb_ext_type == SADB_X_EXT_NAT_T_TYPE) {
512 type = (struct sadb_x_nat_t_type *)ext;
516 port = (struct sadb_x_nat_t_port *)ext;
523 kdebug_sadb_x_policy(struct sadb_ext *ext)
525 struct sadb_x_policy *xpl = (struct sadb_x_policy *)ext;
529 if (ext == NULL)