/external/tcpdump/ |
D | print-rpki-rtr.c | 229 rpki_rtr_pdu_ipv4_prefix *pdu; in rpki_rtr_pdu_print() local 231 pdu = (rpki_rtr_pdu_ipv4_prefix *)tptr; in rpki_rtr_pdu_print() 234 ipaddr_string(pdu->prefix), in rpki_rtr_pdu_print() 235 pdu->prefix_length, pdu->max_length, in rpki_rtr_pdu_print() 236 EXTRACT_32BITS(pdu->as), pdu->flags); in rpki_rtr_pdu_print() 243 rpki_rtr_pdu_ipv6_prefix *pdu; in rpki_rtr_pdu_print() local 245 pdu = (rpki_rtr_pdu_ipv6_prefix *)tptr; in rpki_rtr_pdu_print() 248 ip6addr_string(pdu->prefix), in rpki_rtr_pdu_print() 249 pdu->prefix_length, pdu->max_length, in rpki_rtr_pdu_print() 250 EXTRACT_32BITS(pdu->as), pdu->flags); in rpki_rtr_pdu_print() [all …]
|
D | print-snmp.c | 1468 struct be pdu; in pdu_print() local 1472 if ((count = asn1_parse(np, length, &pdu)) < 0) in pdu_print() 1474 if (pdu.type != BE_PDU) { in pdu_print() 1483 if (asn1_print(&pdu) < 0) in pdu_print() 1487 length = pdu.asnlen; in pdu_print() 1488 np = (u_char *)pdu.data.raw; in pdu_print() 1491 (pdu.id == GETBULKREQ || pdu.id == INFORMREQ || in pdu_print() 1492 pdu.id == V2TRAP || pdu.id == REPORT)) { in pdu_print() 1497 if (version == SNMP_VERSION_2 && pdu.id == TRAP) { in pdu_print() 1502 switch (pdu.id) { in pdu_print() [all …]
|
/external/qemu/telephony/ |
D | sms.h | 73 extern int smspdu_to_hex( SmsPDU pdu, char* hex, int hexsize ); 76 extern void smspdu_free( SmsPDU pdu ); 85 extern SmsPduType smspdu_get_type( SmsPDU pdu ); 88 extern int smspdu_get_sender_address( SmsPDU pdu, SmsAddress address ); 91 extern int smspdu_get_sc_timestamp( SmsPDU pdu, SmsTimeStamp timestamp ); 94 extern int smspdu_get_receiver_address( SmsPDU pdu, SmsAddress address ); 96 extern int smspdu_get_ref ( SmsPDU pdu ); 97 extern int smspdu_get_max_index( SmsPDU pdu ); 98 extern int smspdu_get_cur_index( SmsPDU pdu ); 102 extern int smspdu_get_text_message( SmsPDU pdu, unsigned char* utf8, int utf8len );
|
D | sms.c | 702 smspdu_free( SmsPDU pdu ) in smspdu_free() argument 704 if (pdu) { in smspdu_free() 705 free( pdu->base ); in smspdu_free() 706 pdu->base = NULL; in smspdu_free() 707 pdu->end = NULL; in smspdu_free() 708 pdu->tpdu = NULL; in smspdu_free() 713 smspdu_get_type( SmsPDU pdu ) in smspdu_get_type() argument 715 cbytes_t data = pdu->tpdu; in smspdu_get_type() 716 cbytes_t end = pdu->end; in smspdu_get_type() 728 smspdu_get_sender_address( SmsPDU pdu, SmsAddress address ) in smspdu_get_sender_address() argument [all …]
|
D | remote_call.c | 224 SmsPDU pdu ) in remote_call_set_sms_pdu() argument 229 msg2len = 32 + smspdu_to_hex( pdu, NULL, 0 ); in remote_call_set_sms_pdu() 245 p += smspdu_to_hex( pdu, p, end-p ); in remote_call_set_sms_pdu() 418 SmsPDU pdu ) in remote_call_sms() argument 426 if ( remote_call_set_sms_pdu( call, pdu ) < 0 ) { in remote_call_sms()
|
D | android_modem.c | 1616 smspdu_dump( SmsPDU pdu, FILE* out ) 1622 if (pdu == NULL) { 1628 switch (smspdu_get_type(pdu)) { 1635 if (smspdu_get_sender_address(pdu, &address) < 0) 1640 if (smspdu_get_receiver_address(pdu, &address) < 0) 1645 len = smspdu_get_text_message( pdu, temp, sizeof(temp)-1 ); 1661 SmsPDU pdu; in handleSendSMSText() local 1667 pdu = smspdu_create_from_hex( cmd, len ); in handleSendSMSText() 1668 if (pdu == NULL) { in handleSendSMSText() 1672 if (smspdu_get_receiver_address(pdu, &address) < 0) { in handleSendSMSText() [all …]
|
D | remote_call.h | 48 extern int remote_call_sms( const char* number, int from_port, SmsPDU pdu );
|
/external/fio/ |
D | client.c | 328 struct cmd_client_probe_pdu pdu; in probe_client() local 334 pdu.flags = __le64_to_cpu(FIO_PROBE_FLAG_ZLIB); in probe_client() 336 pdu.flags = 0; in probe_client() 339 fio_net_send_cmd(client->fd, FIO_NET_CMD_PROBE, &pdu, sizeof(pdu), &tag, &client->cmd_list); in probe_client() 500 void *pdu; in send_client_cmd_line() local 521 pdu = malloc(mem); in send_client_cmd_line() 522 clp = pdu; in send_client_cmd_line() 528 cslp = pdu + offset; in send_client_cmd_line() 537 ret = fio_net_send_cmd(client->fd, FIO_NET_CMD_JOBLINE, pdu, mem, NULL, NULL); in send_client_cmd_line() 538 free(pdu); in send_client_cmd_line() [all …]
|
D | server.c | 215 void *pdu = NULL; in fio_net_recv_cmd() local 261 pdu = (void *) cmdret->payload + pdu_offset; in fio_net_recv_cmd() 262 ret = fio_recv_data(sk, pdu, cmd.pdu_len); in fio_net_recv_cmd() 267 crc = fio_crc16(pdu, cmd.pdu_len); in fio_net_recv_cmd() 288 struct cmd_text_pdu *pdu = (struct cmd_text_pdu *) cmdret->payload; in fio_net_recv_cmd() local 289 char *buf = (char *) pdu->buf; in fio_net_recv_cmd() 291 buf[pdu->buf_len] = '\0'; in fio_net_recv_cmd() 293 struct cmd_job_pdu *pdu = (struct cmd_job_pdu *) cmdret->payload; in fio_net_recv_cmd() local 294 char *buf = (char *) pdu->buf; in fio_net_recv_cmd() 295 int len = le32_to_cpu(pdu->buf_len); in fio_net_recv_cmd() [all …]
|
D | server.h | 204 const void *pdu, uint32_t pdu_len, in fio_init_net_cmd() argument 209 if (pdu) in fio_init_net_cmd() 210 memcpy(&cmd->payload, pdu, pdu_len); in fio_init_net_cmd()
|
/external/bluetooth/bluedroid/stack/include/ |
D | avrc_defs.h | 966 UINT8 pdu; member 975 UINT8 pdu; member 984 UINT8 pdu; member 994 UINT8 pdu; member 1004 UINT8 pdu; member 1014 UINT8 pdu; member 1025 UINT8 pdu; member 1035 UINT8 pdu; member 1044 UINT8 pdu; member 1054 UINT8 pdu; member [all …]
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_rc.c | 192 UINT8 pdu, UINT8 status); 193 static UINT8 opcode_from_pdu(UINT8 pdu); 649 avrc_rsp.rsp.pdu = pavrc_command->pdu; in handle_uid_changed_notification() 721 avrc_command.cmd.pdu, pmeta_msg->label); in handle_rc_metamsg_cmd() 728 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_command.pdu, status); in handle_rc_metamsg_cmd() 734 if (avrc_command.cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION) in handle_rc_metamsg_cmd() 752 __FUNCTION__, dump_rc_pdu(avrc_command.cmd.pdu)); in handle_rc_metamsg_cmd() 757 btif_rc_upstreams_evt((uint16_t)avrc_command.cmd.pdu, &avrc_command, pmeta_msg->code, in handle_rc_metamsg_cmd() 885 static void send_reject_response (UINT8 rc_handle, UINT8 label, UINT8 pdu, UINT8 status) in send_reject_response() argument 892 avrc_rsp.rsp.opcode = opcode_from_pdu(pdu); in send_reject_response() [all …]
|
/external/blktrace/btt/ |
D | mmap.c | 51 void **pdu) in convert_to_cpu() argument 73 *pdu = malloc(tp->pdu_len); in convert_to_cpu() 74 memcpy(*pdu, t+1, tp->pdu_len); in convert_to_cpu() 76 *pdu = NULL; in convert_to_cpu() 130 int next_trace(struct blk_io_trace *t, void **pdu) in next_trace() argument 141 this_len = convert_to_cpu(next_t, t, pdu); in next_trace()
|
D | trace.c | 65 memcpy(msg, iop->pdu, iop->t.pdu_len); in trace_message() 81 char *slash = strchr(iop->pdu, '/'); in add_trace() 85 process_alloc(iop->t.pid, iop->pdu); in add_trace()
|
D | trace_plug.c | 25 __u64 *val = u_iop->pdu; in get_nio_up()
|
D | trace_remap.c | 43 rp = a_iop->pdu; in trace_remap()
|
D | unplug_hist.c | 52 __u64 *val = u_iop->pdu; in unplug_hist_add()
|
/external/bluetooth/bluedroid/stack/avrc/ |
D | avrc_bld_ct.c | 133 opcode = avrc_opcode_from_pdu(p_cmd->pdu); in avrc_bld_init_cmd_buffer() 134 AVRC_TRACE_API("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu, opcode); in avrc_bld_init_cmd_buffer() 161 *p_data++ = p_cmd->pdu; in avrc_bld_init_cmd_buffer() 197 AVRC_TRACE_API("AVRC_BldCommand: pdu=%x status=%x", p_cmd->cmd.pdu, p_cmd->cmd.status); in AVRC_BldCommand() 217 switch (p_cmd->pdu) in AVRC_BldCommand()
|
D | avrc_pars_ct.c | 58 BE_STREAM_TO_UINT8 (p_result->pdu, p); in avrc_pars_vendor_rsp() 61 …rc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len); in avrc_pars_vendor_rsp() 68 switch (p_result->pdu) in avrc_pars_vendor_rsp() 136 p_result->pdu = (UINT8)id; in AVRC_ParsResponse()
|
D | avrc_pars_tg.c | 54 p_result->pdu = *p++; in avrc_pars_vendor_cmd() 55 AVRC_TRACE_DEBUG("avrc_pars_vendor_cmd() pdu:0x%x", p_result->pdu); in avrc_pars_vendor_cmd() 56 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) in avrc_pars_vendor_cmd() 72 switch (p_result->pdu) in avrc_pars_vendor_cmd() 299 p_result->pdu = (UINT8)id; in AVRC_ParsCommand()
|
D | avrc_bld_tg.c | 716 AVRC_TRACE_API("avrc_bld_rejected_rsp: status=%d, pdu:x%x", p_rsp->status, p_rsp->pdu); in avrc_bld_rejected_rsp() 743 UINT8 opcode = avrc_opcode_from_pdu(p_rsp->pdu); in avrc_bld_init_rsp_buffer() 745 AVRC_TRACE_API("avrc_bld_init_rsp_buffer: pdu=%x, opcode=%x/%x", p_rsp->pdu, opcode, in avrc_bld_init_rsp_buffer() 762 if (p_rsp->pdu == AVRC_PDU_GET_ELEMENT_ATTR) in avrc_bld_init_rsp_buffer() 781 *p_data++ = p_rsp->pdu; in avrc_bld_init_rsp_buffer() 837 AVRC_TRACE_API("AVRC_BldResponse: pdu=%x status=%x", p_rsp->rsp.pdu, p_rsp->rsp.status); in AVRC_BldResponse() 843 switch (p_rsp->pdu) in AVRC_BldResponse() 847 status = avrc_bld_group_navigation_rsp(p_rsp->pdu, p_pkt); in AVRC_BldResponse()
|
D | avrc_int.h | 149 extern BT_HDR * avrc_alloc_ctrl_pkt (UINT8 pdu); 151 extern UINT8 avrc_opcode_from_pdu(UINT8 pdu);
|
D | avrc_utils.c | 196 UINT8 avrc_opcode_from_pdu(UINT8 pdu) in avrc_opcode_from_pdu() argument 200 switch (pdu) in avrc_opcode_from_pdu()
|
/external/tcpdump/tests/ |
D | mpls-ldp-hello.out | 3 LDP, Label-Space-ID: 10.1.0.2:0, pdu-length: 38
|
/external/bluetooth/bluedroid/btif/include/ |
D | btif_util.h | 66 const char* dump_rc_pdu(UINT8 pdu);
|