Home
last modified time | relevance | path

Searched refs:payload_len (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/dhcp_client/
Ddhcpv4.cc232 const size_t payload_len = payload.GetLength(); in MakeRawPacket() local
234 char buffer[header_len + payload_len]; in MakeRawPacket()
235 memset(buffer, 0, header_len + payload_len); in MakeRawPacket()
239 if (!payload.CopyData(payload_len, buffer + header_len)) { in MakeRawPacket()
261 header_len + payload_len)); in MakeRawPacket()
284 *output = ByteString(buffer, header_len + payload_len); in MakeRawPacket()
/system/connectivity/shill/shims/
Dnetfilter_queue_processor.cc84 int payload_len = nfq_get_payload(netfilter_data, &payload); in ParseNetfilterData() local
85 if (payload_len >= 0) { in ParseNetfilterData()
86 is_udp_ = ParsePayloadUDPData(payload, payload_len); in ParseNetfilterData()
93 const unsigned char* payload, size_t payload_len) { in ParsePayloadUDPData() argument
96 if (payload_len <= sizeof(ip)) { in ParsePayloadUDPData()
110 if (payload_len < iphdr_len + sizeof(udp)) { in ParsePayloadUDPData()
Dnetfilter_queue_processor.h80 bool ParsePayloadUDPData(const unsigned char* payload, size_t payload_len);
/system/bt/stack/include/
Davdt_api.h370 typedef void (tAVDT_MEDIA_CBACK)(UINT8 handle, UINT8 *p_payload, UINT32 payload_len,
/system/bt/stack/avdt/
Davdt_scb_act.c437 UINT32 payload_len; /* payload length */ in avdt_scb_hdl_pkt_frag() local
621 payload_len = (UINT32)(p_scb->p_media_buf + p_scb->frag_off - pad_len - p_payload); in avdt_scb_hdl_pkt_frag()
624 p_payload - p_scb->p_media_buf,payload_len); in avdt_scb_hdl_pkt_frag()
630 payload_len, time_stamp, seq, m_pt, marker); in avdt_scb_hdl_pkt_frag()