aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h8
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);
1100extern int dev_unicast_add(struct net_device *dev, void *addr, int alen); 1106extern int dev_unicast_add(struct net_device *dev, void *addr, int alen);
1101extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all); 1107extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all);
1102extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly); 1108extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly);
1109extern int dev_mc_sync(struct net_device *to, struct net_device *from);
1110extern void dev_mc_unsync(struct net_device *to, struct net_device *from);
1103extern void dev_mc_discard(struct net_device *dev); 1111extern void dev_mc_discard(struct net_device *dev);
1104extern int __dev_addr_delete(struct dev_addr_list **list, int *count, void *addr, int alen, int all); 1112extern int __dev_addr_delete(struct dev_addr_list **list, int *count, void *addr, int alen, int all);
1105extern int __dev_addr_add(struct dev_addr_list **list, int *count, void *addr, int alen, int newonly); 1113extern int __dev_addr_add(struct dev_addr_list **list, int *count, void *addr, int alen, int newonly);