mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[SCTP]: SCTP_CMD_PROCESS_CTSN annotations.
argument passed as __be32 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9f81bcd942
commit
2178eda826
3 changed files with 4 additions and 2 deletions
|
@ -116,6 +116,7 @@ typedef enum {
|
|||
typedef union {
|
||||
__s32 i32;
|
||||
__u32 u32;
|
||||
__be32 be32;
|
||||
__u16 u16;
|
||||
__u8 u8;
|
||||
int error;
|
||||
|
@ -165,6 +166,7 @@ SCTP_## name (type arg) \
|
|||
|
||||
SCTP_ARG_CONSTRUCTOR(I32, __s32, i32)
|
||||
SCTP_ARG_CONSTRUCTOR(U32, __u32, u32)
|
||||
SCTP_ARG_CONSTRUCTOR(BE32, __be32, be32)
|
||||
SCTP_ARG_CONSTRUCTOR(U16, __u16, u16)
|
||||
SCTP_ARG_CONSTRUCTOR(U8, __u8, u8)
|
||||
SCTP_ARG_CONSTRUCTOR(ERROR, int, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue