Lines Matching refs:index
371 int index; /* position in data[] */ member
736 data[user_data->index].buf); in create_uri()
739 print_data(uri, data[user_data->index].len); in create_uri()
762 if (data[user_data->index].data) { in create_pdu()
763 send_data = data[user_data->index].data; in create_pdu()
764 send_data_len = data[user_data->index].data_len; in create_pdu()
769 data[user_data->index].coap_method, in create_pdu()
772 data[user_data->index].message_type); in create_pdu()
774 if (data[user_data->index].check_mid) in create_pdu()
775 data[user_data->index].expected_mid = ntohs(pdu->hdr->id); in create_pdu()
789 data[user_data->index].description, in send_packets()
790 user_data->index, data[user_data->index].len); in send_packets()
803 method = data[user_data->index].coap_method; in send_packets()
839 data[user_data->index].description, in try_send()
840 user_data->index, data[user_data->index].len); in try_send()
853 method = data[user_data->index].coap_method; in try_send()
945 data[user_data->index].description, user_data->index, read_len); in read_from_peer()
962 if (!data[user_data->index + 1].buf) { in read_from_peer()
968 if (user_data->index == renegotiate) { in read_from_peer()
1104 if (data[test_context->index].add_token && !check_token(received)) { in is_our_own()
1169 if (data[test_context->index].add_token) { in coap_new_request()
1304 if (data[test_context->index].check_mid && in receive_data()
1305 !check_mid(databuf, len, test_context->index)) { in receive_data()
1307 test_context->index); in receive_data()
1311 if (!data[test_context->index + 1].buf) { in receive_data()
1315 test_context->index++; in receive_data()
1321 if (data[test_context->index].check_mid) { in receive_data()
1326 if (!data[test_context->index + 1].buf) { in receive_data()
1330 test_context->index++; in receive_data()
1742 user_data.index = 0;
1849 if (user_data.index >
1853 if (!data[user_data.index].expecting_reply) {
1855 user_data.index++;
1856 if (!data[user_data.index].buf) {
1864 user_data.index, data[user_data.index].len);
1865 ret = user_data.index + 1;
1870 ret = user_data.index + 1;
1878 ret = user_data.index + 1;
1886 ret = user_data.index + 1;