Commit fd128dfa authored by Andy Grover's avatar Andy Grover

RDS: Add rds.h to exported headers list

Also, a number of changes were made based on the assumption that
rds.h wasn't exported, so roll these back.
Signed-off-by: default avatarAndy Grover <andy.grover@oracle.com>
parent 20c72bd5
...@@ -302,6 +302,7 @@ header-y += quota.h ...@@ -302,6 +302,7 @@ header-y += quota.h
header-y += radeonfb.h header-y += radeonfb.h
header-y += random.h header-y += random.h
header-y += raw.h header-y += raw.h
header-y += rds.h
header-y += reboot.h header-y += reboot.h
header-y += reiserfs_fs.h header-y += reiserfs_fs.h
header-y += reiserfs_xattr.h header-y += reiserfs_xattr.h
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
struct rds_info_counter { struct rds_info_counter {
u_int8_t name[32]; u_int8_t name[32];
u_int64_t value; u_int64_t value;
} __packed; } __attribute__((packed));
#define RDS_INFO_CONNECTION_FLAG_SENDING 0x01 #define RDS_INFO_CONNECTION_FLAG_SENDING 0x01
#define RDS_INFO_CONNECTION_FLAG_CONNECTING 0x02 #define RDS_INFO_CONNECTION_FLAG_CONNECTING 0x02
...@@ -110,7 +110,7 @@ struct rds_info_connection { ...@@ -110,7 +110,7 @@ struct rds_info_connection {
__be32 faddr; __be32 faddr;
u_int8_t transport[TRANSNAMSIZ]; /* null term ascii */ u_int8_t transport[TRANSNAMSIZ]; /* null term ascii */
u_int8_t flags; u_int8_t flags;
} __packed; } __attribute__((packed));
struct rds_info_flow { struct rds_info_flow {
__be32 laddr; __be32 laddr;
...@@ -118,7 +118,7 @@ struct rds_info_flow { ...@@ -118,7 +118,7 @@ struct rds_info_flow {
u_int32_t bytes; u_int32_t bytes;
__be16 lport; __be16 lport;
__be16 fport; __be16 fport;
} __packed; } __attribute__((packed));
#define RDS_INFO_MESSAGE_FLAG_ACK 0x01 #define RDS_INFO_MESSAGE_FLAG_ACK 0x01
#define RDS_INFO_MESSAGE_FLAG_FAST_ACK 0x02 #define RDS_INFO_MESSAGE_FLAG_FAST_ACK 0x02
...@@ -131,7 +131,7 @@ struct rds_info_message { ...@@ -131,7 +131,7 @@ struct rds_info_message {
__be16 lport; __be16 lport;
__be16 fport; __be16 fport;
u_int8_t flags; u_int8_t flags;
} __packed; } __attribute__((packed));
struct rds_info_socket { struct rds_info_socket {
u_int32_t sndbuf; u_int32_t sndbuf;
...@@ -141,7 +141,7 @@ struct rds_info_socket { ...@@ -141,7 +141,7 @@ struct rds_info_socket {
__be16 connected_port; __be16 connected_port;
u_int32_t rcvbuf; u_int32_t rcvbuf;
u_int64_t inum; u_int64_t inum;
} __packed; } __attribute__((packed));
struct rds_info_tcp_socket { struct rds_info_tcp_socket {
__be32 local_addr; __be32 local_addr;
...@@ -153,7 +153,7 @@ struct rds_info_tcp_socket { ...@@ -153,7 +153,7 @@ struct rds_info_tcp_socket {
u_int32_t last_sent_nxt; u_int32_t last_sent_nxt;
u_int32_t last_expected_una; u_int32_t last_expected_una;
u_int32_t last_seen_una; u_int32_t last_seen_una;
} __packed; } __attribute__((packed));
#define RDS_IB_GID_LEN 16 #define RDS_IB_GID_LEN 16
struct rds_info_rdma_connection { struct rds_info_rdma_connection {
......
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