mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-04 00:03:25 -04:00
sctp: remove the typedef sctp_param_t
This patch is to remove the typedef sctp_param_t, and replace with struct sctp_paramhdr in the places where it's using this typedef. It is also to remove the useless declaration sctp_addip_addr_config and fix the lack of params for some other functions' declaration. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3c91870492
commit
34b4e29b38
3 changed files with 9 additions and 11 deletions
|
@ -167,7 +167,7 @@ struct sctp_paramhdr {
|
|||
__be16 length;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
enum sctp_param {
|
||||
|
||||
/* RFC 2960 Section 3.3.5 */
|
||||
SCTP_PARAM_HEARTBEAT_INFO = cpu_to_be16(1),
|
||||
|
@ -207,7 +207,7 @@ typedef enum {
|
|||
SCTP_PARAM_RESET_RESPONSE = cpu_to_be16(0x0010),
|
||||
SCTP_PARAM_RESET_ADD_OUT_STREAMS = cpu_to_be16(0x0011),
|
||||
SCTP_PARAM_RESET_ADD_IN_STREAMS = cpu_to_be16(0x0012),
|
||||
} sctp_param_t; /* enum */
|
||||
}; /* enum */
|
||||
|
||||
|
||||
/* RFC 2960 Section 3.2.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue