added add_multi/rem_multi to net_devices. Glued the interface protocol multicast handling with net_device via add_multi/rem_multi.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20947 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Hugo Santos
2007-05-01 12:26:03 +00:00
parent 8465a06910
commit 954038303d
4 changed files with 26 additions and 14 deletions
+2 -4
View File
@@ -55,10 +55,8 @@ struct net_device_module_info {
status_t (*set_promiscuous)(struct net_device *device, bool promiscuous);
status_t (*set_media)(struct net_device *device, uint32 media);
status_t (*get_multicast_addrs)(struct net_device *device,
net_hardware_address **addressArray, uint32 count);
status_t (*set_multicast_addrs)(struct net_device *device,
const net_hardware_address **addressArray, uint32 count);
status_t (*add_multi)(struct net_device *device, const sockaddr *);
status_t (*rem_multi)(struct net_device *device, const sockaddr *);
};
#endif // NET_DEVICE_H