代码拉取完成,页面将自动刷新
/*
* Author: [email protected] and [email protected]
*
* Based on the ipchains code by Paul Russell and Michael Neuling
*
* (C) 2000-2002 by the netfilter coreteam <[email protected]>:
* Paul 'Rusty' Russell <[email protected]>
* Marc Boucher <[email protected]>
* James Morris <[email protected]>
* Harald Welte <[email protected]>
* Jozsef Kadlecsik <[email protected]>
*
* arptables -- IP firewall administration for kernels with
* firewall table (aimed for the 2.3 kernels)
*
* See the accompanying manual page arptables(8) for information
* about proper usage of this program.
*
* 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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <arptables.h>
int
main(int argc, char *argv[])
{
int ret;
char *table = "filter";
arptc_handle_t handle = NULL;
program_name = "arptables";
/* init_extensions();
*/
ret = do_command(argc, argv, &table, &handle);
if (ret)
ret = arptc_commit(&handle);
if (!ret)
fprintf(stderr, "arptables: %s\n",
arptc_strerror(errno));
exit(!ret);
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。