Lines Matching refs:ext
82 struct sadb_ext *ext; local
98 ext = (struct sadb_ext *)((caddr_t)base + sizeof(struct sadb_msg));
102 ext->sadb_ext_len, ext->sadb_ext_type);
104 if (ext->sadb_ext_len == 0) {
108 if (ext->sadb_ext_len > tlen) {
113 switch (ext->sadb_ext_type) {
115 kdebug_sadb_sa(ext);
120 kdebug_sadb_lifetime(ext);
125 kdebug_sadb_address(ext);
129 kdebug_sadb_key(ext);
133 kdebug_sadb_identity(ext);
138 kdebug_sadb_prop(ext);
142 kdebug_sadb_supported(ext);
148 kdebug_sadb_x_policy(ext);
151 kdebug_sadb_x_sa2(ext);
154 kdebug_sadb_session_id(ext);
157 kdebug_sadb_sastat(ext);
161 ext->sadb_ext_type);
165 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
167 ext = (struct sadb_ext *)((caddr_t)ext + extlen);
174 kdebug_sadb_prop(ext) in kdebug_sadb_prop() argument
175 struct sadb_ext *ext; in kdebug_sadb_prop()
177 struct sadb_prop *prop = (struct sadb_prop *)ext;
182 if (ext == NULL) {
225 kdebug_sadb_identity(ext) in kdebug_sadb_identity() argument
226 struct sadb_ext *ext; in kdebug_sadb_identity()
228 struct sadb_ident *id = (struct sadb_ident *)ext;
232 if (ext == NULL) {
270 kdebug_sadb_supported(ext) in kdebug_sadb_supported() argument
271 struct sadb_ext *ext; in kdebug_sadb_supported()
273 struct sadb_supported *sup = (struct sadb_supported *)ext;
278 if (ext == NULL) {
298 kdebug_sadb_lifetime(ext) in kdebug_sadb_lifetime() argument
299 struct sadb_ext *ext; in kdebug_sadb_lifetime()
301 struct sadb_lifetime *lft = (struct sadb_lifetime *)ext;
304 if (ext == NULL) {
319 kdebug_sadb_sa(ext) in kdebug_sadb_sa() argument
320 struct sadb_ext *ext; in kdebug_sadb_sa()
322 struct sadb_sa *sa = (struct sadb_sa *)ext;
325 if (ext == NULL) {
339 kdebug_sadb_address(ext) in kdebug_sadb_address() argument
340 struct sadb_ext *ext; in kdebug_sadb_address()
342 struct sadb_address *addr = (struct sadb_address *)ext;
345 if (ext == NULL) {
354 kdebug_sockaddr((struct sockaddr *)((caddr_t)ext + sizeof(*addr)));
360 kdebug_sadb_key(ext) in kdebug_sadb_key() argument
361 struct sadb_ext *ext; in kdebug_sadb_key()
363 struct sadb_key *key = (struct sadb_key *)ext;
366 if (ext == NULL) {
389 kdebug_sadb_x_sa2(ext) in kdebug_sadb_x_sa2() argument
390 struct sadb_ext *ext; in kdebug_sadb_x_sa2()
392 struct sadb_x_sa2 *sa2 = (struct sadb_x_sa2 *)ext;
395 if (ext == NULL) {
409 kdebug_sadb_session_id(ext) in kdebug_sadb_session_id() argument
410 struct sadb_ext *ext; in kdebug_sadb_session_id()
412 struct sadb_session_id *p = (__typeof__(p))ext;
415 if (ext == NULL) {
427 kdebug_sadb_sastat(ext) in kdebug_sadb_sastat() argument
428 struct sadb_ext *ext; in kdebug_sadb_sastat()
430 struct sadb_sastat *p = (__typeof__(p))ext;
435 if (ext == NULL) {
452 kdebug_sadb_x_policy(ext) in kdebug_sadb_x_policy() argument
453 struct sadb_ext *ext; in kdebug_sadb_x_policy()
455 struct sadb_x_policy *xpl = (struct sadb_x_policy *)ext;
459 if (ext == NULL) {