Home
last modified time | relevance | path

Searched refs:payload_length (Results 1 – 13 of 13) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dndef.c28 u32 payload_length; member
46 record->payload_length = *pos++; in ndef_parse_record()
50 record->payload_length = ntohl(*(u32 *)pos); in ndef_parse_record()
67 record->payload = record->payload_length == 0 ? NULL : pos; in ndef_parse_record()
68 pos += record->payload_length; in ndef_parse_record()
91 record.payload_length); in ndef_parse_records()
109 size_t payload_length = wpabuf_len(payload); in ndef_build_record() local
111 short_record = payload_length < 256 ? 1 : 0; in ndef_build_record()
118 total_len += type_length + id_length + payload_length; in ndef_build_record()
136 wpabuf_put_u8(record, payload_length); in ndef_build_record()
[all …]
/external/android-clat/
Dclatd_test.cpp203 size_t payload_length = 0; in check_packet() local
217 payload_length = len - sizeof(*ip); in check_packet()
218 pseudo_checksum = ipv4_pseudo_header_checksum(ip, payload_length); in check_packet()
237 payload_length = len - sizeof(*ip6) - sizeof(*frag); in check_packet()
243 payload_length = len - sizeof(*ip6); in check_packet()
247 if (payload_length) { in check_packet()
248 pseudo_checksum = ipv6_pseudo_header_checksum(ip6, payload_length, protocol); in check_packet()
258 if (payload_length) { in check_packet()
264 checksum = ip_checksum_finish(ip_checksum_add(pseudo_checksum, payload, payload_length)); in check_packet()
267 checksum = ip_checksum(payload, payload_length); in check_packet()
[all …]
/external/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunication.cpp158 GDBRemoteCommunication::CalculcateChecksum (const char *payload, size_t payload_length) in CalculcateChecksum() argument
165 for (size_t i = 0; i < payload_length; ++i) in CalculcateChecksum()
198 GDBRemoteCommunication::SendPacket (const char *payload, size_t payload_length) in SendPacket() argument
201 return SendPacketNoLock (payload, payload_length); in SendPacket()
205 GDBRemoteCommunication::SendPacketNoLock (const char *payload, size_t payload_length) in SendPacketNoLock() argument
212 packet.Write (payload, payload_length); in SendPacketNoLock()
214 packet.PutHex8(CalculcateChecksum (payload, payload_length)); in SendPacketNoLock()
DGDBRemoteCommunication.h59 size_t payload_length);
228 size_t payload_length);
232 size_t payload_length);
DGDBRemoteCommunicationClient.cpp309 size_t payload_length, in SendPacketAndWaitForResponse() argument
319 if (SendPacketNoLock (payload, payload_length)) in SendPacketAndWaitForResponse()
324 log->Printf("error: failed to send '%*s'", (int) payload_length, payload); in SendPacketAndWaitForResponse()
334 m_async_packet.assign(payload, payload_length); in SendPacketAndWaitForResponse()
393 if (SendPacketNoLock (payload, payload_length)) in SendPacketAndWaitForResponse()
398 … log->Printf("error: failed to send '%*s'", (int) payload_length, payload); in SendPacketAndWaitForResponse()
417 …or: failed to get packet sequence mutex, not sending packet '%*s'", (int) payload_length, payload); in SendPacketAndWaitForResponse()
423 log->Printf("error: failed to get response for '%*s'", (int) payload_length, payload); in SendPacketAndWaitForResponse()
/external/tcpdump/
Dprint-geonet.c120 u_int16_t payload_length = EXTRACT_16BITS(bp+4); in geonet_print() local
165 printf("Payload:%d ", payload_length); in geonet_print()
/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c893 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_sar1()
930 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_ker()
949 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_nr()
975 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_idr()
1015 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_auth()
1063 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_notification()
/external/v8/src/
Dserialize.h660 int payload_length = GetHeaderValue(kPayloadLengthOffset); in PayloadLength() local
662 Payload() + payload_length); in PayloadLength()
663 return payload_length; in PayloadLength()
/external/wpa_supplicant_8/src/eap_server/
Dikev2.c958 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_sai()
996 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_kei()
1015 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_ni()
1041 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_idi()
1081 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_auth()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dbootparam.h81 __u32 payload_length; member
/external/wpa_supplicant_8/src/eap_common/
Dikev2_common.h40 u8 payload_length[2]; /* this payload, including the payload header */ member
Dikev2_common.c268 plen = WPA_GET_BE16(phdr->payload_length); in ikev2_parse_payloads()
597 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_encrypted()
/external/boringssl/src/crypto/cipher/
De_rc4.c101 size_t payload_length; member