fn get_shred_size(packet: &Packet) -> Option<usize>