• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ipsec-286.1.1/ipsec-tools/Common/

Lines Matching refs:ext

83 static void kdebug_sadb_x_policy (struct sadb_ext *ext);
85 static void kdebug_sadb_x_ipsecif (struct sadb_ext *ext);
87 static void kdebug_sadb_x_nat_t_type (struct sadb_ext *ext);
88 static void kdebug_sadb_x_nat_t_port (struct sadb_ext *ext);
107 struct sadb_ext *ext;
122 ext = (void *)((caddr_t)(void *)base + sizeof(struct sadb_msg));
126 ext->sadb_ext_len, ext->sadb_ext_type);
128 if (ext->sadb_ext_len == 0) {
132 if (ext->sadb_ext_len > tlen) {
137 switch (ext->sadb_ext_type) {
139 kdebug_sadb_sa(ext);
144 kdebug_sadb_lifetime(ext);
153 kdebug_sadb_address(ext);
157 kdebug_sadb_key(ext);
161 kdebug_sadb_identity(ext);
166 kdebug_sadb_prop(ext);
170 kdebug_sadb_supported(ext);
176 kdebug_sadb_x_policy(ext);
179 kdebug_sadb_x_sa2(ext);
182 kdebug_sadb_session_id(ext);
185 kdebug_sadb_sastat(ext);
188 kdebug_sadb_x_ipsecif(ext);
192 kdebug_sadb_x_nat_t_type(ext);
196 kdebug_sadb_x_nat_t_port(ext);
199 kdebug_sadb_address(ext);
204 ext->sadb_ext_type);
208 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
210 ext = (void *)((caddr_t)(void *)ext + extlen);
217 kdebug_sadb_prop(ext)
218 struct sadb_ext *ext;
220 struct sadb_prop *prop = (void *)ext;
225 if (ext == NULL)
267 kdebug_sadb_identity(ext)
268 struct sadb_ext *ext;
270 struct sadb_ident *id = (void *)ext;
274 if (ext == NULL)
310 kdebug_sadb_supported(ext)
311 struct sadb_ext *ext;
313 struct sadb_supported *sup = (void *)ext;
318 if (ext == NULL)
337 kdebug_sadb_lifetime(ext)
338 struct sadb_ext *ext;
340 struct sadb_lifetime *lft = (void *)ext;
343 if (ext == NULL)
357 kdebug_sadb_sa(ext)
358 struct sadb_ext *ext;
360 struct sadb_sa *sa = (void *)ext;
363 if (ext == NULL)
376 kdebug_sadb_address(ext)
377 struct sadb_ext *ext;
379 struct sadb_address *addr = (void *)ext;
382 if (ext == NULL)
390 kdebug_sockaddr((void *)((caddr_t)(void *)ext + sizeof(*addr)));
396 kdebug_sadb_key(ext)
397 struct sadb_ext *ext;
399 struct sadb_key *key = (void *)ext;
402 if (ext == NULL)
424 kdebug_sadb_x_sa2(ext)
425 struct sadb_ext *ext;
427 struct sadb_x_sa2 *sa2 = (void *)ext;
430 if (ext == NULL)
443 kdebug_sadb_session_id(ext)
444 struct sadb_ext *ext;
446 struct sadb_session_id *p = ALIGNED_CAST(__typeof__(p))ext; // Wcast-align fix (void*) - sadb structs come from and aligned buffer
449 if (ext == NULL) {
460 kdebug_sadb_x_ipsecif(struct sadb_ext *ext)
462 struct sadb_x_ipsecif *p = ALIGNED_CAST(__typeof__(p))ext;
464 if (ext == NULL) {
474 kdebug_sadb_sastat(ext)
475 struct sadb_ext *ext;
477 struct sadb_sastat *p = ALIGNED_CAST(__typeof__(p))ext; // Wcast-align fix (void*) - sadb structs come from and aligned buffer
482 if (ext == NULL) {
498 kdebug_sadb_x_policy(ext)
499 struct sadb_ext *ext;
501 struct sadb_x_policy *xpl = (void *)ext;
505 if (ext == NULL)
571 kdebug_sadb_x_nat_t_type(struct sadb_ext *ext)
573 struct sadb_x_nat_t_type *ntt = (void *)ext;
576 if (ext == NULL)
585 kdebug_sadb_x_nat_t_port(struct sadb_ext *ext)
587 struct sadb_x_nat_t_port *ntp = (void *)ext;
590 if (ext == NULL)