Deleted Added
full compact
key_debug.h (139823) key_debug.h (181803)
1/* $FreeBSD: head/sys/netipsec/key_debug.h 139823 2005-01-07 01:45:51Z imp $ */
1/* $FreeBSD: head/sys/netipsec/key_debug.h 181803 2008-08-17 23:27:27Z bz $ */
2/* $KAME: key_debug.h,v 1.10 2001/08/05 08:37:52 itojun 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

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

49#define KEYDEBUG_ALG_STAMP (KEYDEBUG_ALG | KEYDEBUG_STAMP)
50#define KEYDEBUG_ALG_DATA (KEYDEBUG_ALG | KEYDEBUG_DATA)
51#define KEYDEBUG_ALG_DUMP (KEYDEBUG_ALG | KEYDEBUG_DUMP)
52#define KEYDEBUG_IPSEC_STAMP (KEYDEBUG_IPSEC | KEYDEBUG_STAMP)
53#define KEYDEBUG_IPSEC_DATA (KEYDEBUG_IPSEC | KEYDEBUG_DATA)
54#define KEYDEBUG_IPSEC_DUMP (KEYDEBUG_IPSEC | KEYDEBUG_DUMP)
55
56#define KEYDEBUG(lev,arg) \
2/* $KAME: key_debug.h,v 1.10 2001/08/05 08:37:52 itojun 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

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

49#define KEYDEBUG_ALG_STAMP (KEYDEBUG_ALG | KEYDEBUG_STAMP)
50#define KEYDEBUG_ALG_DATA (KEYDEBUG_ALG | KEYDEBUG_DATA)
51#define KEYDEBUG_ALG_DUMP (KEYDEBUG_ALG | KEYDEBUG_DUMP)
52#define KEYDEBUG_IPSEC_STAMP (KEYDEBUG_IPSEC | KEYDEBUG_STAMP)
53#define KEYDEBUG_IPSEC_DATA (KEYDEBUG_IPSEC | KEYDEBUG_DATA)
54#define KEYDEBUG_IPSEC_DUMP (KEYDEBUG_IPSEC | KEYDEBUG_DUMP)
55
56#define KEYDEBUG(lev,arg) \
57 do { if ((key_debug_level & (lev)) == (lev)) { arg; } } while (0)
57 do { if ((V_key_debug_level & (lev)) == (lev)) { arg; } } while (0)
58
59extern u_int32_t key_debug_level;
60#endif /*_KERNEL*/
61
62struct sadb_msg;
63struct sadb_ext;
64extern void kdebug_sadb __P((struct sadb_msg *));
65extern void kdebug_sadb_x_policy __P((struct sadb_ext *));

--- 23 unchanged lines hidden ---
58
59extern u_int32_t key_debug_level;
60#endif /*_KERNEL*/
61
62struct sadb_msg;
63struct sadb_ext;
64extern void kdebug_sadb __P((struct sadb_msg *));
65extern void kdebug_sadb_x_policy __P((struct sadb_ext *));

--- 23 unchanged lines hidden ---