Home
last modified time | relevance | path

Searched refs:pkt_len (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/base/
Dasynctcpsocket.cc260 PacketLength pkt_len = HostToNetwork16(static_cast<PacketLength>(cb)); in Send() local
261 AppendToOutBuffer(&pkt_len, kPacketLenSize); in Send()
285 PacketLength pkt_len = rtc::GetBE16(data); in ProcessInput() local
286 if (*len < kPacketLenSize + pkt_len) in ProcessInput()
289 SignalReadPacket(this, data + kPacketLenSize, pkt_len, remote_addr, in ProcessInput()
292 *len -= kPacketLenSize + pkt_len; in ProcessInput()
294 memmove(data, data + kPacketLenSize + pkt_len, *len); in ProcessInput()
/external/srtp/test/
Drtp.c28 int pkt_len = len + RTP_HEADER_LEN; in rtp_sendto() local
40 stat = srtp_protect(sender->srtp_ctx, &sender->message.header, &pkt_len); in rtp_sendto()
48 srtp_print_packet(&sender->message.header, pkt_len); in rtp_sendto()
51 pkt_len, 0, (struct sockaddr *)&sender->addr, in rtp_sendto()
54 if (octets_sent != pkt_len) { in rtp_sendto()
/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_main.c665 UINT16 pkt_len; in nfa_hci_conn_cback() local
713 pkt_len = p_pkt->len; in nfa_hci_conn_cback()
716 DispHcp (p, pkt_len, TRUE, (BOOLEAN) !nfa_hci_cb.assembling); in nfa_hci_conn_cback()
721 if (pkt_len != 0) in nfa_hci_conn_cback()
722 pkt_len--; in nfa_hci_conn_cback()
729 if (pkt_len != 0) in nfa_hci_conn_cback()
730 pkt_len--; in nfa_hci_conn_cback()
738 nfa_hci_assemble_msg (p, pkt_len); in nfa_hci_conn_cback()
745 nfa_hci_assemble_msg (p, pkt_len); in nfa_hci_conn_cback()
755 …nfa_hci_conn_cback (): Insufficient buffer to Reassemble HCP packet! Dropping :%u bytes", pkt_len); in nfa_hci_conn_cback()
[all …]
/external/webrtc/webrtc/p2p/base/
Dasyncstuntcpsocket.cc129 PacketLength pkt_len = in GetExpectedLength() local
135 expected_pkt_len = kStunHeaderSize + pkt_len; in GetExpectedLength()
138 expected_pkt_len = kTurnChannelDataHdrSize + pkt_len; in GetExpectedLength()
/external/tcpdump/
Dprint-pktap.c46 uint32_t pkt_len; /* length of pktap header */ member
78 hdrlen = EXTRACT_LE_32BITS(&hdr->pkt_len); in pktap_header_print()
112 hdrlen = EXTRACT_LE_32BITS(&hdr->pkt_len); in pktap_if_print()
/external/libnfc-nci/src/nfa/int/
Dnfa_hci_int.h502 extern tNFA_STATUS nfa_hciu_send_msg (UINT8 pipe_id, UINT8 type, UINT8 instruction, UINT16 pkt_len,…