It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/* domain.h */
|
||||
|
||||
/* A domain is just a container for like minded protocols! */
|
||||
|
||||
#ifndef DOMAIN_H
|
||||
#define DOMAIN_H
|
||||
|
||||
struct domain {
|
||||
int dom_family; /* AF_INET and so on */
|
||||
char *dom_name;
|
||||
|
||||
void (*dom_init)(void); /* initialise */
|
||||
|
||||
struct protosw *dom_protosw; /* the protocols we have */
|
||||
struct domain *dom_next;
|
||||
|
||||
int (*dom_rtattach)(void **, int);
|
||||
int dom_rtoffset;
|
||||
int dom_maxrtkey;
|
||||
};
|
||||
|
||||
struct domain *domains;
|
||||
void add_domain(struct domain *dom, int fam);
|
||||
void remove_domain(int fam);
|
||||
|
||||
#endif /* DOMAIN_H */
|
||||
Reference in New Issue
Block a user