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));
114 struct sadb_ext *ext;
129 ext = (void *)((caddr_t)(void *)base + sizeof(struct sadb_msg));
133 ext->sadb_ext_len, ext->sadb_ext_type);
135 if (ext->sadb_ext_len == 0) {
139 if (ext->sadb_ext_len > tlen) {
144 switch (ext->sadb_ext_type) {
146 kdebug_sadb_sa(ext);
151 kdebug_sadb_lifetime(ext);
156 kdebug_sadb_address(ext);
160 kdebug_sadb_key(ext);
164 kdebug_sadb_identity(ext);
169 kdebug_sadb_prop(ext);
173 kdebug_sadb_supported(ext);
179 kdebug_sadb_x_policy(ext);
182 kdebug_sadb_x_sa2(ext);
186 kdebug_sadb_x_nat_t_type(ext);
190 kdebug_sadb_x_nat_t_port(ext);
193 kdebug_sadb_address(ext);
198 kdebug_sadb_x_packet(ext);
203 kdebug_sadb_x_kmaddress(ext);
208 ext->sadb_ext_type);
212 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
214 ext = (void *)((caddr_t)(void *)ext + extlen);
221 kdebug_sadb_prop(ext)
222 struct sadb_ext *ext;
224 struct sadb_prop *prop = (void *)ext;
229 if (ext == NULL)
271 kdebug_sadb_identity(ext)
272 struct sadb_ext *ext;
274 struct sadb_ident *id = (void *)ext;
278 if (ext == NULL)
314 kdebug_sadb_supported(ext)
315 struct sadb_ext *ext;
317 struct sadb_supported *sup = (void *)ext;
322 if (ext == NULL)
341 kdebug_sadb_lifetime(ext)
342 struct sadb_ext *ext;
344 struct sadb_lifetime *lft = (void *)ext;
347 if (ext == NULL)
361 kdebug_sadb_sa(ext)
362 struct sadb_ext *ext;
364 struct sadb_sa *sa = (void *)ext;
367 if (ext == NULL)
380 kdebug_sadb_address(ext)
381 struct sadb_ext *ext;
383 struct sadb_address *addr = (void *)ext;
386 if (ext == NULL)
394 kdebug_sockaddr((void *)((caddr_t)(void *)ext + sizeof(*addr)));
400 kdebug_sadb_key(ext)
401 struct sadb_ext *ext;
403 struct sadb_key *key = (void *)ext;
406 if (ext == NULL)
428 kdebug_sadb_x_sa2(ext)
429 struct sadb_ext *ext;
431 struct sadb_x_sa2 *sa2 = (void *)ext;
434 if (ext == NULL)
447 kdebug_sadb_x_policy(ext)
448 struct sadb_ext *ext;
450 struct sadb_x_policy *xpl = (void *)ext;
454 if (ext == NULL)
520 kdebug_sadb_x_nat_t_type(struct sadb_ext *ext)
522 struct sadb_x_nat_t_type *ntt = (void *)ext;
525 if (ext == NULL)
534 kdebug_sadb_x_nat_t_port(struct sadb_ext *ext)
536 struct sadb_x_nat_t_port *ntp = (void *)ext;
539 if (ext == NULL)
550 kdebug_sadb_x_packet(ext)
551 struct sadb_ext *ext;
553 struct sadb_x_packet *pkt = (struct sadb_x_packet *)ext;
556 if (ext == NULL)
570 kdebug_sadb_x_kmaddress(ext)
571 struct sadb_ext *ext;
573 struct sadb_x_kmaddress *kma = (struct sadb_x_kmaddress *)ext;
579 if (ext == NULL)