| /xnu-8019.80.24/bsd/kern/ |
| H A D | uipc_domain.c | 87 static void pr_init_old(struct protosw *, struct domain *); 88 static void init_proto(struct protosw *, struct domain *); 89 static void attach_proto(struct protosw *, struct domain *); 90 static void detach_proto(struct protosw *, struct domain *); 95 static struct protosw *pffindprotonotype_locked(int, int, int); 127 pr_init_old(struct protosw *pp, struct domain *dp) in pr_init_old() 139 init_proto(struct protosw *pp, struct domain *dp) in init_proto() 153 attach_proto(struct protosw *pp, struct domain *dp) in attach_proto() 170 detach_proto(struct protosw *pp, struct domain *dp) in detach_proto() 345 struct protosw *pp1, *pp2; in net_del_domain_old() [all …]
|
| H A D | uipc_proto.c | 83 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 D | vsock_domain.c | 1368 vsock_init(struct protosw *pp, struct domain *dp) in vsock_init() 1387 static struct protosw vsocksw[] = { 1397 static const int vsock_proto_count = (sizeof(vsocksw) / sizeof(struct protosw)); 1413 net_add_proto((struct protosw *)&vsocksw[i], dp, 1); in vsock_dinit()
|
| H A D | kpi_socketfilter.c | 92 struct protosw *sf_proto; 458 struct protosw *proto = so->so_proto->pr_protosw; in sflt_initsock() 1327 struct protosw *pr; in sflt_register_common()
|
| H A D | kern_control.c | 184 static struct protosw kctlsw[] = { 266 struct protosw *pr; in kern_control_init() 268 int kctl_proto_count = (sizeof(kctlsw) / sizeof(struct protosw)); in kern_control_init()
|
| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | in6_proto.c | 356 _CASSERT(sizeof(struct protosw) == sizeof(struct ip6protosw)); in in6_dinit() 358 offsetof(struct protosw, pr_entry)); in in6_dinit() 360 offsetof(struct protosw, pr_domain)); in in6_dinit() 362 offsetof(struct protosw, pr_protosw)); in in6_dinit() 364 offsetof(struct protosw, pr_type)); in in6_dinit() 366 offsetof(struct protosw, pr_protocol)); in in6_dinit() 368 offsetof(struct protosw, pr_flags)); in in6_dinit() 370 offsetof(struct protosw, pr_input)); in in6_dinit() 372 offsetof(struct protosw, pr_output)); in in6_dinit() 374 offsetof(struct protosw, pr_ctlinput)); in in6_dinit() [all …]
|
| H A D | ip6protosw.h | 158 struct protosw *pr_protosw; /* pointer to self */
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | protosw.h | 168 struct protosw { 216 struct protosw *pr_next; /* chain for domain */ 253 struct protosw { struct 254 TAILQ_ENTRY(protosw) pr_entry; /* chain for domain */ 256 struct protosw *pr_protosw; /* pointer to self */ argument 279 (struct protosw *, struct domain *); argument 608 extern struct protosw *pffindproto_locked(int, int, int); 609 extern struct protosw *pffindprotonotype(int, int); 610 extern struct protosw *pffindtype(int, int); 612 extern int net_add_proto(struct protosw *, struct domain *, int) [all …]
|
| H A D | domain.h | 110 struct protosw *dom_protosw; /* Chain of protosw's for AF */ 140 TAILQ_HEAD(, protosw) dom_protosw; /* protosw chain */
|
| H A D | Makefile | 48 _select.h _structs.h _types.h _endian.h domain.h protosw.h \ 158 _select.h _structs.h _types.h _endian.h protosw.h domain.h \
|
| H A D | socketvar.h | 98 struct protosw; 138 struct protosw *so_proto; /* protocol handle */
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | ip_encap.h | 72 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 D | ip_var.h | 308 extern struct protosw *ip_protox[]; 318 struct protosw; 324 extern void ip_init(struct protosw *, struct domain *); 346 extern void rip_init(struct protosw *, struct domain *);
|
| H A D | in_proto.c | 118 static struct protosw inetsw[] = { 272 static int in_proto_count = (sizeof(inetsw) / sizeof(struct protosw)); 289 struct protosw *pr; in in_dinit()
|
| H A D | ip_encap.c | 135 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 D | mp_proto.c | 45 static struct protosw mpsw = {
|
| H A D | udp_var.h | 168 extern void udp_init(struct protosw *, struct domain *);
|
| H A D | igmp_var.h | 322 extern void igmp_init(struct protosw *, struct domain *);
|
| H A D | mptcp_var.h | 575 extern void mptcp_init(struct protosw *, struct domain *);
|
| H A D | tcp_var.h | 1576 struct protosw; 1598 void tcp_init(struct protosw *, struct domain *);
|
| /xnu-8019.80.24/bsd/netkey/ |
| H A D | keysock.c | 88 extern void key_init(struct protosw *, struct domain *); 556 static struct protosw keysw[] = { 568 static int key_proto_count = (sizeof(keysw) / sizeof(struct protosw)); 580 struct protosw *pr; in key_dinit()
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | ndrv.c | 1069 static struct protosw ndrvsw[] = { 1080 static int ndrv_proto_count = (sizeof(ndrvsw) / sizeof(struct protosw)); 1091 struct protosw *pr; in ndrv_dominit()
|
| H A D | if_gif.c | 131 static struct protosw in_gif_protosw = 374 gif_encapcheck, (struct protosw *)&in6_gif_protosw, sc); in gif_clone_create()
|
| H A D | if_stf.c | 173 static struct protosw in_stf_protosw =
|
| /xnu-8019.80.24/bsd/skywalk/namespace/ |
| H A D | protons.c | 244 struct protosw *pp = NULL; in protons_init_netinet_protocol()
|