File: device_cmd.h

package info (click to toggle)
util-vserver 0.30.216-pre3054-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,556 kB
  • ctags: 3,909
  • sloc: ansic: 23,121; sh: 16,905; xml: 1,972; makefile: 383; python: 301; perl: 85; awk: 4
file content (17 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _VX_DEVICE_CMD_H
#define _VX_DEVICE_CMD_H


/*  device vserver commands */

#define VCMD_set_mapping	VC_CMD(DEVICE, 1, 0)
#define VCMD_unset_mapping	VC_CMD(DEVICE, 2, 0)

struct	vcmd_set_mapping_v0 {
	const char *device;
	const char *target;
	uint32_t flags;
};


#endif	/* _VX_DEVICE_CMD_H */