Check-in minor changes made long ago.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8479 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -21,6 +21,7 @@ SimpleTest new_stack_tester :
|
||||
Depends <installed>new_stack_tester : <network_v2-add-ons>add-ons ;
|
||||
}
|
||||
|
||||
# for convenience: this target builds all userland new_stack modules
|
||||
NotFile userland_network_v2_modules ;
|
||||
Depends userland_network_v2_modules :
|
||||
# the main stack modules
|
||||
|
||||
@@ -18,6 +18,7 @@ typedef const void *string_token;
|
||||
|
||||
// Networking attribute(s) definition
|
||||
typedef struct net_attribute net_attribute;
|
||||
typedef struct net_attribute * net_attribute_list;
|
||||
|
||||
#define NET_ATTRIBUTE_TYPE_MASK 0xFF // Up to 256 basic types
|
||||
#define NET_ATTRIBUTE_FLAGS_MASK 0xFFFFFF00
|
||||
@@ -80,7 +81,7 @@ struct net_layer {
|
||||
uint32 use_count;
|
||||
struct net_layer **layers_above;
|
||||
struct net_layer **layers_below;
|
||||
struct net_attribute *attributes; // layer attributes
|
||||
net_attribute_list *attributes; // layer attributes
|
||||
};
|
||||
|
||||
// Network stack main module definition
|
||||
|
||||
@@ -165,7 +165,7 @@ status_t register_layer(const char *name, const char *type, int priority,
|
||||
|
||||
release_sem(g_layers.lock);
|
||||
|
||||
dprintf("layers_manager: '%s' layer, registering %s/%s type\n", layer->name,
|
||||
dprintf("layers_manager: '%s' layer, registering '%s/%s' type\n", layer->name,
|
||||
string_for_token(layer->type), string_for_token(layer->sub_type));
|
||||
|
||||
if (_layer)
|
||||
|
||||
Reference in New Issue
Block a user