5 #include <stdint.h> /* uint32_t */
6 #include <sys/types.h> /* size_t */
7 #include <sys/socket.h> /* socklen_t */
10 /* req_info types, according to the protocol */
11 #define REQTYPE_TIPC 1
14 #define REQTYPE_SCTP 4
18 /* network information */
22 struct sockaddr
*clisa
;
25 /* operation information */
29 const unsigned char *payload
;
33 void (*reply_mini
)(const struct req_info
*req
, uint32_t reply
);
34 void (*reply_err
)(const struct req_info
*req
, uint32_t reply
);
35 void (*reply_long
)(const struct req_info
*req
, uint32_t reply
,
36 unsigned char *val
, size_t vsize
);