| /xnu-12377.41.6/bsd/kern/ |
| H A D | uipc_domain.c | 96 static void pr_init_old(struct protosw *, struct domain *); 97 static void init_proto(struct protosw *, struct domain *); 98 static void attach_proto(struct protosw *, struct domain *); 99 static void detach_proto(struct protosw *, struct domain *); 104 static struct protosw *pffindprotonotype_locked(int, int, int); 137 pr_init_old(struct protosw *pp, struct domain *dp) in pr_init_old() 149 init_proto(struct protosw *pp, struct domain *dp) in init_proto() 163 attach_proto(struct protosw *pp, struct domain *dp) in attach_proto() 180 detach_proto(struct protosw *pp, struct domain *dp) in detach_proto() 355 struct protosw *pp1 __single, *pp2 __single; in net_del_domain_old() [all …]
|
| H A D | uipc_domain.h | 36 proto_memacct_add(struct protosw *proto, unsigned int size) in proto_memacct_add() 46 proto_memacct_sub(struct protosw *proto, unsigned int size) in proto_memacct_sub() 56 proto_memacct_hardlimit(const struct protosw *proto) in proto_memacct_hardlimit() 66 proto_memacct_limited(const struct protosw *proto) in proto_memacct_limited()
|
| 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 | 1510 common_vsock_init(struct protosw *pp, struct domain *dp, uint16_t protocol, lck_grp_t *lock_group) in common_vsock_init() 1530 vsock_init(struct protosw *pp, struct domain *dp) in vsock_init() 1537 vsock_private_init(struct protosw *pp, struct domain *dp) in vsock_private_init() 1590 static struct protosw vsocksw[VSOCK_PROTO_MAX] = { 1609 static const int vsock_proto_count = (sizeof(vsocksw) / sizeof(struct protosw)); 1631 net_add_proto((struct protosw *)&vsocksw[i], dp, 1); in vsock_dinit()
|
| H A D | kpi_socketfilter.c | 94 struct protosw *sf_proto; 453 struct protosw *__single proto = so->so_proto->pr_protosw; in sflt_initsock() 1336 struct protosw *__single pr; in sflt_register_common()
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | in6_proto.c | 354 static_assert(sizeof(struct protosw) == sizeof(struct ip6protosw)); in in6_dinit() 355 static_assert(offsetof(struct ip6protosw, pr_entry) == offsetof(struct protosw, pr_entry)); in in6_dinit() 356 static_assert(offsetof(struct ip6protosw, pr_domain) == offsetof(struct protosw, pr_domain)); in in6_dinit() 357 static_assert(offsetof(struct ip6protosw, pr_protosw) == offsetof(struct protosw, pr_protosw)); in in6_dinit() 358 static_assert(offsetof(struct ip6protosw, pr_type) == offsetof(struct protosw, pr_type)); in in6_dinit() 359 static_assert(offsetof(struct ip6protosw, pr_protocol) == offsetof(struct protosw, pr_protocol)); in in6_dinit() 360 static_assert(offsetof(struct ip6protosw, pr_flags) == offsetof(struct protosw, pr_flags)); in in6_dinit() 361 static_assert(offsetof(struct ip6protosw, pr_input) == offsetof(struct protosw, pr_input)); in in6_dinit() 362 static_assert(offsetof(struct ip6protosw, pr_output) == offsetof(struct protosw, pr_output)); in in6_dinit() 363 static_assert(offsetof(struct ip6protosw, pr_ctlinput) == offsetof(struct protosw, pr_ctlinput)); in in6_dinit() [all …]
|
| H A D | ip6protosw.h | 158 struct protosw *pr_protosw; /* pointer to self */ 182 (struct protosw *, struct domain *);
|
| H A D | ip6_var.h | 531 extern void ip6_init(struct protosw *, struct domain *);
|
| /xnu-12377.41.6/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 | 356 extern struct protosw *ip_protox[IPPROTO_MAX]; 366 struct protosw; 373 extern void ip_init(struct protosw *, struct domain *); 395 extern void rip_init(struct protosw *, struct domain *);
|
| H A D | in_proto.c | 117 static struct protosw inetsw[] = { 271 static int in_proto_count = (sizeof(inetsw) / sizeof(struct protosw)); 288 struct protosw *pr; in in_dinit()
|
| H A D | ip_encap.c | 136 const struct protosw *psw; in encap4_input() 210 psw = (const struct protosw *)match->psw; in encap4_input() 320 const struct sockaddr *dm, const struct protosw *psw, void *arg) in encap_attach() 393 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 | 187 extern void udp_init(struct protosw *, struct domain *);
|
| H A D | igmp_var.h | 323 extern void igmp_init(struct protosw *, struct domain *);
|
| H A D | tcp_var.h | 1815 extern struct tseg_qent *tcp_reass_qent_alloc(struct protosw *proto); 1816 extern void tcp_reass_qent_free(struct protosw *proto, struct tseg_qent *te); 1822 struct protosw; 1847 void tcp_init(struct protosw *, struct domain *);
|
| H A D | icmp6.h | 785 void icmp6_init(struct protosw *, struct domain *);
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | protosw.h | 170 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 601 extern struct protosw *pffindproto_locked(int, int, int); 602 extern struct protosw *pffindprotonotype(int, int); 603 extern struct protosw *pffindtype(int, int); 605 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 | 18 kern_control.h kern_event.h kernel_types.h proc_info.h protosw.h reboot.h sys_domain.h ttychars.h \ 171 _select.h _structs.h _types.h _endian.h __endian.h protosw.h domain.h \
|
| H A D | socketvar.h | 99 struct protosw; 141 struct protosw *so_proto; /* protocol handle */
|
| /xnu-12377.41.6/bsd/netkey/ |
| H A D | keysock.c | 89 extern void key_init(struct protosw *, struct domain *); 555 static struct protosw keysw[] = { 567 static int key_proto_count = (sizeof(keysw) / sizeof(struct protosw)); 579 struct protosw *pr; in key_dinit()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | ndrv.c | 1142 static struct protosw ndrvsw[] = { 1153 static int ndrv_proto_count = (sizeof(ndrvsw) / sizeof(struct protosw)); 1164 struct protosw *pr; in ndrv_dominit()
|
| H A D | if_gif.c | 133 static struct protosw in_gif_protosw = 370 gif_encapcheck, (struct protosw *)&in6_gif_protosw, sc); in gif_clone_create()
|
| /xnu-12377.41.6/bsd/skywalk/namespace/ |
| H A D | protons.c | 244 struct protosw *pp = NULL; in protons_init_netinet_protocol()
|