view rvinterf/etmsync/localstruct.h @ 356:4e0aa166baa5

target-utils/tf-breakin: payload written for the TF C139 break-in attempt
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 09:18:23 +0000
parents 517e8a428fde
children
line wrap: on
line source

/*
 * The struct defined below captures the results of a stat (actually xlstat)
 * operation on the target; it is a host (aka local) struct, with host byte
 * ordering, alignment and data types.
 */

struct stat_info {
	u8	type;
	u8	flags;
	int	inode;
	u32	size;     // size of data space occupied by object
	u32	space;    // size of physical data space occupied by object
	u32	location;
	u8	block;
	u16	sequence;
	u16	updates;
};