* Applied next work in progress patch by Atis that takes into account most of

my comments so far. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37793 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-07-28 17:09:12 +00:00
parent 6d6408d6bc
commit b216fbd077
18 changed files with 200 additions and 100 deletions
+3 -1
View File
@@ -98,9 +98,11 @@ struct net_datalink_module_info {
struct net_route_info *info);
};
#define NET_ADDRESS_MODULE_FLAG_BROADCAST_ADDRESS 0x01
struct net_address_module_info {
module_info info;
bool has_broadcast_address;
uint32 flags;
status_t (*copy_address)(const sockaddr *from, sockaddr **to,
bool replaceWithZeros, const sockaddr *mask);
@@ -24,7 +24,6 @@ struct net_datalink_protocol_module_info {
status_t (*send_data)(net_datalink_protocol *self,
net_buffer *buffer);
status_t (*receive_data)(net_buffer *buffer);
status_t (*interface_up)(net_datalink_protocol *self);
void (*interface_down)(net_datalink_protocol *self);