/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_proto.c | 93 .pr_type = SOCK_DGRAM, 133 SYSCTL_NODE(_net_local, SOCK_DGRAM, dgram, CTLFLAG_RW|CTLFLAG_LOCKED, NULL, "SOCK_DGRAM");
|
H A D | uipc_usrreq.c | 357 case SOCK_DGRAM: 439 case SOCK_DGRAM: 469 * for the SOCK_DGRAM case when the receiver's queue overflows. 781 case SOCK_DGRAM: 804 LIST_INSERT_HEAD(so->so_type == SOCK_DGRAM ? 819 * hiwat during each send. This doesn't affect the SOCK_DGRAM 1122 * XXX - probably shouldn't return an error for SOCK_DGRAM 1237 * This is possible only for SOCK_DGRAM sockets. We refuse 1283 case SOCK_DGRAM: 1427 case SOCK_DGRAM [all...] |
H A D | kern_control.c | 114 SOCK_DGRAM, &systemdomain, SYSPROTO_CONTROL, 306 (!(kctl->flags & CTL_FLAG_REG_SOCK_STREAM) && (so->so_type != SOCK_DGRAM))) {
|
H A D | netboot.c | 636 if ((error = socreate(AF_INET, &so, SOCK_DGRAM, 0)) != 0) {
|
H A D | uipc_syscalls.c | 608 dgram = (so->so_type == SOCK_DGRAM); 736 if (uap->type == SOCK_DGRAM) {
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsm_socket_type.c | 48 { BSM_SOCK_DGRAM, SOCK_DGRAM },
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_proto.c | 123 { SOCK_DGRAM, &inetdomain, IPPROTO_UDP, PR_ATOMIC|PR_ADDR|PR_PROTOLOCK|PR_PCBLOCK, 156 { SOCK_DGRAM, &inetdomain, IPPROTO_ICMP, PR_ATOMIC|PR_ADDR|PR_LASTHDR,
|
H A D | in_dhcp.c | 849 error = socreate(AF_INET, &context->so, SOCK_DGRAM, 0);
|
H A D | in_mcast.c | 1854 * If socket is neither of type SOCK_RAW or SOCK_DGRAM, 1859 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { 2882 * If socket is neither of type SOCK_RAW or SOCK_DGRAM, 2887 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM))
|
H A D | in.c | 1201 if (so->so_type == SOCK_DGRAM)
|
H A D | udp_usrreq.c | 798 if (mac_inpcb_check_deliver(last, n, AF_INET, SOCK_DGRAM) != 0) {
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_proto.c | 187 { SOCK_DGRAM, &inet6domain, IPPROTO_UDP, PR_ATOMIC|PR_ADDR|PR_PROTOLOCK|PR_PCBLOCK, 227 { SOCK_DGRAM, &inet6domain, IPPROTO_ICMPV6, PR_ATOMIC|PR_ADDR|PR_LASTHDR,
|
H A D | udp6_usrreq.c | 171 if (mac_inpcb_check_deliver(last, n, AF_INET6, SOCK_DGRAM) != 0) {
|
H A D | in6_mcast.c | 1786 * If socket is neither of type SOCK_RAW or SOCK_DGRAM, 1791 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { 2827 * If socket is neither of type SOCK_RAW or SOCK_DGRAM, 2832 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM))
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | krpc_subr.c | 187 error = krpc_call(sin, SOCK_DGRAM, PMAPPROG, PMAPVERS, PMAPPROC_GETPORT, &m, NULL); 255 if (from_p && (sotype == SOCK_DGRAM)) {
|
H A D | nfs_vfsops.c | 926 sotype = SOCK_DGRAM; 935 sotype = SOCK_DGRAM; 976 sotype = SOCK_DGRAM; 985 sotype = SOCK_DGRAM; 1117 xb_add_string(error, &xb, ((ndmntp->ndm_sotype == SOCK_DGRAM) ? "udp" : "tcp"), 3); 1378 xb_add_string(error, &xb, ((ndmntp->ndm_sotype == SOCK_DGRAM) ? "udp" : "tcp"), 3); 1741 xb_add_string(error, &xb, ((args.sotype == SOCK_DGRAM) ? "udp" : "tcp"), 3); 2853 nmp->nm_sotype = SOCK_DGRAM; 2858 nmp->nm_sotype = SOCK_DGRAM; 2864 nmp->nm_sotype = SOCK_DGRAM; [all...] |
H A D | nfs_boot.c | 495 error = krpc_call(bpsin, SOCK_DGRAM, PMAPPROG, PMAPVERS, PMAPPROC_CALLIT, &m, &sin); 622 error = krpc_call(bpsin, SOCK_DGRAM, BOOTPARAM_PROG, BOOTPARAM_VERS,
|
H A D | nfs_socket.c | 601 if (nso->nso_sotype == SOCK_DGRAM) { /* set socket buffer sizes for UDP */ 811 ((nso->nso_sotype == SOCK_DGRAM) && (now.tv_sec >= nso->nso_reqtimestamp+2))) { 1068 sotype = SOCK_DGRAM; 1122 (nso->nso_sotype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP, timeo); 1135 (nso->nso_sotype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP, timeo); 1183 int mntproto = (NM_OMFLAG(nmp, MNTUDP) || (nso->nso_sotype == SOCK_DGRAM)) ? IPPROTO_UDP : IPPROTO_TCP; 1234 int mntproto = (NM_OMFLAG(nmp, MNTUDP) || (nso->nso_sotype == SOCK_DGRAM)) ? IPPROTO_UDP : IPPROTO_TCP; 1382 if (nso->nso_sotype == SOCK_DGRAM) { 2892 if (sotype == SOCK_DGRAM) { 3003 if (sotype == SOCK_DGRAM) { [all...] |
H A D | nfs_lock.c | 429 if (nmp->nm_sotype != SOCK_DGRAM)
|
H A D | nfs_syscalls.c | 760 if (sotype == SOCK_DGRAM) { /* set socket buffer sizes for UDP */
|
H A D | nfs_serv.c | 4580 if (slp->ns_sotype == SOCK_DGRAM) {
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | aurp_aurpd.c | 119 error = socreate(AF_INET, &aurp_global.tunnel, SOCK_DGRAM,
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | socket.h | 166 #define SOCK_DGRAM 2 /* datagram socket */ macro
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_utun.c | 358 result = sock_socket(protocol, SOCK_DGRAM, 0, NULL, NULL, &pf_socket);
|
H A D | dlil.c | 3107 type = SOCK_DGRAM; 3118 type = SOCK_DGRAM;
|