summaryrefslogtreecommitdiff
path: root/src/recv.h
blob: ab9ef1f76dcb913a8147cc1962539de52cef014a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _RECV_H
#define _RECV_H

#define BUF_SIZE	1500

typedef struct recv_data_s
{		
	int			size;
	uint32_t	src_ip;
	char*		data;	
}recv_data_t;

#ifdef __cplusplus
extern "C" {
#endif

void* udp_recv_data(void *param);
void* recv_data_from_queue(void *param);

#ifdef __cplusplus
}
#endif

#endif