Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dsf-pcapng.c56 bpf_u_int32 total_length; member
63 bpf_u_int32 total_length; member
298 bhdr.total_length = SWAPLONG(bhdr.total_length); in read_block()
309 bhdr.total_length, in read_block()
323 bhdr.total_length); in read_block()
365 btrlr->total_length = SWAPLONG(btrlr->total_length); in read_block()
371 if (bhdr.total_length != btrlr->total_length) { in read_block()
820 amt_read = fread(&total_length, 1, sizeof(total_length), fp); in pcap_ng_check_header()
859 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
870 total_length, in pcap_ng_check_header()
[all …]
/freebsd/contrib/wpa/src/wps/
H A Dndef.c29 u32 total_length; member
75 record->total_length = pos - data; in ndef_parse_record()
76 if (record->total_length > size || in ndef_parse_record()
77 record->total_length < record->payload_length) in ndef_parse_record()
98 data += record.total_length; in ndef_parse_records()
99 len -= record.total_length; in ndef_parse_records()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp641 size_t total_length = 0; in CheckForPacket() local
677 total_length = in CheckForPacket()
718 } else if (total_length > 0) { in CheckForPacket()
722 assert(total_length <= m_bytes.size()); in CheckForPacket()
723 assert(content_length <= total_length); in CheckForPacket()
738 if (m_bytes[0] == '$' && total_length > 4) { in CheckForPacket()
769 strm.Printf("%c%c%c", m_bytes[total_length - 3], in CheckForPacket()
770 m_bytes[total_length - 2], m_bytes[total_length - 1]); in CheckForPacket()
779 (uint64_t)total_length, (int)(total_length), in CheckForPacket()
784 m_history.AddPacket(m_bytes, total_length, in CheckForPacket()
[all …]
/freebsd/crypto/openssl/providers/implementations/rands/seeding/
H A Drand_vms.c364 size_t total_length = 0; in data_collect_method() local
384 total_length = total_elems * sizeof(data.buffer[0]); in data_collect_method()
458 if (!ossl_assert(total_length >= bytes_needed)) { in data_collect_method()
461 bytes_needed, total_length); in data_collect_method()
468 if (total_length > bytes_remaining) in data_collect_method()
469 total_length = bytes_remaining; in data_collect_method()
472 ossl_rand_pool_add(pool, (unsigned char *)data.buffer, total_length, in data_collect_method()
473 8 * total_length / ENTROPY_FACTOR); in data_collect_method()
/freebsd/sys/dev/tpm/
H A Dtpm20.c84 offset = sc->total_length - sc->pending_data_length; in tpm20_read()
156 sc->total_length = 0; in tpm20_discard_buffer()
196 sc->total_length = 0; in tpm20_init()
281 sc->total_length = 0; in tpm20_harvest()
H A Dtpm20.h127 size_t total_length; member
H A Dtpm_crb.c401 sc->total_length = bytes_available; in tpmcrb_transmit()
H A Dtpm_tis_core.c472 sc->total_length = bytes_available; in tpmtis_transmit()
/freebsd/sys/dev/sfxge/common/
H A Def10_nvram.c667 size_t total_length; in ef10_nvram_buffer_validate() local
692 total_length = __LE_TO_CPU_32(header->total_length); in ef10_nvram_buffer_validate()
693 if (total_length > partn_size) { in ef10_nvram_buffer_validate()
1247 size_t total_length; in ef10_nvram_read_tlv_segment() local
1279 total_length = __LE_TO_CPU_32(header->total_length); in ef10_nvram_read_tlv_segment()
1280 if (total_length > max_seg_size) { in ef10_nvram_read_tlv_segment()
1286 if (total_length > EF10_NVRAM_CHUNK) { in ef10_nvram_read_tlv_segment()
1290 total_length - EF10_NVRAM_CHUNK, in ef10_nvram_read_tlv_segment()
1862 size_t total_length = 0; in ef10_nvram_partn_write_segment_tlv() local
1914 if (total_length > partn_size) { in ef10_nvram_partn_write_segment_tlv()
[all …]
H A Def10_tlv_layout.h126 uint32_t total_length; member
/freebsd/sys/dev/qlxgb/
H A Dqla_hw.c925 uint32_t total_length = 0, bytes, tx_cmd_count = 0; in qla_hw_send() local
938 total_length = mp->m_pkthdr.len; in qla_hw_send()
939 if (total_length > QLA_MAX_TSO_FRAME_SIZE) { in qla_hw_send()
941 __func__, total_length); in qla_hw_send()
1016 tx_cmd->data_len_lo = (uint8_t)(total_length & 0xFF); in qla_hw_send()
1017 tx_cmd->data_len_hi = qla_host_to_le16(((uint16_t)(total_length >> 8))); in qla_hw_send()
/freebsd/sys/dev/qlxge/
H A Dqls_hw.c670 uint32_t total_length = 0; in qls_hw_send() local
677 total_length = mp->m_pkthdr.len; in qls_hw_send()
679 if (total_length > QLA_MAX_TSO_FRAME_SIZE) { in qls_hw_send()
681 __func__, total_length); in qls_hw_send()
720 tx_mac->frame_length = total_length; in qls_hw_send()
725 QL_DPRINT2((dev, "%s: 1 [%d, %d]\n", __func__, total_length, in qls_hw_send()
736 QL_DPRINT2((dev, "%s: 2 [%d, %d]\n", __func__, total_length, in qls_hw_send()
/freebsd/sys/dev/ice/
H A Dice_protocol_type.h223 __be16 total_length; member
/freebsd/sys/dev/gve/
H A Dgve_adminq.h108 __be16 total_length; member
H A Dgve_adminq.c122 char *desc_end = (char *)descriptor + be16toh(descriptor->total_length); in gve_process_device_options()
/freebsd/contrib/tcpdump/
H A Dprint-bgp.c717 u_int total_length, offset; in bgp_vpn_sg_print() local
719 total_length = 0; in bgp_vpn_sg_print()
727 total_length += (addr_length >> 3) + 1; in bgp_vpn_sg_print()
741 total_length += (addr_length >> 3) + 1; in bgp_vpn_sg_print()
750 return (total_length); in bgp_vpn_sg_print()
H A Dprint-isoclns.c818 nd_uint16_t total_length; member
953 GET_BE_U_2(clnp_segment_header->total_length)); in clnp_print()
/freebsd/sys/dev/qlxgbe/
H A Dql_hw.c2476 uint32_t total_length = 0, bytes, tx_cmd_count = 0, txr_next; in ql_hw_send() local
2492 total_length = mp->m_pkthdr.len; in ql_hw_send()
2493 if (total_length > QLA_MAX_TSO_FRAME_SIZE) { in ql_hw_send()
2495 __func__, total_length); in ql_hw_send()
2604 tx_cmd->data_len_lo = (uint8_t)(total_length & 0xFF); in ql_hw_send()
2605 tx_cmd->data_len_hi = qla_host_to_le16(((uint16_t)(total_length >> 8))); in ql_hw_send()
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_discovery.c77 if (features->aio_subpage.header.total_length >= in pqisrc_QuerySenseFeatures()
80 features->aio_subpage.header.total_length); in pqisrc_QuerySenseFeatures()
H A Dsmartpqi_structures.h1167 uint16_t total_length; /** Total length of the page. member
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_sriov.c1375 u16 i = 1, total_length = 0; in ecore_dp_tlv_list() local
1380 tlv = (struct channel_tlv *)((u8 *)tlvs_list + total_length); in ecore_dp_tlv_list()
1402 total_length += tlv->length; in ecore_dp_tlv_list()
1404 if (total_length >= sizeof(struct tlv_buffer_size)) { in ecore_dp_tlv_list()
/freebsd/sys/dev/oce/
H A Doce_hw.h2416 uint32_t total_length:16; member
2442 uint32_t total_length:16;
H A Doce_if.c1138 nichdr->u0.s.total_length = m->m_pkthdr.len; in oce_tx()