Home
last modified time | relevance | path

Searched refs:protosw (Results 1 – 25 of 37) sorted by relevance

12

/xnu-10002.41.9/bsd/kern/
H A Duipc_domain.c92 static void pr_init_old(struct protosw *, struct domain *);
93 static void init_proto(struct protosw *, struct domain *);
94 static void attach_proto(struct protosw *, struct domain *);
95 static void detach_proto(struct protosw *, struct domain *);
100 static struct protosw *pffindprotonotype_locked(int, int, int);
132 pr_init_old(struct protosw *pp, struct domain *dp) in pr_init_old()
144 init_proto(struct protosw *pp, struct domain *dp) in init_proto()
158 attach_proto(struct protosw *pp, struct domain *dp) in attach_proto()
175 detach_proto(struct protosw *pp, struct domain *dp) in detach_proto()
350 struct protosw *pp1 __single, *pp2 __single; in net_del_domain_old()
[all …]
H A Duipc_proto.c83 static struct protosw localsw[] = {
108 static int local_proto_count = (sizeof(localsw) / sizeof(struct protosw));
113 struct protosw *pr; in pre_unp_init()
H A Dvsock_domain.c1398 vsock_init(struct protosw *pp, struct domain *dp) in vsock_init()
1417 static struct protosw vsocksw[] = {
1427 static const int vsock_proto_count = (sizeof(vsocksw) / sizeof(struct protosw));
1443 net_add_proto((struct protosw *)&vsocksw[i], dp, 1); in vsock_dinit()
H A Dkpi_socketfilter.c92 struct protosw *sf_proto;
451 struct protosw *proto = so->so_proto->pr_protosw; in sflt_initsock()
1332 struct protosw *pr; in sflt_register_common()
H A Dkern_control.c182 static struct protosw kctlsw[] = {
268 struct protosw *pr; in kern_control_init()
270 int kctl_proto_count = (sizeof(kctlsw) / sizeof(struct protosw)); in kern_control_init()
/xnu-10002.41.9/bsd/netinet6/
H A Din6_proto.c357 _CASSERT(sizeof(struct protosw) == sizeof(struct ip6protosw)); in in6_dinit()
359 offsetof(struct protosw, pr_entry)); in in6_dinit()
361 offsetof(struct protosw, pr_domain)); in in6_dinit()
363 offsetof(struct protosw, pr_protosw)); in in6_dinit()
365 offsetof(struct protosw, pr_type)); in in6_dinit()
367 offsetof(struct protosw, pr_protocol)); in in6_dinit()
369 offsetof(struct protosw, pr_flags)); in in6_dinit()
371 offsetof(struct protosw, pr_input)); in in6_dinit()
373 offsetof(struct protosw, pr_output)); in in6_dinit()
375 offsetof(struct protosw, pr_ctlinput)); in in6_dinit()
[all …]
H A Dip6protosw.h158 struct protosw *pr_protosw; /* pointer to self */
/xnu-10002.41.9/bsd/netinet/
H A Dip_encap.h72 const struct protosw *psw; /* only pr_input will be used */
76 struct protosw;
85 const struct sockaddr *, const struct protosw *, void *);
88 const struct protosw *, void *);
H A Dip_var.h350 extern struct protosw *ip_protox[];
360 struct protosw;
366 extern void ip_init(struct protosw *, struct domain *);
388 extern void rip_init(struct protosw *, struct domain *);
H A Din_proto.c118 static struct protosw inetsw[] = {
272 static int in_proto_count = (sizeof(inetsw) / sizeof(struct protosw));
289 struct protosw *pr; in in_dinit()
H A Dip_encap.c135 const struct protosw *psw; in encap4_input()
210 psw = (const struct protosw *)match->psw; in encap4_input()
321 const struct sockaddr *dm, const struct protosw *psw, void *arg) in encap_attach()
394 const struct protosw *psw, void *arg) in encap_attach_func()
H A Dmp_proto.c45 static struct protosw mpsw = {
H A Dudp_var.h168 extern void udp_init(struct protosw *, struct domain *);
H A Digmp_var.h323 extern void igmp_init(struct protosw *, struct domain *);
H A Dmptcp_var.h548 extern void mptcp_init(struct protosw *, struct domain *);
H A Dtcp_var.h1652 struct protosw;
1675 void tcp_init(struct protosw *, struct domain *);
/xnu-10002.41.9/bsd/sys/
H A Dprotosw.h170 struct protosw {
218 struct protosw *pr_next; /* chain for domain */
255 struct protosw { struct
256 TAILQ_ENTRY(protosw) pr_entry; /* chain for domain */
258 struct protosw *pr_protosw; /* pointer to self */ argument
281 (struct protosw *, struct domain *); argument
605 extern struct protosw *pffindproto_locked(int, int, int);
606 extern struct protosw *pffindprotonotype(int, int);
607 extern struct protosw *pffindtype(int, int);
609 extern int net_add_proto(struct protosw *, struct domain *, int)
[all …]
H A Ddomain.h110 struct protosw *dom_protosw; /* Chain of protosw's for AF */
140 TAILQ_HEAD(, protosw) dom_protosw; /* protosw chain */
H A DMakefile48 _select.h _structs.h _types.h _endian.h domain.h protosw.h \
164 _select.h _structs.h _types.h _endian.h protosw.h domain.h \
H A Dsocketvar.h99 struct protosw;
139 struct protosw *so_proto; /* protocol handle */
/xnu-10002.41.9/bsd/netkey/
H A Dkeysock.c88 extern void key_init(struct protosw *, struct domain *);
554 static struct protosw keysw[] = {
566 static int key_proto_count = (sizeof(keysw) / sizeof(struct protosw));
578 struct protosw *pr; in key_dinit()
/xnu-10002.41.9/bsd/net/
H A Dndrv.c1106 static struct protosw ndrvsw[] = {
1117 static int ndrv_proto_count = (sizeof(ndrvsw) / sizeof(struct protosw));
1128 struct protosw *pr; in ndrv_dominit()
H A Dif_gif.c131 static struct protosw in_gif_protosw =
368 gif_encapcheck, (struct protosw *)&in6_gif_protosw, sc); in gif_clone_create()
H A Dif_stf.c173 static struct protosw in_stf_protosw =
/xnu-10002.41.9/bsd/skywalk/namespace/
H A Dprotons.c243 struct protosw *pp = NULL; in protons_init_netinet_protocol()

12