#include "usg_common.h"
|
static void sig_quit(int);
|
#define SIGCLOSE1 (SIGRTMIN +1)
|
|
struct cm_con_data_t
|
{
|
uint64_t addr; /* Buffer address */
|
uint32_t rkey; /* Remote key */
|
uint32_t qp_num; /* QP number */
|
uint16_t lid; /* LID of the IB port */
|
uint8_t gid[16]; /* gid */
|
} __attribute__ ((packed));
|
|
|
|
|
struct cm_con_data2_t
|
{
|
uint64_t addr; /* Buffer address */
|
uint32_t rkey; /* Remote key */
|
uint32_t qp_num; /* QP number */
|
uint16_t lid; /* LID of the IB port */
|
uint8_t gid[16]; /* gid */
|
} ;
|
|
int
|
main(void)
|
{
|
|
printf("===%d, %d \n", sizeof(cm_con_data_t), sizeof(cm_con_data2_t));
|
/* SIGQUIT here will terminate with core file */
|
}
|
|