Home
last modified time | relevance | path

Searched refs:getsockname (Results 1 – 25 of 72) sorted by relevance

123

/external/valgrind/main/memcheck/tests/
Dbuflen_check.c18 res2 = getsockname(res1, NULL, &len); /* NULL is bogus */ in main()
19 res3 = getsockname(res1, &name, NULL); /* NULL is bogus */ in main()
Dbuflen_check.stderr.exp11 getsockname(1) failed
12 getsockname(2) failed
/external/clang/test/Analysis/
Dcasts.c15 void getsockname();
21 getsockname(sock, sockaddr, &addrlen); in f()
/external/dbus/dbus/
Dsd-daemon.c227 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket()
253 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket_inet()
295 if (getsockname(fd, &sockaddr.sa, &l) < 0) in sd_is_socket_unix()
/external/chromium/third_party/libevent/
Devutil.c116 if (getsockname(listener, (struct sockaddr *) &connect_addr, &size) == -1) in evutil_socketpair()
133 if (getsockname(connector, (struct sockaddr *) &connect_addr, &size) == -1) in evutil_socketpair()
/external/qemu/slirp/
Dudp.c448 if (getsockname(so->s, (struct sockaddr *)&addr, &addrlen) < 0) in udp_emu()
527 getsockname(req->tcp_so->s, in udp_emu()
618 if (getsockname(so->s, (struct sockaddr *)&addr, &addrlen) < 0) in udp_emu()
655 getsockname(so->s,(struct sockaddr *)&addr,&addrlen); in udp_listen()
/external/openssh/openbsd-compat/
Dbindresvport.c68 if (getsockname(sd, sa, &salen) == -1) in bindresvport_sa()
/external/openssh/
Dcanohost.c263 if (getsockname(sock, (struct sockaddr *)&addr, &addrlen) in get_socket_address()
381 if (getsockname(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_sock_port()
/external/valgrind/main/coregrind/
Dpub_core_libcfile.h70 extern Int VG_(getsockname) ( Int sd, struct vki_sockaddr *name, Int *namelen );
/external/ipsec-tools/src/racoon/
Dsockmisc.c264 getsockname(s, (struct sockaddr *)&local, &len) == -1) { in getlocaladdr()
275 if (getsockname(s, to, (socklen_t *)tolen) == -1) { in recvfromto()
353 if (getsockname(s, local, &local_len) < 0) {
400 if (getsockname(s, (struct sockaddr *)&ss, &len) < 0) {
536 if (getsockname(s, (struct sockaddr *)&ss, &len) < 0) {
/external/libpcap/lbl/
Dos-sunos4.h102 int getsockname(int, struct sockaddr *, int *);
/external/tcpdump/lbl/
Dos-sunos4.h102 int getsockname(int, struct sockaddr *, int *);
/external/chromium/net/socket/
Dtcp_server_socket_libevent.cc105 if (getsockname(socket_, addr, &addr_len) < 0) in GetLocalAddress()
Dtcp_server_socket_win.cc93 if (getsockname(socket_, addr, &addr_len)) in GetLocalAddress()
Dtcp_client_socket_libevent.cc557 int rv = getsockname( in LogConnectCompletion()
690 if (getsockname(socket_, addr, &addr_len)) in GetLocalAddress()
Dtcp_client_socket_win.cc492 if (getsockname(socket_, addr, &addr_len)) in GetLocalAddress()
721 int rv = getsockname( in LogConnectCompletion()
/external/bluetooth/bluez/tools/
Dl2ping.c125 if (getsockname(sk, (struct sockaddr *) &addr, &optlen) < 0) { in ping()
Drfcomm.c385 if (getsockname(sk, (struct sockaddr *)&laddr, &alen) < 0) { in cmd_connect()
533 if (getsockname(nsk, (struct sockaddr *)&laddr, &alen) < 0) { in cmd_listen()
/external/quake/quake/src/QW/client/
Dnet_udp.c276 if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) in NET_GetLocalAddress()
Dnet_wins.c275 if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) in NET_GetLocalAddress()
/external/bluetooth/bluez/compat/
Ddun.c204 if (getsockname(sk, (struct sockaddr *) &sa, &alen) < 0) in dun_create_tty()
/external/mdnsresponder/mDNSShared/
DPlatformCommon.c74 if ((getsockname(sock, &addr.s, &len)) < 0) in mDNSPlatformSourceAddrForDest()
/external/dnsmasq/src/
Dnetlink.c65 getsockname(daemon->netlinkfd, (struct sockaddr *)&addr, &slen) == 1) in netlink_init()
/external/quake/quake/src/WinQuake/
Dnet_mp.cpp368 getsockname(socket, (struct sockaddr *)addr, &addrlen); in MPATH_GetSocketAddr()
/external/chromium/net/udp/
Dudp_socket_libevent.cc113 if (getsockname(socket_, addr, &addr_len)) in GetLocalAddress()

123