Home
last modified time | relevance | path

Searched refs:pdu (Results 1 – 25 of 39) sorted by relevance

12

/external/tcpdump/
Dprint-rpki-rtr.c224 rpki_rtr_pdu_ipv4_prefix *pdu; in rpki_rtr_pdu_print() local
226 pdu = (rpki_rtr_pdu_ipv4_prefix *)tptr; in rpki_rtr_pdu_print()
229 ipaddr_string(ndo, pdu->prefix), in rpki_rtr_pdu_print()
230 pdu->prefix_length, pdu->max_length, in rpki_rtr_pdu_print()
231 EXTRACT_32BITS(pdu->as), pdu->flags)); in rpki_rtr_pdu_print()
238 rpki_rtr_pdu_ipv6_prefix *pdu; in rpki_rtr_pdu_print() local
240 pdu = (rpki_rtr_pdu_ipv6_prefix *)tptr; in rpki_rtr_pdu_print()
243 ip6addr_string(ndo, pdu->prefix), in rpki_rtr_pdu_print()
244 pdu->prefix_length, pdu->max_length, in rpki_rtr_pdu_print()
245 EXTRACT_32BITS(pdu->as), pdu->flags)); in rpki_rtr_pdu_print()
[all …]
Dprint-snmp.c1469 struct be pdu; in pdu_print() local
1473 if ((count = asn1_parse(ndo, np, length, &pdu)) < 0) in pdu_print()
1475 if (pdu.type != BE_PDU) { in pdu_print()
1484 if (asn1_print(ndo, &pdu) < 0) in pdu_print()
1488 length = pdu.asnlen; in pdu_print()
1489 np = (u_char *)pdu.data.raw; in pdu_print()
1492 (pdu.id == GETBULKREQ || pdu.id == INFORMREQ || in pdu_print()
1493 pdu.id == V2TRAP || pdu.id == REPORT)) { in pdu_print()
1498 if (version == SNMP_VERSION_2 && pdu.id == TRAP) { in pdu_print()
1503 switch (pdu.id) { in pdu_print()
[all …]
/external/fio/
Dclient.c387 struct cmd_client_probe_pdu pdu; in probe_client() local
395 pdu.flags = __le64_to_cpu(FIO_PROBE_FLAG_ZLIB); in probe_client()
397 pdu.flags = 0; in probe_client()
401 memset(pdu.server, 0, sizeof(pdu.server)); in probe_client()
402 strncpy((char *) pdu.server, sname, sizeof(pdu.server) - 1); in probe_client()
404 fio_net_send_cmd(client->fd, FIO_NET_CMD_PROBE, &pdu, sizeof(pdu), &tag, &client->cmd_list); in probe_client()
565 void *pdu; in send_client_cmd_line() local
586 pdu = malloc(mem); in send_client_cmd_line()
587 clp = pdu; in send_client_cmd_line()
593 cslp = pdu + offset; in send_client_cmd_line()
[all …]
Dserver.c229 void *pdu = NULL; in fio_net_recv_cmd() local
275 pdu = (void *) cmdret->payload + pdu_offset; in fio_net_recv_cmd()
276 ret = fio_recv_data(sk, pdu, cmd.pdu_len); in fio_net_recv_cmd()
281 crc = fio_crc16(pdu, cmd.pdu_len); in fio_net_recv_cmd()
351 void fio_net_cmd_crc_pdu(struct fio_net_cmd *cmd, const void *pdu) in fio_net_cmd_crc_pdu() argument
358 cmd->pdu_crc16 = __cpu_to_le16(fio_crc16(pdu, pdu_len)); in fio_net_cmd_crc_pdu()
569 struct cmd_load_file_pdu *pdu = (struct cmd_load_file_pdu *) cmd->payload; in handle_load_file_cmd() local
570 void *file_name = pdu->file; in handle_load_file_cmd()
575 pdu->name_len = le16_to_cpu(pdu->name_len); in handle_load_file_cmd()
576 pdu->client_type = le16_to_cpu(pdu->client_type); in handle_load_file_cmd()
[all …]
Dserver.h230 const void *pdu, uint32_t pdu_len, in fio_init_net_cmd() argument
235 if (pdu) in fio_init_net_cmd()
236 memcpy(&cmd->payload, pdu, pdu_len); in fio_init_net_cmd()
/external/autotest/client/cros/cellular/
Dsms.py54 def sms_insert(self, index, pdu): argument
56 smsc_len = int(pdu[0:1], 16)
57 mlen = len(pdu)/2 - smsc_len - 1
63 '+CMGR: 1,,%d\r\n%s' % (mlen, pdu), '')
67 self.smsdict[index] = pdu
70 def sms_receive(self, index, pdu): argument
73 self.sms_insert(index, pdu)
88 pdu = self.smsdict[i]
89 smsc_len = int(pdu[0:1],16)
90 mlen = len(pdu)/2 - smsc_len - 1
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/
Dsnmpget.py19 pdu = pdus.setComponentByPosition(0).getComponentByPosition(0) variable
20 pdu.setComponentByPosition(0, 123)
21 pdu.setComponentByPosition(1, 0)
22 pdu.setComponentByPosition(2, 0)
23 vbl = pdu.setComponentByPosition(3).getComponentByPosition(3)
/external/blktrace/btt/
Dmmap.c51 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()
Dtrace.c65 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()
Dtrace_plug.c25 __u64 *val = u_iop->pdu; in get_nio_up()
Dtrace_remap.c43 rp = a_iop->pdu; in trace_remap()
Dunplug_hist.c52 __u64 *val = u_iop->pdu; in unplug_hist_add()
Dbt_timeline.c106 while (!done && next_trace(&iop->t, &iop->pdu)) { in process()
Dglobals.h156 void *pdu; member
257 int next_trace(struct blk_io_trace *t, void **pdu);
/external/tcpdump/tests/
Disis_4-v.out2 p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
22 p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
42 p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
62 p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
82 p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
102 p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
122 p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
142 p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
162 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
179 L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
[all …]
Disis_3-v.out2 L2 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
20 L2 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
38 L2 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
56 L2 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
74 L2 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
94 L2 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
114 L2 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
134 L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
154 L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
162 L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
[all …]
Disis_2-v.out2 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
20 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
38 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
56 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
74 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
92 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
112 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
132 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
152 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
170 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
[all …]
Disis_1-v.out2 L1 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
11 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
31 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
51 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
71 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
91 L1 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
100 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
120 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
140 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
163 L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
[all …]
Disis_infloop-v.out4 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
12 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
20 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
28 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
36 L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
Dmpls-ldp-hello.out3 LDP, Label-Space-ID: 10.1.0.2:0, pdu-length: 38
/external/autotest/server/cros/ap_configurators/
Dap_cartridge.py49 if configurator.pdu in broken_pdus:
51 raise ap_configurator.PduNotResponding(configurator.pdu)
54 if configurator.pdu not in broken_pdus:
55 broken_pdus.append(configurator.pdu)
Dap_configurator.py82 ping_options = ping_runner.PingConfig(self.pdu, count=2,
86 logging.info('Pinging rpm %s', self.pdu)
92 raise PduNotResponding(self.pdu)
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java21 import com.google.android.mms.pdu.CharacterSets;
22 import com.google.android.mms.pdu.EncodedStringValue;
23 import com.google.android.mms.pdu.GenericPdu;
24 import com.google.android.mms.pdu.PduBody;
25 import com.google.android.mms.pdu.PduComposer;
26 import com.google.android.mms.pdu.PduHeaders;
27 import com.google.android.mms.pdu.PduParser;
28 import com.google.android.mms.pdu.PduPart;
29 import com.google.android.mms.pdu.PduPersister;
30 import com.google.android.mms.pdu.SendConf;
[all …]
/external/autotest/server/cros/network/
Dchaos_clique_utils.py172 if ap.pdu not in broken_pdus:
173 broken_pdus.append(ap.pdu)
191 if ap.pdu in broken_pdus:
/external/blktrace/
Dblkparse_fmt.c108 static inline int pdu_rest_is_zero(unsigned char *pdu, int len) in pdu_rest_is_zero() argument
112 return !memcmp(pdu, zero, len); in pdu_rest_is_zero()

12