Home
last modified time | relevance | path

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

/tools/netsim/rust/daemon/src/captures/
Dpcap_util.rs149 let packet_data_padding: usize = 4 - packet.len() % 4; in append_record_pcapng() localVariable
150 let block_total_length: u32 = (packet.len() + packet_data_padding + 32) as u32; in append_record_pcapng()
163 output.write_all(&vec![0; packet_data_padding])?; in append_record_pcapng()