Searched refs:total_length (Results 1 - 23 of 23) sorted by relevance

/freebsd-current/contrib/wpa/src/wps/
H A Dndef.c29 u32 total_length; member in struct:ndef_record
75 record->total_length = pos - data;
76 if (record->total_length > size ||
77 record->total_length < record->payload_length)
98 data += record.total_length;
99 len -= record.total_length;
/freebsd-current/contrib/libpcap/
H A Dsf-pcapng.c56 bpf_u_int32 total_length; member in struct:block_header
63 bpf_u_int32 total_length; member in struct:block_trailer
298 bhdr.total_length = SWAPLONG(bhdr.total_length);
305 if (bhdr.total_length < sizeof(struct block_header) +
309 bhdr.total_length,
317 if ((bhdr.total_length % 4) != 0) {
323 bhdr.total_length);
330 if (p->bufsize < bhdr.total_length) {
337 if (bhdr.total_length > p
775 bpf_u_int32 total_length; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp641 size_t total_length = 0; local
657 content_length = total_length = 1; // The command is one byte long...
677 total_length =
718 } else if (total_length > 0) {
722 assert(total_length <= m_bytes.size());
723 assert(content_length <= total_length);
738 if (m_bytes[0] == '$' && total_length > 4) {
739 for (size_t i = 0; !binary && i < total_length; ++i) {
751 (uint64_t)original_packet_size, (uint64_t)total_length,
755 (uint64_t)total_length, m_byte
[all...]
/freebsd-current/crypto/openssl/providers/implementations/rands/seeding/
H A Drand_vms.c364 size_t total_length = 0; local
384 total_length = total_elems * sizeof(data.buffer[0]);
458 if (!ossl_assert(total_length >= bytes_needed)) {
461 bytes_needed, total_length);
468 if (total_length > bytes_remaining)
469 total_length = bytes_remaining;
472 ossl_rand_pool_add(pool, (unsigned char *)data.buffer, total_length, local
473 8 * total_length / ENTROPY_FACTOR);
/freebsd-current/sys/dev/tpm/
H A Dtpm20.c84 offset = sc->total_length - sc->pending_data_length;
156 sc->total_length = 0;
196 sc->total_length = 0;
281 sc->total_length = 0;
H A Dtpm20.h127 size_t total_length; member in struct:tpm_sc
H A Dtpm_crb.c401 sc->total_length = bytes_available;
H A Dtpm_tis_core.c472 sc->total_length = bytes_available;
/freebsd-current/sys/dev/sfxge/common/
H A Def10_nvram.c55 * This is different from tlv_partition_header.total_length,
635 header->total_length = __CPU_TO_LE_32(new_len);
667 size_t total_length; local
692 total_length = __LE_TO_CPU_32(header->total_length);
693 if (total_length > partn_size) {
728 for (pos = 0; (size_t)pos < total_length; pos += sizeof (uint32_t)) {
808 header.total_length = 0; /* This will be fixed below. */
1247 size_t total_length; local
1279 total_length
1862 size_t total_length = 0; local
[all...]
H A Def10_tlv_layout.h126 uint32_t total_length; member in struct:tlv_partition_header
/freebsd-current/sys/dev/gve/
H A Dgve_adminq.h108 __be16 total_length; member in struct:gve_device_descriptor
H A Dgve_adminq.c122 char *desc_end = (char *)descriptor + be16toh(descriptor->total_length);
/freebsd-current/sys/dev/ice/
H A Dice_protocol_type.h223 __be16 total_length; member in struct:ice_ipv4_hdr
/freebsd-current/sys/dev/qlxgb/
H A Dqla_hw.c925 uint32_t total_length = 0, bytes, tx_cmd_count = 0; local
938 total_length = mp->m_pkthdr.len;
939 if (total_length > QLA_MAX_TSO_FRAME_SIZE) {
941 __func__, total_length);
1016 tx_cmd->data_len_lo = (uint8_t)(total_length & 0xFF);
1017 tx_cmd->data_len_hi = qla_host_to_le16(((uint16_t)(total_length >> 8)));
/freebsd-current/sys/dev/qlxge/
H A Dqls_hw.c670 uint32_t total_length = 0; local
677 total_length = mp->m_pkthdr.len;
679 if (total_length > QLA_MAX_TSO_FRAME_SIZE) {
681 __func__, total_length);
720 tx_mac->frame_length = total_length;
725 QL_DPRINT2((dev, "%s: 1 [%d, %d]\n", __func__, total_length,
736 QL_DPRINT2((dev, "%s: 2 [%d, %d]\n", __func__, total_length,
/freebsd-current/contrib/tcpdump/
H A Dprint-bgp.c717 u_int total_length, offset; local
719 total_length = 0;
727 total_length += (addr_length >> 3) + 1;
741 total_length += (addr_length >> 3) + 1;
750 return (total_length);
H A Dprint-isoclns.c818 nd_uint16_t total_length; member in struct:clnp_segment_header_t
953 GET_BE_U_2(clnp_segment_header->total_length));
/freebsd-current/sys/dev/qlxgbe/
H A Dql_hw.c2476 uint32_t total_length = 0, bytes, tx_cmd_count = 0, txr_next; local
2492 total_length = mp->m_pkthdr.len;
2493 if (total_length > QLA_MAX_TSO_FRAME_SIZE) {
2495 __func__, total_length);
2604 tx_cmd->data_len_lo = (uint8_t)(total_length & 0xFF);
2605 tx_cmd->data_len_hi = qla_host_to_le16(((uint16_t)(total_length >> 8)));
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_discovery.c77 if (features->aio_subpage.header.total_length >=
79 DBG_INIT("AIO support subpage valid. total_length = 0x%0x.\n",
80 features->aio_subpage.header.total_length);
H A Dsmartpqi_structures.h1167 uint16_t total_length; /** Total length of the page. member in struct:bmic_sense_feature_page_header
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_sriov.c1375 u16 i = 1, total_length = 0; local
1380 tlv = (struct channel_tlv *)((u8 *)tlvs_list + total_length);
1402 total_length += tlv->length;
1404 if (total_length >= sizeof(struct tlv_buffer_size)) {
/freebsd-current/sys/dev/oce/
H A Doce_hw.h2416 uint32_t total_length:16; member in struct:oce_nic_hdr_wqe::__anon3845::__anon3846
2442 uint32_t total_length:16;
H A Doce_if.c1137 nichdr->u0.s.total_length = m->m_pkthdr.len;

Completed in 420 milliseconds