Home
last modified time | relevance | path

Searched refs:getsockopt (Results 1 – 25 of 76) sorted by relevance

1234

/external/clang/test/Analysis/
Dpr_4164.c16 int getsockopt(int, int, int, void * restrict, socklen_t * restrict);
22 if (getsockopt(s, 0xffff, 0x1001, (char *)&size, &size_len) < 0) in test1()
/external/bluetooth/bluez/btio/
Dbtio.c155 if (getsockopt(sock, SOL_SOCKET, SO_ERROR, &err, &len) < 0) in connect_cb()
305 if (getsockopt(sock, SOL_L2CAP, L2CAP_LM, &flags, &len) < 0) in l2cap_set_master()
330 if (getsockopt(sock, SOL_RFCOMM, RFCOMM_LM, &flags, &len) < 0) in rfcomm_set_master()
442 if (getsockopt(sock, SOL_L2CAP, L2CAP_LM, &opt, &len) < 0) in l2cap_get_lm()
463 if (getsockopt(sock, SOL_RFCOMM, RFCOMM_LM, &opt, &len) < 0) in rfcomm_get_lm()
486 if (getsockopt(sock, SOL_BLUETOOTH, BT_POWER, &pwr, &len) == 0) { in get_force_active()
508 if (getsockopt(sock, SOL_BLUETOOTH, BT_SECURITY, &sec, &len) == 0) { in get_sec_level()
552 if (getsockopt(sock, SOL_L2CAP, L2CAP_OPTIONS, &l2o, in l2cap_set()
685 if (getsockopt(sock, SOL_SCO, SCO_OPTIONS, &sco_opt, &len) < 0) { in sco_set()
816 if (getsockopt(sock, SOL_L2CAP, L2CAP_CONNINFO, &info, &len) < 0) in l2cap_get_info()
[all …]
/external/libselinux/src/
Dgetpeercon.c26 ret = getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buf, &size); in getpeercon()
36 ret = getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buf, &size); in getpeercon()
/external/openssl/crypto/bio/
Dbss_dgram.c268 if (getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, in dgram_adjust_rcv_timeout()
277 if ( getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, in dgram_adjust_rcv_timeout()
580 if ((ret = getsockopt(b->num, IPPROTO_IP, IP_MTU, (void *)&sockopt_val, in dgram_ctrl()
596 if ((ret = getsockopt(b->num, IPPROTO_IPV6, IPV6_MTU, (void *)&sockopt_val, in dgram_ctrl()
734 if (getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, in dgram_ctrl()
745 if ( getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, in dgram_ctrl()
772 if (getsockopt(b->num, SOL_SOCKET, SO_SNDTIMEO, in dgram_ctrl()
783 if ( getsockopt(b->num, SOL_SOCKET, SO_SNDTIMEO, in dgram_ctrl()
872 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_LOCAL_AUTH_CHUNKS, authchunks, &sockopt_len); in BIO_new_dgram_sctp()
898 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, &sockopt_len); in BIO_new_dgram_sctp()
[all …]
/external/iptables/extensions/
Dlibxt_set.h27 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req_version, &size); in get_version()
47 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req, &size); in get_set_byid()
77 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req, &size); in get_set_byname()
/external/valgrind/main/memcheck/tests/
Dnull_socket.c17 if (-1 != getsockopt(0, 0, 0, NULL, 0)) in main()
/external/bluetooth/bluez/test/
Dscotest.c110 if (getsockopt(sk, SOL_SCO, SCO_CONNINFO, &conn, &optlen) < 0) { in do_connect()
186 if (getsockopt(nsk, SOL_SCO, SCO_CONNINFO, &conn, &optlen) < 0) { in do_listen()
264 if (getsockopt(sk, SOL_SCO, SCO_OPTIONS, &so, &len) < 0) { in send_mode()
Dl2test.c223 if (getsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &opts, &optlen) < 0) { in do_connect()
308 if (getsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &opts, &optlen) < 0) { in do_connect()
318 if (getsockopt(sk, SOL_L2CAP, L2CAP_CONNINFO, &conn, &optlen) < 0) { in do_connect()
396 if (getsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &opts, &optlen) < 0) { in do_listen()
477 if (getsockopt(nsk, SOL_L2CAP, L2CAP_OPTIONS, &opts, &optlen) < 0) { in do_listen()
490 if (getsockopt(nsk, SOL_L2CAP, L2CAP_CONNINFO, &conn, &optlen) < 0) { in do_listen()
594 if (getsockopt(sk, SOL_SOCKET, SO_ERROR, &opt, &optlen) < 0) { in dump_mode()
663 if (getsockopt(sk, SOL_SOCKET, SO_ERROR, &opt, &optlen) < 0) { in recv_mode()
Dhstest.c115 if (getsockopt(s, SOL_SCO, SCO_CONNINFO, &conn, &size) < 0) { in sco_connect()
123 if (getsockopt(s, SOL_SCO, SCO_OPTIONS, &opts, &size) < 0) { in sco_connect()
Drctest.c229 if (getsockopt(sk, SOL_RFCOMM, RFCOMM_CONNINFO, &conn, &optlen) < 0) { in do_connect()
344 if (getsockopt(nsk, SOL_RFCOMM, RFCOMM_CONNINFO, &conn, &optlen) < 0) { in do_listen()
/external/openssh/
Droaming_common.c58 if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &optval, &optvallen) != 0) in get_snd_buf_size()
70 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &optval, &optvallen) != 0) in get_recv_buf_size()
Daclocal.m456 dnl types for the argument to getsockopt, getpeername, etc. So we
/external/kernel-headers/original/linux/
Dnet.h152 int (*getsockopt)(struct socket *sock, int level, member
262 SOCKCALL_WRAP(name, getsockopt, (struct socket *sock, int level, int optname, \
286 .getsockopt = __lock_##name##_getsockopt, \
/external/openssh/openbsd-compat/
Dbsd-getpeereid.c33 if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cred, &len) < 0) in getpeereid()
/external/dbus/dbus/
Dsd-daemon.c176 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, &other_type, &l) < 0) in sd_is_socket_internal()
190 if (getsockopt(fd, SOL_SOCKET, SO_ACCEPTCONN, &accepting, &l) < 0) in sd_is_socket_internal()
/external/valgrind/main/coregrind/
Dpub_core_libcfile.h72 extern Int VG_(getsockopt) ( Int sd, Int level, Int optname,
/external/bluetooth/bluez/compat/
Dpand.c195 getsockopt(sk, SOL_SOCKET, SO_ERROR, &err, &olen); in w4_hup()
246 if (getsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &l2o, &olen) < 0) { in do_listen()
353 getsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &l2o, &olen); in create_connection()
/external/libpcap/lbl/
Dos-sunos4.h103 int getsockopt(int, int, int, char *, int *);
/external/tcpdump/lbl/
Dos-sunos4.h103 int getsockopt(int, int, int, char *, int *);
/external/qemu/
Dmigration-tcp.c61 ret = getsockopt(s->fd, SOL_SOCKET, SO_ERROR, (void *) &val, &valsize); in tcp_wait_for_connect()
/external/ipsec-tools/src/libipsec/
Dtest-policy.c187 if (getsockopt(so, proto, optname, getbuf, &len) < 0) {
/external/chromium/third_party/libjingle/source/talk/base/
Dphysicalsocketserver.cc126 VERIFY(0 == getsockopt(s_, SOL_SOCKET, SO_TYPE, (SockOptArg)&type, &len)); in PhysicalSocket()
249 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption()
438 int err = getsockopt(s_, IPPROTO_IP, IP_MTU, &value, &vlen); in EstimateMTU()
1316 ::getsockopt(fd, SOL_SOCKET, SO_ERROR, &errcode, &len); in Wait()
/external/valgrind/main/memcheck/tests/darwin/
Dscalar.stderr.exp355 Syscall param getsockopt(s) contains uninitialised byte(s)
358 Syscall param getsockopt(level) contains uninitialised byte(s)
361 Syscall param getsockopt(optname) contains uninitialised byte(s)
364 Syscall param getsockopt(optval) contains uninitialised byte(s)
367 Syscall param getsockopt(optlen) contains uninitialised byte(s)
/external/libpcap/
Dpcap-linux.c805 if (getsockopt(handle->fd, SOL_PACKET, PACKET_STATISTICS, in pcap_stats_linux()
1648 if (getsockopt(fd, SOL_SOCKET, SO_ERROR, &err, &errlen) == -1) { in iface_bind()
1919 if (getsockopt(fd, SOL_SOCKET, SO_ERROR, &err, &errlen) == -1) { in iface_bind_old()
/external/bluetooth/bluez/src/
Dsdpd-server.c103 if (getsockopt(l2cap_sock, SOL_L2CAP, L2CAP_OPTIONS, &opts, &optlen) < 0) { in init_server()

1234