diff options
author | 2008-11-30 00:14:42 +0000 | |
---|---|---|
committer | 2008-11-30 00:14:42 +0000 | |
commit | 2e6b034d97d68813475281550926af4a9bbec59d (patch) | |
tree | 8960ab656063bde4ddb307dcad1be2b2e9b3cad5 | |
parent | sync (diff) | |
download | wireguard-openbsd-2e6b034d97d68813475281550926af4a9bbec59d.tar.xz wireguard-openbsd-2e6b034d97d68813475281550926af4a9bbec59d.zip |
- Remove unused if_reset "bus reset routine" field in the ifnet struct.
- Add if_stop "stop routine" field in the ifnet struct.
ok mglocker@
-rw-r--r-- | sys/net/if.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index c10cac4116b..4fe077e2458 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if.h,v 1.99 2008/11/26 17:36:23 dlg Exp $ */ +/* $OpenBSD: if.h,v 1.100 2008/11/30 00:14:42 brad Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -227,8 +227,8 @@ struct ifnet { /* and the entries */ int (*if_ioctl)(struct ifnet *, u_long, caddr_t); /* init routine */ int (*if_init)(struct ifnet *); - /* XXX bus reset routine */ - int (*if_reset)(struct ifnet *); + /* stop routine */ + int (*if_stop)(struct ifnet *, int); /* timer routine */ void (*if_watchdog)(struct ifnet *); struct ifaltq if_snd; /* output queue (includes altq) */ |