Searched refs:domain (Results 1 - 25 of 84) sorted by relevance

1234

/darwin-on-arm/xnu/bsd/sys/
H A Ddomain.h62 * @(#)domain.h 8.1 (Berkeley) 6/2/93
63 * $FreeBSD: src/sys/sys/domain.h,v 1.14 1999/12/29 04:24:40 peter Exp $
76 * Structure per communications domain.
89 struct domain { struct
92 void (*dom_init)(void); /* initialize domain data structures */
98 struct domain *dom_next;
106 lck_mtx_t *dom_mtx; /* domain global mutex */
108 void *dom_mtx; /* domain global mutex */
117 extern struct domain *domains;
118 extern struct domain localdomai
[all...]
H A Dsys_domain.h105 extern struct domain systemdomain;
107 /* built in system domain protocols init function */
H A Dkpi_socket.h341 @param domain The socket domain (PF_INET, etc...).
350 extern errno_t sock_socket(int domain, int type, int protocol,
425 @param domain The domain of the socket (PF_INET, ...). May be NULL.
430 extern errno_t sock_gettype(socket_t so, int *domain, int *type, int *protocol);
H A Dprotosw.h125 struct domain *pr_domain; /* domain protocol a member of */
168 struct protosw *pr_next; /* Chain for domain */
429 extern int net_add_proto(struct protosw *, struct domain *);
430 extern int net_del_proto(int, int, struct domain *);
H A Dkpi_socketfilter.h111 bound state (only for PF_INET/PF_INET6 domain).
546 desciption of domain, type, and protocol.
548 @param domain The protocol domain these filters will be attached to.
553 extern errno_t sflt_register(const struct sflt_filter *filter, int domain,
H A DMakefile35 _select.h _structs.h _types.h _endian.h domain.h protosw.h \
79 _select.h _structs.h _types.h _endian.h protosw.h domain.h \
/darwin-on-arm/xnu/bsd/kern/
H A Dsys_domain.c36 #include <sys/domain.h>
41 /* domain init function */
44 struct domain systemdomain =
51 /* add system domain built in protocol initializers here */
H A Duipc_domain.c67 #include <sys/domain.h>
82 void init_domain(struct domain *dp) __attribute__((section("__TEXT, initcode")));
83 void prepend_domain(struct domain *dp) __attribute__((section("__TEXT, initcode")));
89 struct domain *pffinddomain(int);
93 * Add/delete 'domain': Link structure into system list,
94 * invoke the domain init, and then the proto inits.
120 init_domain(struct domain *dp)
125 printf("init_domain: can't init domain mtx for domain=%s\n", dp->dom_name);
132 /* and then init the currently installed protos in this domain */
[all...]
H A Duipc_proto.c68 #include <sys/domain.h>
75 * Definitions of protocols supported in the UNIX domain.
115 struct domain *dp = &localdomain;
122 struct domain localdomain = {
131 SYSCTL_NODE(_net, PF_LOCAL, local, CTLFLAG_RW|CTLFLAG_LOCKED, NULL, "Local domain");
H A Dsocket_info.c38 #include <sys/domain.h>
40 #include <sys/domain.h>
H A Dkpi_socketfilter.c36 #include <sys/domain.h>
1118 int domain,
1125 struct protosw *pr = pffindproto(domain, protocol, type);
1208 !INP_CHECK_SOCKAF(so, domain) ||
1224 !INP_CHECK_SOCKAF(so, domain) ||
1116 sflt_register( const struct sflt_filter *filter, int domain, int type, int protocol) argument
/darwin-on-arm/xnu/libsyscall/wrappers/legacy/
H A Dsocketpair.c47 socketpair(int domain, int type, int protocol, int socket_vector[2]) argument
49 int ret = __socketpair(domain, type, protocol, socket_vector);
/darwin-on-arm/xnu/bsd/netat/
H A Daurp_tx.c71 struct aurp_domain *domain; local
75 /* Add the domain header */
84 domain = (struct aurp_domain *)gbuf_rptr(m);
85 domain->dst_length = IP_LENGTH;
86 domain->dst_authority = IP_AUTHORITY;
87 domain->dst_distinguisher = IP_DISTINGUISHER;
88 domain->src_length = IP_LENGTH;
89 domain->src_authority = IP_AUTHORITY;
90 domain->src_distinguisher = IP_DISTINGUISHER;
91 domain
[all...]
H A Dat_proto.c43 #include <sys/domain.h>
70 extern struct domain atalkdomain;
84 struct domain atalkdomain =
95 0, /* domain global mutex */
96 0, /* domain flags */
100 struct domain * atalkdom = &atalkdomain;
H A Daurp_aurpd.c260 * domain header.
355 register aurp_domain_t *domain; local
375 /* validate the domain */
376 domain = (aurp_domain_t *)gbuf_rptr(p_mbuf);
377 if ( (domain->dst_length != IP_LENGTH) ||
378 (domain->dst_authority != IP_AUTHORITY) ||
379 (domain->version != AUD_Version) ||
380 ((domain->type != AUD_Atalk) && (domain->type != AUD_AURP)) ) {
382 ("AURPrecv: invalid domain,
410 { register aurp_domain_t *domain; local
[all...]
/darwin-on-arm/xnu/bsd/conf/
H A Dparam.c77 #include <sys/domain.h>
124 struct domain *domains;
/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6protosw.h114 struct domain;
156 struct domain *pr_domain; /* domain protocol a member of */
202 struct ip6protosw *pr_next; /* Chain for domain */
H A Ddest6.c37 #include <sys/domain.h>
H A Din6_proto.c102 #include <sys/domain.h>
165 extern struct domain inet6domain;
342 struct domain inet6domain =
352 /* Initialize the PF_INET6 domain, and add in the pre-defined protos */
358 register struct domain *dp;
/darwin-on-arm/xnu/bsd/net/
H A Dkpi_protocol.c36 #include <sys/domain.h>
49 struct domain *domain; member in struct:proto_input_entry
125 struct domain *dp = domains;
143 entry->domain = dp;
241 if (entry->domain != NULL && !(entry->domain->
243 lck_mtx_lock(entry->domain->dom_mtx);
265 lck_mtx_unlock(entry->domain->dom_mtx);
284 if (entry->domain
[all...]
H A Draw_cb.c67 #include <sys/domain.h>
H A Draw_usrreq.c68 #include <sys/domain.h>
/darwin-on-arm/xnu/bsd/netinet/
H A Din_proto.c66 #include <sys/domain.h>
108 extern struct domain inetdomain;
275 struct domain inetdomain =
/darwin-on-arm/xnu/bsd/netkey/
H A Dkeysock.c43 #include <sys/domain.h>
509 * Definitions of protocols supported in the KEY domain.
512 extern struct domain keydomain;
526 struct domain keydomain = { PF_KEY, "key", key_domain_init, NULL, NULL,
/darwin-on-arm/xnu/security/
H A Dmac_socket.c524 mac_socket_check_create(kauth_cred_t cred, int domain, int type, int protocol) argument
531 MAC_CHECK(socket_check_create, cred, domain, type, protocol);

Completed in 175 milliseconds

1234