Deleted Added
full compact
key_debug.c (276188) key_debug.c (286292)
1/* $FreeBSD: head/sys/netipsec/key_debug.c 276188 2014-12-24 18:34:56Z ae $ */
1/* $FreeBSD: head/sys/netipsec/key_debug.c 286292 2015-08-04 17:47:11Z jmg $ */
2/* $KAME: key_debug.c,v 1.26 2001/06/27 10:46:50 sakane Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 562 unchanged lines hidden (view full) ---

572 sav->refcnt, sav->state, sav->alg_auth, sav->alg_enc);
573 printf(" spi=%u flags=%u\n",
574 (u_int32_t)ntohl(sav->spi), sav->flags);
575
576 if (sav->key_auth != NULL)
577 kdebug_sadb_key((struct sadb_ext *)sav->key_auth);
578 if (sav->key_enc != NULL)
579 kdebug_sadb_key((struct sadb_ext *)sav->key_enc);
2/* $KAME: key_debug.c,v 1.26 2001/06/27 10:46:50 sakane Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 562 unchanged lines hidden (view full) ---

572 sav->refcnt, sav->state, sav->alg_auth, sav->alg_enc);
573 printf(" spi=%u flags=%u\n",
574 (u_int32_t)ntohl(sav->spi), sav->flags);
575
576 if (sav->key_auth != NULL)
577 kdebug_sadb_key((struct sadb_ext *)sav->key_auth);
578 if (sav->key_enc != NULL)
579 kdebug_sadb_key((struct sadb_ext *)sav->key_enc);
580 if (sav->iv != NULL) {
581 printf(" iv=");
582 ipsec_hexdump(sav->iv, sav->ivlen ? sav->ivlen : 8);
583 printf("\n");
584 }
585
586 if (sav->replay != NULL)
587 kdebug_secreplay(sav->replay);
588 if (sav->lft_c != NULL)
589 kdebug_sec_lifetime(sav->lft_c);
590 if (sav->lft_h != NULL)
591 kdebug_sec_lifetime(sav->lft_h);
592 if (sav->lft_s != NULL)

--- 154 unchanged lines hidden ---
580
581 if (sav->replay != NULL)
582 kdebug_secreplay(sav->replay);
583 if (sav->lft_c != NULL)
584 kdebug_sec_lifetime(sav->lft_c);
585 if (sav->lft_h != NULL)
586 kdebug_sec_lifetime(sav->lft_h);
587 if (sav->lft_s != NULL)

--- 154 unchanged lines hidden ---