@@ -96,17 +96,16 @@ struct pgm_data {
96
96
};
97
97
98
98
typedef enum _pgm_type {
99
- PGM_SPM = 0 , /* source path message */
100
- PGM_POLL = 1 , /* POLL Request */
101
- PGM_POLR = 2 , /* POLL Response */
102
- PGM_ODATA = 4 , /* original data */
103
- PGM_RDATA = 5 , /* repair data */
104
- PGM_NAK = 8 , /* NAK */
105
- PGM_NULLNAK = 9 , /* Null NAK */
106
- PGM_NCF = 10 , /* NAK Confirmation */
107
- PGM_ACK = 11 , /* ACK for congestion control */
108
- PGM_SPMR = 12 , /* SPM request */
109
- PGM_MAX = 255
99
+ PGM_SPM = 0x00 , /* source path message */
100
+ PGM_POLL = 0x01 , /* POLL Request */
101
+ PGM_POLR = 0x02 , /* POLL Response */
102
+ PGM_ODATA = 0x04 , /* original data */
103
+ PGM_RDATA = 0x05 , /* repair data */
104
+ PGM_NAK = 0x08 , /* NAK */
105
+ PGM_NULLNAK = 0x09 , /* Null NAK */
106
+ PGM_NCF = 0x0a , /* NAK Confirmation */
107
+ PGM_ACK = 0x0b , /* ACK for congestion control */
108
+ PGM_SPMR = 0x0c /* SPM request */
110
109
} pgm_type ;
111
110
112
111
#define PGM_OPT_BIT_PRESENT 0x01
0 commit comments