Lines Matching defs:ext
82 struct sadb_ext *ext;
97 ext = (struct sadb_ext *)((caddr_t)base + sizeof(struct sadb_msg));
101 ext->sadb_ext_len, ext->sadb_ext_type);
103 if (ext->sadb_ext_len == 0) {
107 if (ext->sadb_ext_len > tlen) {
112 switch (ext->sadb_ext_type) {
114 kdebug_sadb_sa(ext);
119 kdebug_sadb_lifetime(ext);
124 kdebug_sadb_address(ext);
128 kdebug_sadb_key(ext);
132 kdebug_sadb_identity(ext);
137 kdebug_sadb_prop(ext);
141 kdebug_sadb_supported(ext);
147 kdebug_sadb_x_policy(ext);
150 kdebug_sadb_x_sa2(ext);
154 ext->sadb_ext_type);
158 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
160 ext = (struct sadb_ext *)((caddr_t)ext + extlen);
167 kdebug_sadb_prop(ext)
168 struct sadb_ext *ext;
170 struct sadb_prop *prop = (struct sadb_prop *)ext;
175 if (ext == NULL)
217 kdebug_sadb_identity(ext)
218 struct sadb_ext *ext;
220 struct sadb_ident *id = (struct sadb_ident *)ext;
224 if (ext == NULL)
260 kdebug_sadb_supported(ext)
261 struct sadb_ext *ext;
263 struct sadb_supported *sup = (struct sadb_supported *)ext;
268 if (ext == NULL)
287 kdebug_sadb_lifetime(ext)
288 struct sadb_ext *ext;
290 struct sadb_lifetime *lft = (struct sadb_lifetime *)ext;
293 if (ext == NULL)
307 kdebug_sadb_sa(ext)
308 struct sadb_ext *ext;
310 struct sadb_sa *sa = (struct sadb_sa *)ext;
313 if (ext == NULL)
326 kdebug_sadb_address(ext)
327 struct sadb_ext *ext;
329 struct sadb_address *addr = (struct sadb_address *)ext;
332 if (ext == NULL)
340 kdebug_sockaddr((struct sockaddr *)((caddr_t)ext + sizeof(*addr)));
346 kdebug_sadb_key(ext)
347 struct sadb_ext *ext;
349 struct sadb_key *key = (struct sadb_key *)ext;
352 if (ext == NULL)
374 kdebug_sadb_x_sa2(ext)
375 struct sadb_ext *ext;
377 struct sadb_x_sa2 *sa2 = (struct sadb_x_sa2 *)ext;
380 if (ext == NULL)
393 kdebug_sadb_x_policy(ext)
394 struct sadb_ext *ext;
396 struct sadb_x_policy *xpl = (struct sadb_x_policy *)ext;
400 if (ext == NULL)