Skip to content

Commit ff09975

Browse files
Yuxuan Luofxlb
Yuxuan Luo
authored andcommitted
SCTP: Support PAD chunk
Add support for printing PAD chunk based on RFC4820 section3. Example: [PAD]
1 parent 84d5c59 commit ff09975

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

print-sctp.c

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
#define SCTP_I_DATA 0x40
115115
#define SCTP_ASCONF_ACK 0x80
116116
#define SCTP_RE_CONFIG 0x82
117+
#define SCTP_PAD_CHUNK 0x84
117118
#define SCTP_FORWARD_CUM_TSN 0xc0
118119
#define SCTP_ASCONF 0xc1
119120
#define SCTP_I_FORWARD_TSN 0xc2
@@ -136,6 +137,7 @@ static const struct tok sctp_chunkid_str[] = {
136137
{ SCTP_SHUTDOWN_COMPLETE, "SHUTDOWN COMPLETE" },
137138
{ SCTP_I_DATA, "I-DATA" },
138139
{ SCTP_RE_CONFIG, "RE-CONFIG" },
140+
{ SCTP_PAD_CHUNK, "PAD" },
139141
{ SCTP_FORWARD_CUM_TSN, "FOR CUM TSN" },
140142
{ SCTP_ASCONF, "ASCONF" },
141143
{ SCTP_ASCONF_ACK, "ASCONF-ACK" },

0 commit comments

Comments
 (0)