Home
last modified time | relevance | path

Searched refs:addr_len (Results 1 – 25 of 34) sorted by relevance

12

/external/tcpdump/
Dprint-fr.c102 u_int *addr_len, uint8_t *flags, u_int length) in parse_q922_addr() argument
111 *addr_len = 2; in parse_q922_addr()
126 (*addr_len)++; /* 3- or 4-byte Q.922 address */ in parse_q922_addr()
129 (*addr_len)++; /* 4-byte Q.922 address */ in parse_q922_addr()
150 static u_int dlci, addr_len; in q922_string() local
155 if (parse_q922_addr(ndo, p, &dlci, &addr_len, flags, length) == 1){ in q922_string()
191 int length, u_int addr_len, u_int dlci, uint8_t *flags, uint16_t nlpid) in fr_hdr_print() argument
200 addr_len, in fr_hdr_print()
208 addr_len, in fr_hdr_print()
242 u_int addr_len; in fr_print() local
[all …]
/external/autotest/client/tests/ipv6connect/src/
Dipv6connect.c40 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/
Dreactive_socket_service.hpp173 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 …]
Dreactive_socket_recvfrom_op.hpp52 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/libmicrohttpd/src/platform/
Dw32functions.c570 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/
Diapp.c76 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()
/external/wpa_supplicant_8/src/wps/
Dwps_er_ssdp.c24 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()
Dhttp_server.c202 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()
Dwps_upnp_ssdp.c695 socklen_t addr_len; in ssdp_listener_handler() local
699 addr_len = sizeof(addr); in ssdp_listener_handler()
701 (struct sockaddr *) &addr, &addr_len); in ssdp_listener_handler()
/external/iproute2/include/
Dbpf_scm.h36 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/
Dipmi.h254 unsigned int addr_len; member
305 unsigned int addr_len; /* The size of the address buffer. member
/external/webrtc/webrtc/base/
Dmacasyncsocket.cc205 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()
Dwin32socketserver.cc432 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()
Dphysicalsocketserver.cc341 socklen_t addr_len = sizeof(addr_storage); in RecvFrom() local
344 static_cast<int>(length), 0, addr, &addr_len); in RecvFrom()
378 socklen_t addr_len = sizeof(addr_storage); in Accept() local
380 SOCKET s = DoAccept(s_, addr, &addr_len); in Accept()
/external/libmicrohttpd/src/microspdy/
Dsession.c1394 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()
Dstructures.h788 socklen_t addr_len; member
/external/autotest/client/site_tests/platform_TLSDateActual/
Dplatform_TLSDateActual.py114 addr_len = recvbytes(sock, 1)[0]
115 dst_addr = "".join([unichr(x) for x in recvbytes(sock, addr_len)])
/external/libmicrohttpd/src/examples/
Dspdy_event_loop.c63 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/
Dlibnetlink.c49 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/ipsec-tools/src/racoon/
Dgrabmyaddr.c838 u_int addr_len; in initmyaddr() local
850 addr_len = sizeof(nl); in initmyaddr()
851 if (getsockname(lcconf->rtsock, (struct sockaddr*)&nl, &addr_len) < 0) { in initmyaddr()
/external/libmicrohttpd/src/testcurl/
Dtest_get_sendfile.c397 socklen_t addr_len = sizeof(addr); in testUnknownPortGet() local
417 if (0 != getsockname(di->listen_fd, (struct sockaddr *) &addr, &addr_len)) in testUnknownPortGet()
Dtest_get.c395 socklen_t addr_len = sizeof(addr); in testUnknownPortGet() local
415 if (0 != getsockname(di->listen_fd, (struct sockaddr *) &addr, &addr_len)) in testUnknownPortGet()
/external/libevent/include/event2/
Ddns.h604 …_request_get_requesting_addr(struct evdns_server_request *_req, struct sockaddr *sa, int addr_len);
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c934 socklen_t addr_len, in mdns_lookup_addr() argument
951 result->hostent->h_length = addr_len; in mdns_lookup_addr()
954 if (! add_address_to_buffer (result, addr, addr_len)) in mdns_lookup_addr()
/external/libmicrohttpd/src/testspdy/
Dtest_new_connection.c831 socklen_t addr_len = SPDY_get_remote_addr(session, &addr); in new_session_callback() local
833 if(!addr_len) in new_session_callback()

12