diff options
Diffstat (limited to 'usr/src/uts/common/sys/hook.h')
-rw-r--r-- | usr/src/uts/common/sys/hook.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/hook.h b/usr/src/uts/common/sys/hook.h index c7a6779dc5..00b0048093 100644 --- a/usr/src/uts/common/sys/hook.h +++ b/usr/src/uts/common/sys/hook.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -33,6 +33,7 @@ #pragma ident "%Z%%M% %I% %E% SMI" #include <sys/queue.h> +#include <sys/netstack.h> #ifdef __cplusplus extern "C" { @@ -49,7 +50,7 @@ typedef uintptr_t hook_data_t; struct hook_event_int; typedef struct hook_event_int *hook_event_token_t; -typedef int (* hook_func_t)(hook_event_token_t, hook_data_t); +typedef int (* hook_func_t)(hook_event_token_t, hook_data_t, netstack_t *); /* * Hook @@ -107,7 +108,6 @@ typedef struct hook_event { _NOTE(CONSTCOND) \ } while (0) - #ifdef __cplusplus } #endif |