Home
last modified time | relevance | path

Searched full:payload (Results 1 – 25 of 1140) sorted by relevance

12345678910>>...46

/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_encoder.c163 /* Return the size of an IP payload based on its IP compression.
210 * Write an IP packet with opcode \@opc and payload from \@packet if there is
311 return pt_encode_ip(encoder, pt_opc_fup, &packet->payload.ip); in pt_enc_next()
314 return pt_encode_ip(encoder, pt_opc_tip, &packet->payload.ip); in pt_enc_next()
318 &packet->payload.ip); in pt_enc_next()
322 &packet->payload.ip); in pt_enc_next()
327 if (packet->payload.tnt.bit_size >= 7) in pt_enc_next()
334 stop = packet->payload.tnt.bit_size + pt_opm_tnt_8_shr; in pt_enc_next()
336 (packet->payload.tnt.payload << pt_opm_tnt_8_shr); in pt_enc_next()
351 if (packet->payload.tnt.bit_size >= pt_pl_tnt_64_bits) in pt_enc_next()
[all …]
H A Dpt_packet.c67 packet->payload.unknown.packet = pos; in pt_pkt_read_unknown()
68 packet->payload.unknown.priv = NULL; in pt_pkt_read_unknown()
73 size = (*decode)(&packet->payload.unknown, config, pos, in pt_pkt_read_unknown()
164 static uint8_t pt_pkt_tnt_bit_size(uint64_t payload) in pt_pkt_tnt_bit_size() argument
168 /* The payload bit-size is the bit-index of the payload's stop-bit, in pt_pkt_tnt_bit_size()
169 * which itself is not part of the payload proper. in pt_pkt_tnt_bit_size()
172 payload >>= 1; in pt_pkt_tnt_bit_size()
173 if (!payload) in pt_pkt_tnt_bit_size()
180 static int pt_pkt_read_tnt(struct pt_packet_tnt *packet, uint64_t payload) in pt_pkt_read_tnt() argument
187 bit_size = pt_pkt_tnt_bit_size(payload); in pt_pkt_read_tnt()
[all …]
H A Dpt_packet_decoder.c326 size = pt_pkt_read_ip(&packet->payload.ip, decoder->pos, in pt_pkt_decode_tip()
345 size = pt_pkt_read_tnt_8(&packet->payload.tnt, decoder->pos, in pt_pkt_decode_tnt_8()
364 size = pt_pkt_read_tnt_64(&packet->payload.tnt, decoder->pos, in pt_pkt_decode_tnt_64()
383 size = pt_pkt_read_ip(&packet->payload.ip, decoder->pos, in pt_pkt_decode_tip_pge()
402 size = pt_pkt_read_ip(&packet->payload.ip, decoder->pos, in pt_pkt_decode_tip_pgd()
421 size = pt_pkt_read_ip(&packet->payload.ip, decoder->pos, in pt_pkt_decode_fup()
440 size = pt_pkt_read_pip(&packet->payload.pip, decoder->pos, in pt_pkt_decode_pip()
473 size = pt_pkt_read_mode(&packet->payload.mode, decoder->pos, in pt_pkt_decode_mode()
506 size = pt_pkt_read_tsc(&packet->payload.tsc, decoder->pos, in pt_pkt_decode_tsc()
525 size = pt_pkt_read_cbr(&packet->payload.cbr, decoder->pos, in pt_pkt_decode_cbr()
[all …]
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_opcodes.h114 /* The bit mask and shr value for the payload bytes field in ptw. */
118 /* The bit mask for the payload bytes field in ptw after shifting. */
151 /* The psb magic payload.
153 * The payload is a repeating 2-byte pattern.
164 /* The repeat count of the payload, not including opc and ext. */
171 /* The payload details. */
173 /* The shift counts for post-processing the PIP payload. */
177 /* The size of a PIP payload in bytes. */
180 /* The non-root bit in the first byte of the PIP payload. */
183 /* The size of a 8bit TNT packet's payload in bits. */
[all …]
/freebsd/sys/dev/firmware/xilinx/
H A Dzynqmp_firmware.c88 typedef int (*zynqmp_callfn_t)(register_t, register_t, register_t, uint32_t *payload);
100 zynqmp_call_smc(uint32_t id, uint32_t a0, uint32_t a1, uint32_t a2, uint32_t a3, uint32_t *payload,… in zynqmp_call_smc() argument
109 if (payload != NULL) { in zynqmp_call_smc()
110 payload[0] = res.a0 & 0xFFFFFFFF; in zynqmp_call_smc()
111 payload[1] = res.a0 >> 32; in zynqmp_call_smc()
112 payload[2] = res.a1 & 0xFFFFFFFF; in zynqmp_call_smc()
113 payload[3] = res.a1 >> 32; in zynqmp_call_smc()
114 if (!ignore_error && payload[0] != PM_RET_SUCCESS) { in zynqmp_call_smc()
115 printf("%s: fail %x\n", __func__, payload[0]); in zynqmp_call_smc()
126 uint32_t payload[4]; in zynqmp_get_api_version() local
[all …]
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsasata.c77 bit32 *payload = agNULL; in saSATAStart() local
217 payload = (bit32 *)pMessage; in saSATAStart()
218 SA_DBG4(("saSATAStart: Payload offset 0x%X\n", (unsigned int)(payload - (bit32 *)pMessage))); in saSATAStart()
302 si_memset((void *)payload, 0, sizeof(agsaSATAStartCmd_t)); in saSATAStart()
304 OSSA_WRITE_LE_32(agRoot, payload, OSSA_OFFSET_OF(agsaSATAStartCmd_t, tag), pRequest->HTag); in saSATAStart()
306 OSSA_WRITE_LE_32(agRoot, payload, OSSA_OFFSET_OF(agsaSATAStartCmd_t,deviceId ), deviceIndex); in saSATAStart()
308 OSSA_WRITE_LE_32(agRoot, payload, OSSA_OFFSET_OF(agsaSATAStartCmd_t,dataLen ), 0 ); in saSATAStart()
311 payload, in saSATAStart()
317 …si_memcpy((void *)(payload+4), (void *)&agSATAReq->fis.fisRegHostToDev, sizeof(agsaFisRegHostToDev… in saSATAStart()
322 OSSA_WRITE_LE_32(agRoot, payload, OSSA_OFFSET_OF(agsaSATAStartCmd_t, tag), pRequest->HTag); in saSATAStart()
[all …]
H A Dsampicmd.c47 * \param echoPayload Pointer of Echo payload of IOMB
67 /* setup IOMB payload */ in saEchoCommand()
81 * \param payload Pointer of payload in the IOMB
95 bit32 *payload, in mpiBuildCmd() argument
150 /* copy payload if it is necessary */ in mpiBuildCmd()
151 if (agNULL != payload) in mpiBuildCmd()
153 si_memcpy(pMessage, payload, (size - sizeof(mpiMsgHeader_t))); in mpiBuildCmd()
179 * \param echoPayload Pointer to the ECHO payload of inbound IOMB
198 agsaEchoCmd_t payload; in mpiEchoCmd() local
229 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaEchoCmd_t, tag), pRequest->HTag); in mpiEchoCmd()
[all …]
H A Dsasmp.c258 agsaSMPCmd_t payload; in saSMPStart() local
264 /* Prepare the payload of IOMB */ in saSMPStart()
265 si_memset(&payload, 0, sizeof(agsaSMPCmd_t)); in saSMPStart()
266 OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, tag), pRequest->HTag); in saSMPStart()
267 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, deviceId), pDevice->DeviceMapIndex… in saSMPStart()
282 /* check SMP direct payload mode len */ in saSMPStart()
312 /* Direct payload length */ in saSMPStart()
315 /* copy payload - upto 48 bytes */ in saSMPStart()
316 si_memcpy(&(payload.SMPCmd[0]),pSMPFrame->outFrameBuf,pSMPFrame->outFrameLen); in saSMPStart()
319 SA_DBG4(("saSMPStart: payload.SMPCmd[%d] %x\n", i, payload.SMPCmd[i])); in saSMPStart()
[all …]
/freebsd/sys/dev/sound/pci/hda/
H A Dhda_reg.h47 #define HDA_CMD_VERB_4BIT(verb, payload) \ argument
48 (((verb) << HDA_CMD_VERB_4BIT_SHIFT) | (payload))
49 #define HDA_CMD_4BIT(cad, nid, verb, payload) \ argument
52 (HDA_CMD_VERB_4BIT((verb), (payload))))
54 #define HDA_CMD_VERB_12BIT(verb, payload) \ argument
55 (((verb) << HDA_CMD_VERB_12BIT_SHIFT) | (payload))
56 #define HDA_CMD_12BIT(cad, nid, verb, payload) \ argument
59 (HDA_CMD_VERB_12BIT((verb), (payload))))
64 #define HDA_CMD_GET_PARAMETER(cad, nid, payload) \ argument
66 HDA_CMD_VERB_GET_PARAMETER, (payload)))
[all …]
/freebsd/usr.sbin/bhyve/
H A Dhda_reg.h47 #define HDA_CMD_VERB_4BIT(verb, payload) \ argument
48 (((verb) << HDA_CMD_VERB_4BIT_SHIFT) | (payload))
49 #define HDA_CMD_4BIT(cad, nid, verb, payload) \ argument
52 (HDA_CMD_VERB_4BIT((verb), (payload))))
54 #define HDA_CMD_VERB_12BIT(verb, payload) \ argument
55 (((verb) << HDA_CMD_VERB_12BIT_SHIFT) | (payload))
56 #define HDA_CMD_12BIT(cad, nid, verb, payload) \ argument
59 (HDA_CMD_VERB_12BIT((verb), (payload))))
64 #define HDA_CMD_GET_PARAMETER(cad, nid, payload) \ argument
66 HDA_CMD_VERB_GET_PARAMETER, (payload)))
[all …]
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_client_ocsp.c145 pos = hdr.payload; in tls_process_ocsp_single_response()
146 end = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
167 name_hash = hdr.payload; in tls_process_ocsp_single_response()
171 pos = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
192 key_hash = hdr.payload; in tls_process_ocsp_single_response()
195 pos = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
215 serial_number = hdr.payload; in tls_process_ocsp_single_response()
249 hdr.payload, hdr.length); in tls_process_ocsp_single_response()
250 pos = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
256 x509_parse_time(hdr.payload, hdr.length, hdr.tag, &update) < 0) { in tls_process_ocsp_single_response()
[all …]
H A Dtlsv1_cred.c463 pos = hdr.payload; in pkcs12_certbag()
464 end = hdr.payload + hdr.length; in pkcs12_certbag()
488 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0 || in pkcs12_certbag()
496 hdr.payload, hdr.length); in pkcs12_certbag()
501 cert = x509_certificate_parse(hdr.payload, hdr.length); in pkcs12_certbag()
511 return tlsv1_set_cert(cred, NULL, hdr.payload, hdr.length); in pkcs12_certbag()
535 hdr.payload, hdr.length); in pkcs12_parse_attr_friendly_name()
560 hdr.payload, hdr.length); in pkcs12_parse_attr_local_key_id()
592 hdr.payload, hdr.length); in pkcs12_parse_attr()
593 pos = hdr.payload; in pkcs12_parse_attr()
[all …]
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-packet.c183 ptu_ptr_eq(pfix->packet[1].payload.unknown.packet, in unknown()
185 ptu_ptr_eq(pfix->packet[1].payload.unknown.priv, pfix); in unknown()
206 ptu_ptr_eq(pfix->packet[1].payload.unknown.packet, in unknown_ext()
208 ptu_ptr_eq(pfix->packet[1].payload.unknown.priv, pfix); in unknown_ext()
230 ptu_ptr_eq(pfix->packet[1].payload.unknown.packet, in unknown_ext2()
232 ptu_ptr_eq(pfix->packet[1].payload.unknown.priv, pfix); in unknown_ext2()
241 pfix->packet[0].payload.tnt.bit_size = 4; in tnt_8()
242 pfix->packet[0].payload.tnt.payload = 0x5ull; in tnt_8()
252 pfix->packet[0].payload.tnt.bit_size = 23; in tnt_64()
253 pfix->packet[0].payload.tnt.payload = 0xabcdeull; in tnt_64()
[all …]
/freebsd/share/man/man9/
H A Dcrypto_request.9226 All requests must define a payload region.
230 the AAD, IV, and payload regions are always defined as regions in the
232 and a separate payload output region is defined to hold the output of
244 .Bl -column "Payload Output" "Input/Output"
250 .It Payload Ta Input Ta
252 .It Payload Output Ta Output Ta
257 .Bl -column "Payload Output" ".Fa crp_payload_output_start"
261 .It Payload Ta Fa crp_payload_start Ta Fa crp_payload_length
262 .It Payload Output Ta Fa crp_payload_output_start Ta Fa crp_payload_length
269 used as either additional authentication data (AAD) or payload data.
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-ip6.c144 * payload" "in the IPv6 context, so that they in ip6_finddst()
153 * payload" "in the IPv6 context". in ip6_finddst()
254 * The Payload Length field in the IPv6 header must be set to zero in ip6_print()
255 * in every packet that carries the Jumbo Payload option. If a in ip6_print()
256 * packet is received with a valid Jumbo Payload option present and in ip6_print()
257 * a non-zero IPv6 Payload Length field, an ICMP Parameter Problem in ip6_print()
259 * to the Option Type field of the Jumbo Payload option. in ip6_print()
261 * Later versions of the IPv6 spec don't discuss the Jumbo Payload in ip6_print()
264 * If the payload length is 0, we temporarily just set the total in ip6_print()
266 * could include frame padding, but if it's a Jumbo Payload frame, in ip6_print()
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibccconfig.c122 uint8_t payload[IB_CC_DATA_SZ] = { 0 }; in congestion_key_info() local
150 mad_set_field64(payload, in congestion_key_info()
155 mad_encode_field(payload, in congestion_key_info()
159 mad_encode_field(payload, in congestion_key_info()
167 mad_encode_field(payload, in congestion_key_info()
171 if (!cc_config_status_via(payload, rcv, dest, IB_CC_ATTR_CONGESTION_KEY_INFO, in congestion_key_info()
256 uint8_t payload[IB_CC_DATA_SZ] = { 0 }; in switch_congestion_setting() local
299 mad_encode_field(payload, in switch_congestion_setting()
303 mad_set_array(payload, in switch_congestion_setting()
308 mad_set_array(payload, in switch_congestion_setting()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Testing/Annotations/
H A DAnnotations.cpp31 std::optional<llvm::StringRef> Payload; in Annotations() local
38 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations()
41 Payload = std::nullopt; in Annotations()
46 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations()
48 Payload = std::nullopt; in Annotations()
57 {NewRange.Begin, Code.size(), NewRange.Name, NewRange.Payload}); in Annotations()
69 Payload = Text.take_while([](char C) { return C != ')'; }); in Annotations()
70 Require(Text.size() > Payload->size(), "unterminated payload"); in Annotations()
71 Text = Text.drop_front(Payload->size() + 1); in Annotations()
93 return {P.Begin, P.Payload}; in pointWithPayload()
[all …]
/freebsd/sbin/ping/tests/
H A Dinjection.py55 )/ICMP(type=0, code=0, id=echo_req.payload.id)/echo_req.payload.payload
63 )/ICMP(type=0, code=0, id=echo_req.payload.id)/echo_req.payload.payload
75 )/ICMP(type=0, code=0, id=echo_req.payload.id)/echo_req.payload.payload
/freebsd/sys/dev/sfxge/common/
H A Defx_nvram.c543 EFX_MCDI_DECLARE_BUF(payload, MC_CMD_NVRAM_PARTITIONS_IN_LEN, in efx_mcdi_nvram_partitions()
549 req.emr_in_buf = payload; in efx_mcdi_nvram_partitions()
551 req.emr_out_buf = payload; in efx_mcdi_nvram_partitions()
605 EFX_MCDI_DECLARE_BUF(payload, MC_CMD_NVRAM_METADATA_IN_LEN,
610 req.emr_in_buf = payload;
612 req.emr_out_buf = payload;
694 EFX_MCDI_DECLARE_BUF(payload, MC_CMD_NVRAM_INFO_IN_LEN, in efx_mcdi_nvram_info()
700 req.emr_in_buf = payload; in efx_mcdi_nvram_info()
702 req.emr_out_buf = payload; in efx_mcdi_nvram_info()
754 EFX_MCDI_DECLARE_BUF(payload, MC_CMD_NVRAM_UPDATE_START_V2_IN_LEN, in efx_mcdi_nvram_update_start()
[all …]
/freebsd/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c33 nvme_ctrlr_cmd_identify_controller(struct nvme_controller *ctrlr, void *payload, in nvme_ctrlr_cmd_identify_controller() argument
39 req = nvme_allocate_request_vaddr(payload, in nvme_ctrlr_cmd_identify_controller()
56 void *payload, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_identify_namespace() argument
61 req = nvme_allocate_request_vaddr(payload, in nvme_ctrlr_cmd_identify_namespace()
168 uint32_t cdw15, void *payload, uint32_t payload_size, in nvme_ctrlr_cmd_set_feature() argument
190 uint32_t cdw11, void *payload, uint32_t payload_size, in nvme_ctrlr_cmd_get_feature() argument
256 uint32_t nsid, void *payload, uint32_t payload_size, nvme_cb_fn_t cb_fn, in nvme_ctrlr_cmd_get_log_page() argument
266 req = nvme_allocate_request_vaddr(payload, payload_size, in nvme_ctrlr_cmd_get_log_page()
281 struct nvme_error_information_entry *payload, uint32_t num_entries, in nvme_ctrlr_cmd_get_error_page() argument
296 NVME_GLOBAL_NAMESPACE_TAG, payload, sizeof(*payload) * num_entries, in nvme_ctrlr_cmd_get_error_page()
[all …]
/freebsd/contrib/wpa/src/common/
H A Ddpp_backup.c565 hdr.payload, hdr.length); in dpp_parse_recipient_infos()
566 pos = hdr.payload; in dpp_parse_recipient_infos()
582 pos = hdr.payload; in dpp_parse_recipient_infos()
600 pos = hdr.payload; in dpp_parse_recipient_infos()
633 pos = hdr.payload; in dpp_parse_recipient_infos()
642 hdr.payload, hdr.length); in dpp_parse_recipient_infos()
648 data->salt = hdr.payload; in dpp_parse_recipient_infos()
649 pos = hdr.payload + hdr.length; in dpp_parse_recipient_infos()
667 asn1_get_oid(hdr.payload, hdr.length, &oid, &pos) < 0) { in dpp_parse_recipient_infos()
720 hdr.payload, hdr.length); in dpp_parse_recipient_infos()
[all …]
H A Dgas.c149 struct wpabuf *payload) in gas_anqp_build_initial_resp_buf() argument
155 payload ? wpabuf_len(payload) : 0); in gas_anqp_build_initial_resp_buf()
159 if (payload) in gas_anqp_build_initial_resp_buf()
160 wpabuf_put_buf(buf, payload); in gas_anqp_build_initial_resp_buf()
191 struct wpabuf *payload) in gas_anqp_build_comeback_resp_buf() argument
197 payload ? wpabuf_len(payload) : 0); in gas_anqp_build_comeback_resp_buf()
201 if (payload) in gas_anqp_build_comeback_resp_buf()
202 wpabuf_put_buf(buf, payload); in gas_anqp_build_comeback_resp_buf()
215 * the payload has been filled.
267 * This function is called after the ANQP element payload has been added to the
/freebsd/contrib/opencsd/decoder/source/stm/
H A Dtrc_pkt_decode_stm.cpp127 m_num_pkt_correlation = 1; // fixed at single packet payload correlation - add feature later in initDecoder()
150 // set up the payload buffer. If we are correlating indentical packets then in initPayloadBuffer()
226 bSendPacket = true; // send 0 payload marker packet./ in decodePacket()
230 case STM_PKT_D4: /**< 4 bit data payload packet */ in decodePacket()
231 case STM_PKT_D8: /**< 8 bit data payload packet */ in decodePacket()
232 case STM_PKT_D16: /**< 16 bit data payload packet */ in decodePacket()
233 case STM_PKT_D32: /**< 32 bit data payload packet */ in decodePacket()
234 case STM_PKT_D64: /**< 64 bit data payload packet */ in decodePacket()
256 …ts &= (uint32_t)(0x0 | SWT_ID_VALID_MASK); // clear flags and current payload size (save id val… in clearSWTPerPcktInfo()
267 case STM_PKT_D4: /**< 4 bit data payload packet */ in updatePayload()
[all …]
/freebsd/tests/sys/netpfil/pf/
H A Dfrag-overindex.py33 payload = b"ABCDEFGHIJKLMNOP"
40 (int((boundary + 8) / len(payload)) * payload)
69 a.payload.proto == 1 and \
70 a.payload.frag == 0 and \
71 sp.icmptypes[a.payload.payload.type] == 'echo-reply':
72 id = a.payload.payload.id
H A Dfrag-overreplace.py34 payload = b"ABCDEFGHIJKLMNOP"
41 (int((boundary + fragsize) / len(payload)) * payload)
72 a.payload.proto == 1 and \
73 a.payload.frag == 0 and \
74 sp.icmptypes[a.payload.payload.type] == 'echo-reply':
75 id=a.payload.payload.id

12345678910>>...46