/external/tcpdump/ |
D | print-fr.c | 103 u_int *addr_len, uint8_t *flags, u_int length) in parse_q922_addr() argument 112 *addr_len = 2; in parse_q922_addr() 127 (*addr_len)++; /* 3- or 4-byte Q.922 address */ in parse_q922_addr() 130 (*addr_len)++; /* 4-byte Q.922 address */ in parse_q922_addr() 151 static u_int dlci, addr_len; in q922_string() local 156 if (parse_q922_addr(ndo, p, &dlci, &addr_len, flags, length) == 1){ in q922_string() 192 int length, u_int addr_len, u_int dlci, uint8_t *flags, uint16_t nlpid) in fr_hdr_print() argument 201 addr_len, in fr_hdr_print() 209 addr_len, in fr_hdr_print() 243 u_int addr_len; in fr_print() local [all …]
|
/external/autotest/client/tests/ipv6connect/src/ |
D | ipv6connect.c | 40 socklen_t addr_len; in ConnectAndAccept() local 60 addr_len = sizeof(sa); in ConnectAndAccept() 87 addr_len = sizeof(sa); in ConnectAndAccept() 89 (struct sockaddr*)(&sa), &addr_len)) == -1) { in ConnectAndAccept() 100 socklen_t addr_len; in CreateServer() local 107 addr_len = sizeof(sa); in CreateServer() 115 if (getsockname(*server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in CreateServer() 129 socklen_t addr_len; in CreateServerConnectAndAccept() local 136 addr_len = sizeof(sa); in CreateServerConnectAndAccept() 145 if (getsockname(server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in CreateServerConnectAndAccept() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | reactive_socket_service.hpp | 173 std::size_t addr_len = endpoint.capacity(); in local_endpoint() local 174 if (socket_ops::getsockname(impl.socket_, endpoint.data(), &addr_len, ec)) in local_endpoint() 176 endpoint.resize(addr_len); in local_endpoint() 185 std::size_t addr_len = endpoint.capacity(); in remote_endpoint() local 187 endpoint.data(), &addr_len, false, ec)) in remote_endpoint() 189 endpoint.resize(addr_len); in remote_endpoint() 277 std::size_t addr_len = sender_endpoint.capacity(); in receive_from() local 280 flags, sender_endpoint.data(), &addr_len, ec); in receive_from() 283 sender_endpoint.resize(addr_len); in receive_from() 374 std::size_t addr_len = peer_endpoint ? peer_endpoint->capacity() : 0; in accept() local [all …]
|
D | reactive_socket_recvfrom_op.hpp | 52 std::size_t addr_len = o->sender_endpoint_.capacity(); in do_perform() local 55 o->sender_endpoint_.data(), &addr_len, in do_perform() 59 o->sender_endpoint_.resize(addr_len); in do_perform()
|
/external/openssh/ |
D | entropy.c | 80 int fd, addr_len, rval, errors; in get_random_bytes_prngd() local 102 addr_len = sizeof(*addr_in); in get_random_bytes_prngd() 107 addr_len = offsetof(struct sockaddr_un, sun_path) + in get_random_bytes_prngd() 122 if (connect(fd, (struct sockaddr*)&addr, addr_len) == -1) { in get_random_bytes_prngd()
|
/external/libmicrohttpd/src/platform/ |
D | w32functions.c | 570 int addr_len = c_addinlen; in MHD_W32_pair_of_sockets_() local 583 &addr_len)) in MHD_W32_pair_of_sockets_() 593 addr_len = c_addinlen; in MHD_W32_pair_of_sockets_() 595 (struct sockaddr*) &accepted_from_addr, &addr_len); in MHD_W32_pair_of_sockets_() 599 addr_len = c_addinlen; in MHD_W32_pair_of_sockets_() 601 if (0 == getsockname(client_s, (struct sockaddr*) &client_addr, &addr_len) in MHD_W32_pair_of_sockets_()
|
/external/wpa_supplicant_8/src/ap/ |
D | iapp.c | 76 u8 addr_len; /* ETH_ALEN */ member 97 u8 addr_len; /* ETH_ALEN */ member 108 u8 addr_len; /* ETH_ALEN */ member 125 u8 addr_len; /* ETH_ALEN */ member 138 u8 addr_len; /* ETH_ALEN */ member 191 add->addr_len = ETH_ALEN; in iapp_send_add()
|
D | fils_hlp.c | 157 socklen_t addr_len; in fils_dhcp_handler() local 167 addr_len = sizeof(addr); in fils_dhcp_handler() 169 (struct sockaddr *) &addr, &addr_len); in fils_dhcp_handler()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_er_ssdp.c | 24 socklen_t addr_len; in wps_er_ssdp_rx() local 32 addr_len = sizeof(addr); in wps_er_ssdp_rx() 34 (struct sockaddr *) &addr, &addr_len); in wps_er_ssdp_rx()
|
D | http_server.c | 202 socklen_t addr_len = sizeof(addr); in http_server_cb() local 207 conn = accept(srv->fd, (struct sockaddr *) &addr, &addr_len); in http_server_cb()
|
D | wps_upnp_ssdp.c | 689 socklen_t addr_len; in ssdp_listener_handler() local 693 addr_len = sizeof(addr); in ssdp_listener_handler() 695 (struct sockaddr *) &addr, &addr_len); in ssdp_listener_handler()
|
/external/syslinux/gpxe/src/drivers/net/ |
D | davicom.c | 73 #define EE_WRITE_CMD (5 << addr_len) 74 #define EE_READ_CMD (6 << addr_len) 75 #define EE_ERASE_CMD (7 << addr_len) 158 static int read_eeprom(unsigned long ioaddr, int location, int addr_len); 393 static int read_eeprom(unsigned long ioaddr, int location, int addr_len) in read_eeprom() argument 406 for (i = 4 + addr_len; i >= 0; i--) { in read_eeprom()
|
/external/iproute2/include/ |
D | bpf_scm.h | 36 unsigned int addr_len) in bpf_map_set_init() argument 48 msg->hdr.msg_namelen = addr_len; in bpf_map_set_init()
|
/external/kernel-headers/original/uapi/linux/ |
D | ipmi.h | 254 unsigned int addr_len; member 305 unsigned int addr_len; /* The size of the address buffer. member
|
/external/webrtc/webrtc/base/ |
D | macasyncsocket.cc | 205 socklen_t addr_len = sizeof(saddr); in RecvFrom() local 208 &addr_len); in RecvFrom() 233 socklen_t addr_len = sizeof(saddr); in Accept() local 236 &addr_len); in Accept()
|
D | win32socketserver.cc | 432 size_t addr_len = addr.ToSockAddrStorage(&saddr); in SendTo() local 436 static_cast<int>(addr_len)); in SendTo() 453 socklen_t addr_len = sizeof(saddr); in RecvFrom() local 456 reinterpret_cast<sockaddr*>(&saddr), &addr_len); in RecvFrom() 478 socklen_t addr_len = sizeof(saddr); in Accept() local 479 SOCKET s = ::accept(socket_, reinterpret_cast<sockaddr*>(&saddr), &addr_len); in Accept()
|
/external/libmicrohttpd/src/microspdy/ |
D | session.c | 1394 socklen_t addr_len; in SPDYF_session_accept() local 1401 addr_len = sizeof(addr6); in SPDYF_session_accept() 1406 addr_len = sizeof(addr6); in SPDYF_session_accept() 1409 new_socket_fd = accept (daemon->socket_fd, addr, &addr_len); in SPDYF_session_accept() 1442 if (NULL == (session->addr = malloc (addr_len))) in SPDYF_session_accept() 1447 memcpy (session->addr, addr, addr_len); in SPDYF_session_accept() 1449 session->addr_len = addr_len; in SPDYF_session_accept()
|
/external/autotest/client/site_tests/platform_TLSDateActual/ |
D | platform_TLSDateActual.py | 125 addr_len = recvbytes(sock, 1)[0] 126 dst_addr = "".join([unichr(x) for x in recvbytes(sock, addr_len)])
|
/external/libnfnetlink/src/ |
D | libnfnetlink.c | 213 unsigned int addr_len; in nfnl_open2() local 228 addr_len = sizeof(nfnlh->local); in nfnl_open2() 229 getsockname(nfnlh->fd, (struct sockaddr *)&nfnlh->local, &addr_len); in nfnl_open2() 230 if (addr_len != sizeof(nfnlh->local)) { in nfnl_open2() 253 addr_len = sizeof(nfnlh->local); in nfnl_open2() 254 getsockname(nfnlh->fd, (struct sockaddr *)&nfnlh->local, &addr_len); in nfnl_open2() 255 if (addr_len != sizeof(nfnlh->local)) { in nfnl_open2()
|
/external/libmicrohttpd/src/examples/ |
D | spdy_event_loop.c | 63 socklen_t addr_len = SPDY_get_remote_addr(session, &addr); in new_session_callback() local 65 if(!addr_len) in new_session_callback()
|
/external/iproute2/lib/ |
D | libnetlink.c | 49 socklen_t addr_len; in rtnl_open_byproto() local 79 addr_len = sizeof(rth->local); in rtnl_open_byproto() 80 if (getsockname(rth->fd, (struct sockaddr*)&rth->local, &addr_len) < 0) { in rtnl_open_byproto() 84 if (addr_len != sizeof(rth->local)) { in rtnl_open_byproto() 85 fprintf(stderr, "Wrong address length %d\n", addr_len); in rtnl_open_byproto()
|
/external/strace/ |
D | msghdr.c | 200 const unsigned int addr_len = in print_cmsg_ip_origdstaddr() local 204 print_sockaddr(tcp, cmsg_data, addr_len); in print_cmsg_ip_origdstaddr()
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | timestamping.c | 137 static void sendpacket(int sock, struct sockaddr *addr, socklen_t addr_len) in sendpacket() argument 143 addr, addr_len); in sendpacket()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 859 u_int addr_len; in initmyaddr() local 871 addr_len = sizeof(nl); in initmyaddr() 872 if (getsockname(lcconf->rtsock, (struct sockaddr*)&nl, &addr_len) < 0) { in initmyaddr()
|
/external/libmicrohttpd/src/testcurl/ |
D | test_get_sendfile.c | 397 socklen_t addr_len = sizeof(addr); in testUnknownPortGet() local 417 if (0 != getsockname(di->listen_fd, (struct sockaddr *) &addr, &addr_len)) in testUnknownPortGet()
|