summaryrefslogtreecommitdiffstats
path: root/include/net/sctp/command.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 17:26:53 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:27:14 -0800
commit2178eda82616566b7397791afa6e5487990bac8e (patch)
treee266fea4190136027e66e889ed0c6b790c363c1d /include/net/sctp/command.h
parent9f81bcd9429e9bb4006eb9b7df276706c5df926d (diff)
[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>
Diffstat (limited to 'include/net/sctp/command.h')
-rw-r--r--include/net/sctp/command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sctp/command.h b/include/net/sctp/command.h
index dfe5d44b61a..6114c4f54b0 100644
--- a/include/net/sctp/command.h
+++ b/include/net/sctp/command.h
@@ -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)