Home
last modified time | relevance | path

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

/system/nfc/src/nfc/ndef/
Dndef_utils.cc81 uint32_t payload_len; in NDEF_MsgValidate() local
118 payload_len = *p_rec++; in NDEF_MsgValidate()
123 BE_STREAM_TO_UINT32(payload_len, p_rec); in NDEF_MsgValidate()
173 if ((type_len != 0) || (id_len != 0) || (payload_len != 0)) in NDEF_MsgValidate()
201 if (payload_len + type_len + id_len < payload_len || in NDEF_MsgValidate()
202 payload_len + type_len + id_len > msg_len) { in NDEF_MsgValidate()
205 p_new = p_rec + (payload_len + type_len + id_len); in NDEF_MsgValidate()
212 p_rec += (payload_len + type_len + id_len); in NDEF_MsgValidate()
242 uint32_t payload_len; in NDEF_MsgGetNumRecs() local
256 payload_len = *p_rec++; in NDEF_MsgGetNumRecs()
[all …]
/system/nfc/src/nfa/dm/
Dnfa_dm_ndef.cc242 uint32_t payload_len) { in nfa_dm_ndef_find_next_handler() argument
266 if ((payload_len > 1) && in nfa_dm_ndef_find_next_handler()
273 ((payload_len > p_cb->p_ndef_handler[i]->name_len) && in nfa_dm_ndef_find_next_handler()
307 payload_len > strlen((const char*)nfa_dm_ndef_wkt_uri_str_tbl in nfa_dm_ndef_find_next_handler()
374 uint32_t payload_len; in nfa_dm_ndef_handle_message() local
450 p_payload = NDEF_RecGetPayload(p_rec, &payload_len); in nfa_dm_ndef_handle_message()
454 p_payload, payload_len); in nfa_dm_ndef_handle_message()
470 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
483 ndef_data.len = payload_len + (uint32_t)(p_payload - p_rec); in nfa_dm_ndef_handle_message()
536 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
/system/netd/bpf_progs/
Dclatd.c65 if (ntohs(ip6->payload_len) > 0xFFFF - sizeof(struct iphdr)) return TC_ACT_OK; in nat64()
103 .tot_len = htons(ntohs(ip6->payload_len) + sizeof(struct iphdr)), // u16 in nat64()
273 .payload_len = htons(ntohs(ip4->tot_len) - 20), // __be16
/system/chre/platform/slpi/see/
Dsns_qmi_client.c82 client->ind_cb(client, ind->payload, ind->payload_len, client->ind_cb_data); in client_ind_cb()
237 req_msg->payload_len = stream.bytes_written; in sns_client_send()
/system/nfc/src/nfc/include/
Dndef_utils.h266 uint8_t* p_payload, uint32_t payload_len);
/system/netd/tests/
Dbinder_test.cpp3726 .payload_len = htons(kPayloadLen), in TEST_F()