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

📄 k_route.h

📁 支持IPv6的adov路由协议(本人修改后)
💻 H
字号:
/***************************************************************************** * * Copyright (C) 2001 Uppsala University & Ericsson AB. * Copyright (C) 2003 Simon Fraser University and NewMIC * * 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 * * Authors: Erik Nordstr鰉, <erik.nordstrom@it.uu.se> *        : Peter Lee       <peter.lee@shaw.ca> *           * *****************************************************************************/#ifndef K_ROUTE_H#define K_ROUTE_H#include "defs.h"//PL:#ifdef _IPV6int k_del_arp(struct in6_addr dst);int k_add_rte(struct in6_addr dst, struct in6_addr gtwy, 	      u_int16_t plen, short int hcnt, unsigned int ifindex);int k_chg_rte(struct in6_addr dst, struct in6_addr gtwy, 	      u_int16_t plen, short int hcnt, unsigned int ifindex);int k_del_rte(struct in6_addr dst, struct in6_addr gtwy, u_int16_t plen,	      unsigned int ifindex, unsigned int metric);#elseint k_del_arp(u_int32_t dst);int k_add_rte(u_int32_t dst, u_int32_t gtwy, u_int32_t netm,	      short int hcnt, unsigned int ifindex);int k_chg_rte(u_int32_t dst, u_int32_t gtwy, u_int32_t netm,	      short int hcnt, unsigned int ifindex);int k_del_rte(u_int32_t dst, u_int32_t gtwy, u_int32_t netm);#endif /* _IPV6 */#endif

⌨️ 快捷键说明

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