Home
last modified time | relevance | path

Searched refs:DTYPE_SOCKET (Results 1 – 11 of 11) sorted by relevance

/openbsd/sys/sys/
H A Dfile.h44 #define DTYPE_SOCKET 2 /* communications endpoint */ macro
/openbsd/sys/kern/
H A Dkern_pledge.c755 case DTYPE_SOCKET: in pledge_recvfd()
783 case DTYPE_SOCKET: in pledge_sendfd()
1084 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
1312 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
1324 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
1328 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
H A Duipc_syscalls.c112 fp->f_type = DTYPE_SOCKET; in sys_socket()
330 fp->f_type = DTYPE_SOCKET; in doaccept()
490 fp1->f_type = DTYPE_SOCKET; in sys_socketpair()
496 fp2->f_type = DTYPE_SOCKET; in sys_socketpair()
1415 if (fp->f_type != DTYPE_SOCKET) { in getsock()
1665 fp->f_type = DTYPE_SOCKET; in sys_ypconnect()
H A Dkern_sysctl.c1463 kf->f_type = DTYPE_SOCKET; in fill_file()
1496 case DTYPE_SOCKET: { in fill_file()
1728 if (arg == DTYPE_SOCKET) { in sysctl_file()
1746 if (arg == DTYPE_SOCKET && fp->f_type == arg) { in sysctl_file()
H A Dkern_descrip.c829 case DTYPE_SOCKET: in sys_fpathconf()
H A Dsys_generic.c431 if (fp->f_type == DTYPE_SOCKET) { in sys_ioctl()
H A Duipc_usrreq.c1033 if (fp->f_type != DTYPE_SOCKET) in fptounp()
/openbsd/usr.bin/fstat/
H A Dfstat.c406 case DTYPE_SOCKET: in fstat_dofile()
630 if (kf[i].f_type != DTYPE_SOCKET || in find_splices()
/openbsd/usr.bin/systat/
H A Dnetstat.c313 kf = kvm_getfiles(kd, KERN_FILE_BYFILE, DTYPE_SOCKET, in read_ns()
/openbsd/lib/libkvm/
H A Dkvm_file2.c546 case DTYPE_SOCKET: { in fill_file()
/openbsd/usr.bin/netstat/
H A Dinet.c150 kf = kvm_getfiles(kvmd, KERN_FILE_BYFILE, DTYPE_SOCKET, in protopr()