diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 79cc3dab4be7..322b5eae57dd 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -190,6 +190,7 @@ struct dev_addr_list | |||
190 | struct dev_addr_list *next; | 190 | struct dev_addr_list *next; |
191 | u8 da_addr[MAX_ADDR_LEN]; | 191 | u8 da_addr[MAX_ADDR_LEN]; |
192 | u8 da_addrlen; | 192 | u8 da_addrlen; |
193 | u8 da_synced; | ||
193 | int da_users; | 194 | int da_users; |
194 | int da_gusers; | 195 | int da_gusers; |
195 | }; | 196 | }; |
@@ -516,6 +517,9 @@ struct net_device | |||
516 | void *saddr, | 517 | void *saddr, |
517 | unsigned len); | 518 | unsigned len); |
518 | int (*rebuild_header)(struct sk_buff *skb); | 519 | int (*rebuild_header)(struct sk_buff *skb); |
520 | #define HAVE_CHANGE_RX_FLAGS | ||
521 | void (*change_rx_flags)(struct net_device *dev, | ||
522 | int flags); | ||
519 | #define HAVE_SET_RX_MODE | 523 | #define HAVE_SET_RX_MODE |
520 | void (*set_rx_mode)(struct net_device *dev); | 524 | void (*set_rx_mode)(struct net_device *dev); |
521 | #define HAVE_MULTICAST | 525 | #define HAVE_MULTICAST |
@@ -560,6 +564,8 @@ struct net_device | |||
560 | 564 | ||
561 | /* bridge stuff */ | 565 | /* bridge stuff */ |
562 | struct net_bridge_port *br_port; | 566 | struct net_bridge_port *br_port; |
567 | /* macvlan */ | ||
568 | struct macvlan_port *macvlan_port; | ||
563 | 569 | ||
564 | /* class/net/name entry */ | 570 | /* class/net/name entry */ |
565 | struct device dev; | 571 | struct device dev; |
@@ -1100,6 +1106,8 @@ extern int dev_unicast_delete(struct net_device *dev, void *addr, int alen); | |||
1100 | extern int dev_unicast_add(struct net_device *dev, void *addr, int alen); | 1106 | extern int dev_unicast_add(struct net_device *dev, void *addr, int alen); |
1101 | extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all); | 1107 | extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all); |
1102 | extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly); | 1108 | extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly); |
1109 | extern int dev_mc_sync(struct net_device *to, struct net_device *from); | ||
1110 | extern void dev_mc_unsync(struct net_device *to, struct net_device *from); | ||
1103 | extern void dev_mc_discard(struct net_device *dev); | 1111 | extern void dev_mc_discard(struct net_device *dev); |
1104 | extern int __dev_addr_delete(struct dev_addr_list **list, int *count, void *addr, int alen, int all); | 1112 | extern int __dev_addr_delete(struct dev_addr_list **list, int *count, void *addr, int alen, int all); |
1105 | extern int __dev_addr_add(struct dev_addr_list **list, int *count, void *addr, int alen, int newonly); | 1113 | extern int __dev_addr_add(struct dev_addr_list **list, int *count, void *addr, int alen, int newonly); |