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

📄 icmpcode_v4.c

📁 unix下基于IP协议的TRACE ROUTE 代码程序;C/C++语言
💻 C
字号:
#include	"trace.h"char *icmpcode_v4(int code){	switch (code) {	case  0:	return("network unreachable");	case  1:	return("host unreachable");	case  2:	return("protocol unreachable");	case  3:	return("port unreachable");	case  4:	return("fragmentation required but DF bit set");	case  5:	return("source route failed");	case  6:	return("destination network unknown");	case  7:	return("destination host unknown");	case  8:	return("source host isolated (obsolete)");	case  9:	return("destination network administratively prohibited");	case 10:	return("destination host administratively prohibited");	case 11:	return("network unreachable for TOS");	case 12:	return("host unreachable for TOS");	case 13:	return("communication administratively prohibited by filtering");	case 14:	return("host recedence violation");	case 15:	return("precedence cutoff in effect");	default:	return("[unknown code]");	}}

⌨️ 快捷键说明

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