icmp_ping.h

来自「xprobe package sources code」· C头文件 代码 · 共 42 行

H
42
字号
/* $Id: icmp_ping.h,v 1.3 2003/08/05 03:35:11 mederchik Exp $ *//*** Copyright (C) 2001 Fyodor Yarochkin <fygrave@tigerteam.net>,**                    Ofir Arkin       <ofir@sys-security.com>**** This program is free software; you can redistribute it and/or modify** it under the terms of the GNU General Public License as published by** the Free Software Foundation; either version 2 of the License, or** (at your option) any later version.****** This program is distributed in the hope that it will be useful,** but WITHOUT ANY WARRANTY; without even the implied warranty of** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the** GNU General Public License for more details.**** You should have received a copy of the GNU General Public License** along with this program; if not, write to the Free Software** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/#ifndef ICMP_PING_H#define ICMP_PING_H#include "xprobe.h"#include "xprobe_module.h"class ICMP_Ping_Mod: public Xprobe_Module {    private:        int do_icmp_ping(Target *);    public:        ICMP_Ping_Mod(void) : Xprobe_Module(XPROBE_MODULE_ALIVETEST, "ping:icmp_ping", "ICMP echo discovery module") { return; }        ~ICMP_Ping_Mod(void) { return; }        int init(void);        int parse_keyword(int, const char *, const char *);        int exec(Target *, OS_Matrix *);        int fini(void);};#endif /* ICMP_PING_H */

⌨️ 快捷键说明

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