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; local
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) in kdebug_sadb_prop() argument
213 struct sadb_ext *ext; in kdebug_sadb_prop()
215 struct sadb_prop *prop = (void *)ext;
220 if (ext == NULL)
262 kdebug_sadb_identity(ext) in kdebug_sadb_identity() argument
263 struct sadb_ext *ext; in kdebug_sadb_identity()
265 struct sadb_ident *id = (void *)ext;
269 if (ext == NULL)
305 kdebug_sadb_supported(ext) in kdebug_sadb_supported() argument
306 struct sadb_ext *ext; in kdebug_sadb_supported()
308 struct sadb_supported *sup = (void *)ext;
313 if (ext == NULL)
332 kdebug_sadb_lifetime(ext) in kdebug_sadb_lifetime() argument
333 struct sadb_ext *ext; in kdebug_sadb_lifetime()
335 struct sadb_lifetime *lft = (void *)ext;
338 if (ext == NULL)
352 kdebug_sadb_sa(ext) in kdebug_sadb_sa() argument
353 struct sadb_ext *ext; in kdebug_sadb_sa()
355 struct sadb_sa *sa = (void *)ext;
358 if (ext == NULL)
371 kdebug_sadb_address(ext) in kdebug_sadb_address() argument
372 struct sadb_ext *ext; in kdebug_sadb_address()
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) in kdebug_sadb_key() argument
392 struct sadb_ext *ext; in kdebug_sadb_key()
394 struct sadb_key *key = (void *)ext;
397 if (ext == NULL)
419 kdebug_sadb_x_sa2(ext) in kdebug_sadb_x_sa2() argument
420 struct sadb_ext *ext; in kdebug_sadb_x_sa2()
422 struct sadb_x_sa2 *sa2 = (void *)ext;
425 if (ext == NULL)
438 kdebug_sadb_x_policy(ext) in kdebug_sadb_x_policy() argument
439 struct sadb_ext *ext; in kdebug_sadb_x_policy()
441 struct sadb_x_policy *xpl = (void *)ext;
445 if (ext == NULL)
511 kdebug_sadb_x_nat_t_type(struct sadb_ext *ext) in kdebug_sadb_x_nat_t_type() argument
513 struct sadb_x_nat_t_type *ntt = (void *)ext; in kdebug_sadb_x_nat_t_type()
516 if (ext == NULL) in kdebug_sadb_x_nat_t_type()
525 kdebug_sadb_x_nat_t_port(struct sadb_ext *ext) in kdebug_sadb_x_nat_t_port() argument
527 struct sadb_x_nat_t_port *ntp = (void *)ext; in kdebug_sadb_x_nat_t_port()
530 if (ext == NULL) in kdebug_sadb_x_nat_t_port()
541 kdebug_sadb_x_packet(ext) in kdebug_sadb_x_packet() argument
542 struct sadb_ext *ext; in kdebug_sadb_x_packet()
544 struct sadb_x_packet *pkt = (struct sadb_x_packet *)ext;
547 if (ext == NULL)