ICMP Protocol】的更多相关文章

[ICMP Protocol] 参考: 1.ICMP Types and Codes:http://www.nthelp.com/icmp.html 2.RFC 792 - Internet Control Message Protocol:http://www.faqs.org/rfcs/rfc792.html…
以下代码取自 kernel- . [数据结构] struct icmp_control { void (*handler)(struct sk_buff *skb); //icmp处理函数,根据icmp的类型字段 short error; /* This ICMP is classed as an error message */ }; ]; //每个icmp类型有一个项 [/数据结构] [初始化] 文件net/ipv4/af_inet.c中,函数 static int __init inet_…
A method for optimizing the throughput of TCP/IP applications by aggregating user application data and consolidating multiple TCP/IP connection streams into a single optimized stream for delivery to a destination application. Optimization of the inte…
下载ping程序源代码等信息,可以在这里下载 [root@ht8 network-scripts]# ping -V ping utility, iputils-s20160308 //ping实用程序,是在iputils这个包里面//注意iputils是个工具包,包括了arping,ping,tr…
http://blog.packagecloud.io/eng/2016/06/22/monitoring-tuning-linux-networking-stack-receiving-data/ Jun 22, 2016 • packagecloud Tags: packagecloud linux kernel networking optimization tuning monitoring TL;DR This blog post explains how computers runn…
普通网络驱动程序中必须要调用的函数是eth_type_trans(略),然后向上递交sk_buff时调用netif_rx()(net/core/dev.c).其函数中主要几行 __skb_queue_tail(&queue->input_pkt_queue, skb);添加skb到接受队列中 netif_rx_schedule(&queue->backlog_dev); 开启接受软中断处理. struct softnet_data * queue 在net_dev_init()…
本文转载自 http://www.ietf.org/rfc/rfc3261.txt 中文翻译可参考 http://wenku.baidu.com/view/3e59517b1711cc7931b71654.html Network Working Group J. Rosenberg Request for Comments: 3261 dynamicsoft Obsoletes: 2543 H. Schulzrinne Category: Standards Track Columbia U.…
以太网协议分析函数: void ethernet_protocol_packet_handle (u_char *argument, const struct pcap_pkthdr *packet_header, const u_char *packet_content) 说明:首先对物理帧帧作分析,看其中包含的是IP包还是ARP数据包.如果是IP包则转入到IP包处理函数. IP包处理函数 void ip_protocol_packet_handle(u_char *argument, con…
本文主要讲解了Linux中处理需要传输的IP报文流程,使用的内核的版本是2.6.32.27 为了方便理解,本文采用整体流程图加伪代码的方式对Linux中处理需要传输的IP报文流程进行了讲解,希望可以对大家有所帮助.阅读本文章假设大家对C语言有了一定的了解 首先从IP的更高层传输层看看是如何管理的 //---------------------------------------------------------------------------------------------------…
Magnum版本说明 本文以magnum的mitaka版本代码为基础进行分析. Magnum Kubernetes Magnum主要支持的概念有bay,baymodel,node,pod,rc,service.其中Magnum可以创建kubernetes的bay,即kubernetes的集群.本文主要介绍的就是magnum中kubernetes bay的创建过程. Kubernetes Bay创建流程 首先通过magnum-api发起创建bay的请求,api的入口函数在这里. @expose.e…