Commit 906f8257 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

sctp: Add some missing types for debug message

This patch add the type name "AUTH" and primitive type name
"PRIMITIVE_ASCONF" for debug message.
Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bcc2cb3b
...@@ -86,6 +86,9 @@ const char *sctp_cname(const sctp_subtype_t cid) ...@@ -86,6 +86,9 @@ const char *sctp_cname(const sctp_subtype_t cid)
case SCTP_CID_FWD_TSN: case SCTP_CID_FWD_TSN:
return "FWD_TSN"; return "FWD_TSN";
case SCTP_CID_AUTH:
return "AUTH";
default: default:
break; break;
} }
...@@ -135,6 +138,7 @@ static const char *sctp_primitive_tbl[SCTP_NUM_PRIMITIVE_TYPES] = { ...@@ -135,6 +138,7 @@ static const char *sctp_primitive_tbl[SCTP_NUM_PRIMITIVE_TYPES] = {
"PRIMITIVE_ABORT", "PRIMITIVE_ABORT",
"PRIMITIVE_SEND", "PRIMITIVE_SEND",
"PRIMITIVE_REQUESTHEARTBEAT", "PRIMITIVE_REQUESTHEARTBEAT",
"PRIMITIVE_ASCONF",
}; };
/* Lookup primitive debug name. */ /* Lookup primitive debug name. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment