Home | History | Annotate | Download | only in libipsec

Lines Matching refs:ext

82 static void kdebug_sadb_x_policy __P((struct sadb_ext *ext));
86 static void kdebug_sadb_x_nat_t_type __P((struct sadb_ext *ext));
87 static void kdebug_sadb_x_nat_t_port __P((struct sadb_ext *ext));
110 struct sadb_ext *ext;
125 ext = (void *)((caddr_t)(void *)base + sizeof(struct sadb_msg));
129 ext->sadb_ext_len, ext->sadb_ext_type);
131 if (ext->sadb_ext_len == 0) {
135 if (ext->sadb_ext_len > tlen) {
140 switch (ext->sadb_ext_type) {
142 kdebug_sadb_sa(ext);
147 kdebug_sadb_lifetime(ext);
152 kdebug_sadb_address(ext);
156 kdebug_sadb_key(ext);
160 kdebug_sadb_identity(ext);
165 kdebug_sadb_prop(ext);
169 kdebug_sadb_supported(ext);
175 kdebug_sadb_x_policy(ext);
178 kdebug_sadb_x_sa2(ext);
182 kdebug_sadb_x_nat_t_type(ext);
186 kdebug_sadb_x_nat_t_port(ext);
189 kdebug_sadb_address(ext);
194 kdebug_sadb_x_packet(ext);
199 ext->sadb_ext_type);
203 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
205 ext = (void *)((caddr_t)(void *)ext + extlen);
212 kdebug_sadb_prop(ext)
213 struct sadb_ext *ext;
215 struct sadb_prop *prop = (void *)ext;
220 if (ext == NULL)
262 kdebug_sadb_identity(ext)
263 struct sadb_ext *ext;
265 struct sadb_ident *id = (void *)ext;
269 if (ext == NULL)
305 kdebug_sadb_supported(ext)
306 struct sadb_ext *ext;
308 struct sadb_supported *sup = (void *)ext;
313 if (ext == NULL)
332 kdebug_sadb_lifetime(ext)
333 struct sadb_ext *ext;
335 struct sadb_lifetime *lft = (void *)ext;
338 if (ext == NULL)
352 kdebug_sadb_sa(ext)
353 struct sadb_ext *ext;
355 struct sadb_sa *sa = (void *)ext;
358 if (ext == NULL)
371 kdebug_sadb_address(ext)
372 struct sadb_ext *ext;
374 struct sadb_address *addr = (void *)ext;
377 if (ext == NULL)
385 kdebug_sockaddr((void *)((caddr_t)(void *)ext + sizeof(*addr)));
391 kdebug_sadb_key(ext)
392 struct sadb_ext *ext;
394 struct sadb_key *key = (void *)ext;
397 if (ext == NULL)
419 kdebug_sadb_x_sa2(ext)
420 struct sadb_ext *ext;
422 struct sadb_x_sa2 *sa2 = (void *)ext;
425 if (ext == NULL)
438 kdebug_sadb_x_policy(ext)
439 struct sadb_ext *ext;
441 struct sadb_x_policy *xpl = (void *)ext;
445 if (ext == NULL)
511 kdebug_sadb_x_nat_t_type(struct sadb_ext *ext)
513 struct sadb_x_nat_t_type *ntt = (void *)ext;
516 if (ext == NULL)
525 kdebug_sadb_x_nat_t_port(struct sadb_ext *ext)
527 struct sadb_x_nat_t_port *ntp = (void *)ext;
530 if (ext == NULL)
541 kdebug_sadb_x_packet(ext)
542 struct sadb_ext *ext;
544 struct sadb_x_packet *pkt = (struct sadb_x_packet *)ext;
547 if (ext == NULL)