Deleted Added
full compact
key_debug.h (195699) key_debug.h (195727)
1/* $FreeBSD: head/sys/netipsec/key_debug.h 195699 2009-07-14 22:48:30Z rwatson $ */
1/* $FreeBSD: head/sys/netipsec/key_debug.h 195727 2009-07-16 21:13:04Z rwatson $ */
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

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

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 ((V_key_debug_level & (lev)) == (lev)) { arg; } } while (0)
58
59VNET_DECLARE(u_int32_t, key_debug_level);
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

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

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 ((V_key_debug_level & (lev)) == (lev)) { arg; } } while (0)
58
59VNET_DECLARE(u_int32_t, key_debug_level);
60#define V_key_debug_level VNET_GET(key_debug_level)
60#define V_key_debug_level VNET(key_debug_level)
61#endif /*_KERNEL*/
62
63struct sadb_msg;
64struct sadb_ext;
65extern void kdebug_sadb __P((struct sadb_msg *));
66extern void kdebug_sadb_x_policy __P((struct sadb_ext *));
67
68#ifdef _KERNEL

--- 21 unchanged lines hidden ---
61#endif /*_KERNEL*/
62
63struct sadb_msg;
64struct sadb_ext;
65extern void kdebug_sadb __P((struct sadb_msg *));
66extern void kdebug_sadb_x_policy __P((struct sadb_ext *));
67
68#ifdef _KERNEL

--- 21 unchanged lines hidden ---