/darwin-on-arm/xnu/bsd/sys/ |
H A D | domain.h | 62 * @(#)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 D | sys_domain.h | 105 extern struct domain systemdomain; 107 /* built in system domain protocols init function */
|
H A D | kpi_socket.h | 341 @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 D | protosw.h | 125 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 D | kpi_socketfilter.h | 111 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 D | Makefile | 35 _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 D | sys_domain.c | 36 #include <sys/domain.h> 41 /* domain init function */ 44 struct domain systemdomain = 51 /* add system domain built in protocol initializers here */
|
H A D | uipc_domain.c | 67 #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 D | uipc_proto.c | 68 #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 D | socket_info.c | 38 #include <sys/domain.h> 40 #include <sys/domain.h>
|
H A D | kpi_socketfilter.c | 36 #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 D | socketpair.c | 47 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 D | aurp_tx.c | 71 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 D | at_proto.c | 43 #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 D | aurp_aurpd.c | 260 * 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 D | param.c | 77 #include <sys/domain.h> 124 struct domain *domains;
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ip6protosw.h | 114 struct domain; 156 struct domain *pr_domain; /* domain protocol a member of */ 202 struct ip6protosw *pr_next; /* Chain for domain */
|
H A D | dest6.c | 37 #include <sys/domain.h>
|
H A D | in6_proto.c | 102 #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 D | kpi_protocol.c | 36 #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 D | raw_cb.c | 67 #include <sys/domain.h>
|
H A D | raw_usrreq.c | 68 #include <sys/domain.h>
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_proto.c | 66 #include <sys/domain.h> 108 extern struct domain inetdomain; 275 struct domain inetdomain =
|
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | keysock.c | 43 #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 D | mac_socket.c | 524 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);
|