Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair01.c47 {PF_UNIX, SOCK_DGRAM, 0, fds, 0, 0, "UNIX domain dgram"},
50 {PF_UNIX, SOCK_STREAM, 0, 0, -1, EFAULT, "bad aligned pointer"},
51 {PF_UNIX, SOCK_STREAM, 0, (int *)7, -1, EFAULT, "bad unaligned pointer"},
Dsocketpair02.c57 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()
Dbind01.c96 PF_UNIX, SOCK_STREAM, 0, (struct sockaddr *)&sun1,
/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/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/socketcall/
Dsocketcall01.c43 {SYS_SOCKET, {PF_UNIX, SOCK_DGRAM, 0}, "unix domain dgram"},
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket01.c45 {PF_UNIX, SOCK_DGRAM, 0, 0, 0, "UNIX domain dgram"},
/external/python/cpython2/Lib/plat-os2emx/
DSOCKET.py60 PF_UNIX = AF_UNIX variable
/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/sendfile/
Dsendfile07.c142 if (socketpair(PF_UNIX, SOCK_DGRAM, 0, p) < 0) { in setup()
/external/python/cpython2/Lib/plat-linux2/
DIN.py361 PF_UNIX = PF_LOCAL variable
391 AF_UNIX = PF_UNIX
/external/virglrenderer/vtest/
Dvtest_server.c44 sock = socket(PF_UNIX, SOCK_STREAM, 0); in vtest_open_socket()
/external/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c162 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) < 0) { in setup4()
/external/openssh/openbsd-compat/
Dport-tun.c172 if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) == -1) in sys_tun_open()
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_socket.c109 sock = socket(PF_UNIX, SOCK_STREAM, 0); in virgl_vtest_connect()
/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.c720 drv->priv_socket = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_driver_privsep_set_param()
747 drv->cmd_socket = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_driver_privsep_set_param()
/external/openssh/
Dmisc.c755 if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) == -1) in tun_open()
1171 sock = socket(PF_UNIX, SOCK_STREAM, 0); in unix_listener()
/external/adhd/cras/src/server/
Dcras_server.c491 socket_fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in cras_server_run()
/external/selinux/mcstrans/src/
Dmcstransd.c483 sockfd = socket(PF_UNIX, SOCK_STREAM, 0); in initialize()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_unix.c593 priv->sock = socket(PF_UNIX, SOCK_DGRAM, 0); in wpas_ctrl_iface_open_sock()
1151 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/wpa_supplicant_8/src/common/
Dwpa_ctrl.c117 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open2()

12