Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
pktcdvd.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  pkt_ctrl_command
 

Macros

#define PACKET_DEBUG   1
 
#define MAX_WRITERS   8
 
#define PKT_RB_POOL_SIZE   512
 
#define PACKET_WAIT_TIME   (HZ * 5 / 1000)
 
#define USE_WCACHING   0
 
#define PACKET_CDR   1
 
#define PACKET_CDRW   2
 
#define PACKET_DVDR   3
 
#define PACKET_DVDRW   4
 
#define PACKET_WRITABLE   1 /* pd is writable */
 
#define PACKET_NWA_VALID   2 /* next writable address valid */
 
#define PACKET_LRA_VALID   3 /* last recorded address valid */
 
#define PACKET_MERGE_SEGS   4 /* perform segment merging to keep */
 
#define PACKET_DISC_EMPTY   0
 
#define PACKET_DISC_INCOMPLETE   1
 
#define PACKET_DISC_COMPLETE   2
 
#define PACKET_DISC_OTHER   3
 
#define PACKET_MODE1   1
 
#define PACKET_MODE2   2
 
#define PACKET_BLOCK_MODE1   8
 
#define PACKET_BLOCK_MODE2   10
 
#define PACKET_SESSION_EMPTY   0
 
#define PACKET_SESSION_INCOMPLETE   1
 
#define PACKET_SESSION_RESERVED   2
 
#define PACKET_SESSION_COMPLETE   3
 
#define PACKET_MCN   "4a656e734178626f65323030300000"
 
#define PKT_CTRL_CMD_SETUP   0
 
#define PKT_CTRL_CMD_TEARDOWN   1
 
#define PKT_CTRL_CMD_STATUS   2
 
#define PACKET_IOCTL_MAGIC   ('X')
 
#define PACKET_CTRL_CMD   _IOWR(PACKET_IOCTL_MAGIC, 1, struct pkt_ctrl_command)
 

Macro Definition Documentation

#define MAX_WRITERS   8

Definition at line 22 of file pktcdvd.h.

#define PACKET_BLOCK_MODE1   8

Definition at line 76 of file pktcdvd.h.

#define PACKET_BLOCK_MODE2   10

Definition at line 77 of file pktcdvd.h.

#define PACKET_CDR   1

Definition at line 49 of file pktcdvd.h.

#define PACKET_CDRW   2

Definition at line 50 of file pktcdvd.h.

#define PACKET_CTRL_CMD   _IOWR(PACKET_IOCTL_MAGIC, 1, struct pkt_ctrl_command)

Definition at line 108 of file pktcdvd.h.

#define PACKET_DEBUG   1

Definition at line 20 of file pktcdvd.h.

#define PACKET_DISC_COMPLETE   2

Definition at line 68 of file pktcdvd.h.

#define PACKET_DISC_EMPTY   0

Definition at line 66 of file pktcdvd.h.

#define PACKET_DISC_INCOMPLETE   1

Definition at line 67 of file pktcdvd.h.

#define PACKET_DISC_OTHER   3

Definition at line 69 of file pktcdvd.h.

#define PACKET_DVDR   3

Definition at line 51 of file pktcdvd.h.

#define PACKET_DVDRW   4

Definition at line 52 of file pktcdvd.h.

#define PACKET_IOCTL_MAGIC   ('X')

Definition at line 107 of file pktcdvd.h.

#define PACKET_LRA_VALID   3 /* last recorded address valid */

Definition at line 59 of file pktcdvd.h.

#define PACKET_MCN   "4a656e734178626f65323030300000"

Definition at line 87 of file pktcdvd.h.

#define PACKET_MERGE_SEGS   4 /* perform segment merging to keep */

Definition at line 60 of file pktcdvd.h.

#define PACKET_MODE1   1

Definition at line 74 of file pktcdvd.h.

#define PACKET_MODE2   2

Definition at line 75 of file pktcdvd.h.

#define PACKET_NWA_VALID   2 /* next writable address valid */

Definition at line 58 of file pktcdvd.h.

#define PACKET_SESSION_COMPLETE   3

Definition at line 85 of file pktcdvd.h.

#define PACKET_SESSION_EMPTY   0

Definition at line 82 of file pktcdvd.h.

#define PACKET_SESSION_INCOMPLETE   1

Definition at line 83 of file pktcdvd.h.

#define PACKET_SESSION_RESERVED   2

Definition at line 84 of file pktcdvd.h.

#define PACKET_WAIT_TIME   (HZ * 5 / 1000)

Definition at line 29 of file pktcdvd.h.

#define PACKET_WRITABLE   1 /* pd is writable */

Definition at line 57 of file pktcdvd.h.

#define PKT_CTRL_CMD_SETUP   0

Definition at line 91 of file pktcdvd.h.

#define PKT_CTRL_CMD_STATUS   2

Definition at line 93 of file pktcdvd.h.

#define PKT_CTRL_CMD_TEARDOWN   1

Definition at line 92 of file pktcdvd.h.

#define PKT_RB_POOL_SIZE   512

Definition at line 24 of file pktcdvd.h.

#define USE_WCACHING   0

Definition at line 39 of file pktcdvd.h.