Searched refs:rcvd (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/p2p/base/ |
D | pseudotcp_unittest.cc | 276 int rcvd; in ReadData() local 278 rcvd = remote_.Recv(block, sizeof(block)); in ReadData() 279 if (rcvd != -1) { in ReadData() 280 recv_stream_.Write(block, rcvd, NULL, NULL); in ReadData() 284 } while (rcvd > 0); in ReadData() 395 int rcvd; in ReadData() local 397 rcvd = receiver_->Recv(block, sizeof(block)); in ReadData() 398 if (rcvd != -1) { in ReadData() 399 recv_stream_.Write(block, rcvd, NULL, NULL); in ReadData() 403 } while (rcvd > 0); in ReadData() [all …]
|
/external/toybox/toys/pending/ |
D | dhcpd.c | 278 } rcvd; member 924 memcpy(dest_sll.sll_addr, (broadcast)?bmacaddr:gstate.rcvd.rcvd_pkt.chaddr , 6); in send_packet() 934 packet.iph.daddr = (broadcast || (gstate.rcvd.rcvd_pkt.ciaddr == 0))? in send_packet() 935 INADDR_BROADCAST : gstate.rcvd.rcvd_pkt.ciaddr; in send_packet() 962 memset(&gstate.rcvd.rcvd_pkt6, 0, sizeof(dhcp6_msg_t)); in read_packet6() 963 ret = recvfrom(gstate.listensock, &gstate.rcvd.rcvd_pkt6, sizeof(dhcp6_msg_t), in read_packet6() 971 if (gstate.rcvd.rcvd_pkt6.msgtype < 1) { in read_packet6() 987 memset(&gstate.rcvd.rcvd_pkt, 0, sizeof(dhcp_msg_t)); in read_packet() 988 ret = recvfrom(gstate.listensock, &gstate.rcvd.rcvd_pkt, sizeof(dhcp_msg_t), in read_packet() 996 if (gstate.rcvd.rcvd_pkt.cookie != htonl(DHCP_MAGIC)) { in read_packet() [all …]
|
/external/webrtc/webrtc/base/ |
D | socket_unittest.cc | 752 int rcvd = client->Recv(recv_buffer.get() + recv_pos, in TcpInternal() local 763 if (rcvd >= 0) { in TcpInternal() 764 EXPECT_LE(rcvd, data_in_flight); in TcpInternal() 765 recv_pos += rcvd; in TcpInternal() 766 data_in_flight -= rcvd; in TcpInternal()
|