2 * Copyright 2006-2010, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Axel Dörfler, axeld@pinc-software.de
13 #include <util/list.h>
14 #include <util/DoublyLinkedList.h>
19 struct net_device_interface
;
22 struct net_domain_private
: net_domain
,
23 DoublyLinkedListLinkImpl
<net_domain_private
> {
27 RouteInfoList route_infos
;
31 net_domain
* get_domain(int family
);
32 status_t
register_domain(int family
, const char* name
,
33 struct net_protocol_module_info
* module
,
34 struct net_address_module_info
* addressModule
, net_domain
* *_domain
);
35 status_t
unregister_domain(net_domain
* domain
);
37 status_t
init_domains();
38 status_t
uninit_domains();