⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bs_udplink.h

📁 wimax bs模拟器
💻 H
字号:
/******************************************************************************\


			Copyright  (c)	2007,  UTStarcom,Inc. (ShenZhen R&D Center)
			All Rights Reserved.

			Subsystem		: WIMAX
			Group			: GW/AnchorDP/...
			File				: bs_udplink.h
			Version			: 
			Build			: 
			Author			: RCT
			Maintained by		: RCT
			Create Date		: 2007-01-22
			Last Modify		: 
			Description		: BS udp link
																			  
\******************************************************************************/
/*
-----------------------------------------------------------
Software Develop CodeName :

Module Reference :
	
-----------------------------------------------------------
Change History:

07-01.25	RCT		create file.
*/
#ifndef _BS_UDPLINK_H
#define _BS_UDPLINK_H

#include <xCommon.h>
#include "r64_message.h"
#include "bs_common.h"

/* Define trace level */
#define BS_UDP_TRACE_NOSHOW         (-1)

#define BS_UDP_TRACE_DETAIL         4
#define BS_UDP_TRACE_GENERAL        5
#define BS_UDP_TRACE_WARNNING       6
#define BS_UDP_TRACE_ERROR          7

#define BS_UDP_TASK_STACK_SIZE      40000
#define BS_UDP_TASK_PRIORITY        52

#define GW_R6_UDP_PORT       6021
#define BS_R6_UDP_PORT       6031
#define DHCP_UDP_PORT		68
#define ACTION_UDP_PORT	6041
#define HOST_BS_UDP_PORT	6051
#define HOST_GW_UDP_PORT	6061

typedef struct _BS_UDP_CB_S{
	DWORD dw_src_ip;
    WORD w_src_udp_port;
    int i_sock_fd;
}BS_UDP_CB_S;

typedef enum _BS_UDP_PORT_INDEX{
    BS_R6_UDP_PORT_ID = 0,
    DHCP_UDP_PORT_ID,
    ACTION_UDP_PORT_ID,
    BS_MAX_UDP_ID
}BS_UDP_PORT_INDEX_E;


STATUS  bs_udp_init();
STATUS  bs_udp_send_packet(int i_fd, DWORD dw_dest_ip, WORD w_dst_udp_port, BYTE * p_buf, DWORD dw_len);
STATUS  bs_r6_msg_send(R64_MSG_S * msg);


	
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -