diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-29 06:48:28 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-29 06:48:28 -0500 |
| commit | 1a5f681bed7a48e9541ec585accc8b6b5b20aee3 (patch) | |
| tree | 9228c601fd77d9286c69706f249055a0741ffe65 /include/linux | |
| parent | f789f058273e7bac96b494eb737ca537ae7550c9 (diff) | |
ISDN: Add close()/open() callbacks to ISDN net interface implementation
X25 needs notification if an interface is brought up or down, and
ethernet over ISDN creates a fake MAC address at open time, so put this
into appropriate callbacks as well.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/isdn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h index 76684de94779..bf9c6dd6f834 100644 --- a/include/linux/isdn.h +++ b/include/linux/isdn.h @@ -303,6 +303,8 @@ struct isdn_netif_ops { void (*unbind)(struct isdn_net_local_s *lp); int (*init)(struct isdn_net_local_s *lp); void (*cleanup)(struct isdn_net_local_s *lp); + int (*open)(struct isdn_net_local_s *lp); + void (*close)(struct isdn_net_local_s *lp); }; /* Local interface-data */ |
