1 #ifndef _KQ_SENDRECV_PROTO_H_
2 #define _KQ_SENDRECV_PROTO_H_
3 
4 #include <sys/types.h>
5 #include <stdint.h>
6 
7 #define RECV_PORT	11236
8 
9 struct conn_ack {
10 	uint16_t	version;
11 	uint16_t	rsvd;		/* reserved 0 */
12 	uint32_t	rsvd1;		/* reserved 0 */
13 	uint64_t	dummy;
14 } __packed;
15 
16 struct recv_info {
17 	uint16_t	version;
18 	uint16_t	ndport;
19 	uint32_t	rsvd;		/* reserved 0 */
20 
21 	uint16_t	dport[];	/* network byte order */
22 } __packed;
23 
24 #endif	/* !_KQ_SENDRECV_PROTO_H_ */
25