Searched refs:SOCK_DGRAM (Results 1 - 25 of 25) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Duipc_proto.c93 .pr_type = SOCK_DGRAM,
133 SYSCTL_NODE(_net_local, SOCK_DGRAM, dgram, CTLFLAG_RW|CTLFLAG_LOCKED, NULL, "SOCK_DGRAM");
H A Duipc_usrreq.c357 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 Dkern_control.c114 SOCK_DGRAM, &systemdomain, SYSPROTO_CONTROL,
306 (!(kctl->flags & CTL_FLAG_REG_SOCK_STREAM) && (so->so_type != SOCK_DGRAM))) {
H A Dnetboot.c636 if ((error = socreate(AF_INET, &so, SOCK_DGRAM, 0)) != 0) {
H A Duipc_syscalls.c608 dgram = (so->so_type == SOCK_DGRAM);
736 if (uap->type == SOCK_DGRAM) {
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsm_socket_type.c48 { BSM_SOCK_DGRAM, SOCK_DGRAM },
/darwin-on-arm/xnu/bsd/netinet/
H A Din_proto.c123 { 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 Din_dhcp.c849 error = socreate(AF_INET, &context->so, SOCK_DGRAM, 0);
H A Din_mcast.c1854 * 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 Din.c1201 if (so->so_type == SOCK_DGRAM)
H A Dudp_usrreq.c798 if (mac_inpcb_check_deliver(last, n, AF_INET, SOCK_DGRAM) != 0) {
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_proto.c187 { 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 Dudp6_usrreq.c171 if (mac_inpcb_check_deliver(last, n, AF_INET6, SOCK_DGRAM) != 0) {
H A Din6_mcast.c1786 * 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 Dkrpc_subr.c187 error = krpc_call(sin, SOCK_DGRAM, PMAPPROG, PMAPVERS, PMAPPROC_GETPORT, &m, NULL);
255 if (from_p && (sotype == SOCK_DGRAM)) {
H A Dnfs_vfsops.c926 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 Dnfs_boot.c495 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 Dnfs_socket.c601 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 Dnfs_lock.c429 if (nmp->nm_sotype != SOCK_DGRAM)
H A Dnfs_syscalls.c760 if (sotype == SOCK_DGRAM) { /* set socket buffer sizes for UDP */
H A Dnfs_serv.c4580 if (slp->ns_sotype == SOCK_DGRAM) {
/darwin-on-arm/xnu/bsd/netat/
H A Daurp_aurpd.c119 error = socreate(AF_INET, &aurp_global.tunnel, SOCK_DGRAM,
/darwin-on-arm/xnu/bsd/sys/
H A Dsocket.h166 #define SOCK_DGRAM 2 /* datagram socket */ macro
/darwin-on-arm/xnu/bsd/net/
H A Dif_utun.c358 result = sock_socket(protocol, SOCK_DGRAM, 0, NULL, NULL, &pf_socket);
H A Ddlil.c3107 type = SOCK_DGRAM;
3118 type = SOCK_DGRAM;

Completed in 234 milliseconds