
ARP
文章平均质量分 79
安静呆一会儿
这个作者很懒,什么都没留下…
展开
-
ARP1--概念
At nearly every layer of a network architecture there are several potential protocols that could be used.The 10Mbit Ethernet allows all of these protocols (and more) to coexist on a single cable by me原创 2014-11-27 15:34:04 · 517 阅读 · 0 评论 -
arp2-初始化
arp作为Neighboring Subsystem 模块在IPv4上的一种实现,符合Neighboring Subsystem的设计:ARP实现会创建一个表,除了保存一些状态和属性,主要是缓冲ARP的地址。表的定义如下:[ include/net/neighbour.h ]struct neigh_table { struct neigh_table *next; // 所有的协议原创 2014-11-27 08:56:50 · 1152 阅读 · 0 评论 -
arp3-接收
ARP的接收函数为arp_rcv:[ net/ipv4/arp.c ]/* * Receive an arp request from the device layer. */static int arp_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_原创 2014-11-28 11:18:41 · 862 阅读 · 0 评论 -
Neighboring Subsystem
The terms L2 address, hardware address, MAC address, are commonly used to refer to the same concept. In this chapter, wewill mostly use the first term.原创 2014-11-20 14:52:31 · 477 阅读 · 0 评论 -
arp3-探测
对每种Neighboring协议,都要定义一个neigh_ops结构,ARP对应的定义为:[ net/ipv4/arp.c ]static const struct neigh_ops arp_generic_ops = { .family = AF_INET, .solicit = arp_solicit, .error_report = arp_error_report,原创 2014-11-28 13:30:38 · 835 阅读 · 0 评论 -
Toward an Internet Standard Scheme for Subnetting
The original view of the Internet universe was a two-level hierarchy: the top level the Internet as a whole, and the level below it individual networks, each with its own network number.While this v原创 2014-12-03 14:42:06 · 382 阅读 · 0 评论 -
tcp-ip ARP: Address Resolution Protocol
When an Ethernet frame is sent from one host on a LAN to another, it is the 48-bit Ethernet address that determines for which interface the frame is destined. The device driver software never looks at原创 2014-12-26 13:49:02 · 826 阅读 · 0 评论