?? main.c
字號:
#include <string.h>
#include <stdio.h>
#include "Target\44blib.h"
extern void ARPScan_test(void);
/********************************************/
// ARMSYS實驗二十五:TCP/IP協議棧——ARP協議yingyong
// 描述:編程實現ARP地址掃描器
/********************************************/
void * function[][2]=
{
(void *)ARPScan_test,"Run ARPscan tool",
0,0
};
void Main(void)
{
char aa;
Port_Init();
Uart_Init(0,115200);
Led_Display(0xf);
Uart_Select(0); //Select UART0//
Beep(0x1);
Uart_Printf("\n\n*************************************************************************");
Beep(0x0);
Uart_Printf("\n* 立泰電子 *");
Uart_Printf("\n* -ARP測試工具:Arpscan - *");
Uart_Printf("\n* Version 1.10 *");
Uart_Printf("\n* Email:rao_dali@263.net *");
Uart_Printf("\n* UART Config--COM:115.2kbps,8Bit,NP,UART0 *");
Uart_Printf("\n*----------------------Begin ARPScan,OK? (Y/N)--------------------------*");
Led_Display(0x0);
aa= Uart_Getch();
if((aa=='Y')||(aa=='y'))
( (void (*)(void)) (function[0][0]) )();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -