diff options
author | glebius <glebius@FreeBSD.org> | 2005-03-01 10:59:14 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-03-01 10:59:14 +0000 |
commit | ea3bf9bbdddea0177c61e7e86335bf19e319dc7d (patch) | |
tree | 04e8269570fec92588a7ceea508b729ed365a388 /sys/net | |
parent | 2da58c223380e951aafd40287fa3e3890feb2acc (diff) | |
download | FreeBSD-src-ea3bf9bbdddea0177c61e7e86335bf19e319dc7d.zip FreeBSD-src-ea3bf9bbdddea0177c61e7e86335bf19e319dc7d.tar.gz |
Revert change to struct ifnet. Use ifnet pointer in softc. Embedding
ifnet into smth will soon be removed.
Requested by: brooks
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_var.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 7c5cb8b..78eea2c 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -147,12 +147,7 @@ struct ifnet { */ struct knlist if_klist; /* events attached to this if */ int if_pcount; /* number of promiscuous listeners */ - union { - struct carp_if *carp_s; /* carp structure (used by !carp ifs) */ - struct ifnet *carp_d; /* ptr to carpdev (used by carp ifs) */ - } if_carp_ptr; -#define if_carp if_carp_ptr.carp_s -#define if_carpdev if_carp_ptr.carp_d + 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 */ |