Home
last modified time | relevance | path

Searched refs:PF_UNIX (Results 1 – 25 of 40) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair01.c35 {PF_UNIX, SOCK_DGRAM, 0, fds, 0, 0, "UNIX domain dgram"},
38 {PF_UNIX, SOCK_STREAM, 0, 0, -1, EFAULT, "bad aligned pointer"},
39 {PF_UNIX, SOCK_STREAM, 0, (int *)7, -1, EFAULT, "bad unaligned pointer"},
Dsocketpair02.c45 TEST(socketpair(PF_UNIX, tc->type, 0, fds)); in verify_socketpair()
/external/ltp/testcases/kernel/syscalls/bind/
Dbind03.c30 sock1 = SAFE_SOCKET(PF_UNIX, SOCK_STREAM, 0); in run()
66 sock2 = SAFE_SOCKET(PF_UNIX, SOCK_STREAM, 0); in run()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c152 PF_UNIX, SOCK_STREAM, 0, iov, 1, (void *)buf, sizeof(buf),
172 PF_UNIX, SOCK_STREAM, 0, iov, 1, (void *)buf, sizeof(buf),
178 PF_UNIX, SOCK_STREAM, 0, iov, 1, (void *)buf, sizeof(buf),
313 } else if (tdat[testno].domain == PF_UNIX) { in setup1()
389 ufd = socket(PF_UNIX, SOCK_STREAM, 0); in start_server()
/external/python/cpython2/Lib/plat-atheos/
DIN.py385 PF_UNIX = PF_LOCAL variable
412 AF_UNIX = PF_UNIX
701 PF_UNIX = PF_LOCAL variable
728 AF_UNIX = PF_UNIX
753 PF_UNIX = 1 variable
754 AF_UNIX = PF_UNIX
/external/ltp/testcases/kernel/syscalls/socketcall/
Dsocketcall01.c31 {SYS_SOCKET, {PF_UNIX, SOCK_DGRAM, 0}, "unix domain dgram"},
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c290 {.domain = PF_UNIX,
324 {.domain = PF_UNIX,
341 {.domain = PF_UNIX,
448 ufd = socket(PF_UNIX, SOCK_DGRAM, 0); in start_server()
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket01.c33 {PF_UNIX, SOCK_DGRAM, 0, 0, 0, "UNIX domain dgram"},
/external/python/cpython2/Lib/plat-os2emx/
DSOCKET.py60 PF_UNIX = AF_UNIX variable
/external/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile07.c142 if (socketpair(PF_UNIX, SOCK_DGRAM, 0, p) < 0) { in setup()
/external/selinux/libselinux/src/
Dsetrans_client.c54 fd = socket(PF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0); in setransd_open()
58 fd = socket(PF_UNIX, SOCK_STREAM, 0); in setransd_open()
/external/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c162 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) < 0) { in setup4()
/external/python/cpython2/Lib/plat-linux2/
DIN.py361 PF_UNIX = PF_LOCAL variable
391 AF_UNIX = PF_UNIX
/external/openssh/openbsd-compat/
Dport-net.c264 if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) == -1) in sys_tun_open()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_privsep.c165 l2->fd = socket(PF_UNIX, SOCK_DGRAM, 0); in l2_packet_init()
/external/wpa_supplicant_8/src/drivers/
Ddriver_privsep.c726 drv->priv_socket = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_driver_privsep_set_param()
753 drv->cmd_socket = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_driver_privsep_set_param()
/external/selinux/mcstrans/src/
Dmcstransd.c483 sockfd = socket(PF_UNIX, SOCK_STREAM, 0); in initialize()
/external/virglrenderer/vtest/
Dvtest_server.c333 server.socket = socket(PF_UNIX, SOCK_STREAM, 0); in vtest_server_open_socket()
/external/libfuse/lib/
Dmount.c319 res = socketpair(PF_UNIX, SOCK_STREAM, 0, fds); in fuse_mount_fusermount()
/external/adhd/cras/src/server/
Dcras_server.c489 socket_fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in create_and_listen_server_socket()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_unix.c603 priv->sock = socket(PF_UNIX, SOCK_DGRAM, 0); in wpas_ctrl_iface_open_sock()
1212 priv->sock = socket(PF_UNIX, SOCK_DGRAM, 0); in wpas_global_ctrl_iface_open_sock()
/external/python/cpython2/Lib/plat-unixware7/
DIN.py293 PF_UNIX = AF_UNIX variable
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_socket.c201 sock = socket(PF_UNIX, SOCK_STREAM, 0); in virgl_vtest_connect()
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c117 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open2()
/external/openssh/
Dmisc.c1169 if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) == -1) in tun_open()
1626 sock = socket(PF_UNIX, SOCK_STREAM, 0); in unix_listener()

12