diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index aa389c77aa3e..9e114e77e54d 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -189,15 +189,12 @@ struct dev_addr_list | |||
189 | /* | 189 | /* |
190 | * We tag multicasts with these structures. | 190 | * We tag multicasts with these structures. |
191 | */ | 191 | */ |
192 | 192 | ||
193 | struct dev_mc_list | 193 | #define dev_mc_list dev_addr_list |
194 | { | 194 | #define dmi_addr da_addr |
195 | struct dev_mc_list *next; | 195 | #define dmi_addrlen da_addrlen |
196 | __u8 dmi_addr[MAX_ADDR_LEN]; | 196 | #define dmi_users da_users |
197 | unsigned char dmi_addrlen; | 197 | #define dmi_gusers da_gusers |
198 | int dmi_users; | ||
199 | int dmi_gusers; | ||
200 | }; | ||
201 | 198 | ||
202 | struct hh_cache | 199 | struct hh_cache |
203 | { | 200 | { |
@@ -400,7 +397,7 @@ struct net_device | |||
400 | unsigned char addr_len; /* hardware address length */ | 397 | unsigned char addr_len; /* hardware address length */ |
401 | unsigned short dev_id; /* for shared network cards */ | 398 | unsigned short dev_id; /* for shared network cards */ |
402 | 399 | ||
403 | struct dev_mc_list *mc_list; /* Multicast mac addresses */ | 400 | struct dev_addr_list *mc_list; /* Multicast mac addresses */ |
404 | int mc_count; /* Number of installed mcasts */ | 401 | int mc_count; /* Number of installed mcasts */ |
405 | int promiscuity; | 402 | int promiscuity; |
406 | int allmulti; | 403 | int allmulti; |