diff options
author | jhb <jhb@FreeBSD.org> | 2009-11-30 21:25:57 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-11-30 21:25:57 +0000 |
commit | 1f48c677b57a5904d8da8f832f04e5037fb047bb (patch) | |
tree | 6d2042bb73a33dbf340665490e45ee7bd49482e4 /sys/net/if_var.h | |
parent | 31cb46fffa46fb0a3aa51830f8a4690eb5d0863b (diff) | |
download | FreeBSD-src-1f48c677b57a5904d8da8f832f04e5037fb047bb.zip FreeBSD-src-1f48c677b57a5904d8da8f832f04e5037fb047bb.tar.gz |
Remove if_timer/if_watchdog now that they are no longer used. The space
used by if_timer is reserved for expanding if_index to an int in the
future.
Reviewed by: rwatson, brooks
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r-- | sys/net/if_var.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 523b9e8..9d95ee8 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -141,7 +141,7 @@ struct ifnet { struct carp_if *if_carp; /* carp interface structure */ struct bpf_if *if_bpf; /* packet filter structure */ u_short if_index; /* numeric abbreviation for this if */ - short if_timer; /* time 'til if_watchdog called */ + short if_index_reserved; /* spare space to grow if_index */ struct ifvlantrunk *if_vlantrunk; /* pointer to 802.1q data */ int if_flags; /* up/down, broadcast, etc. */ int if_capabilities; /* interface features & capabilities */ @@ -161,8 +161,6 @@ struct ifnet { (struct ifnet *); int (*if_ioctl) /* ioctl routine */ (struct ifnet *, u_long, caddr_t); - void (*if_watchdog) /* timer routine */ - (struct ifnet *); void (*if_init) /* Init routine */ (void *); int (*if_resolvemulti) /* validate/resolve multicast */ |