12 2012 档案
摘要:Packet, Raw, Netlink, and Routing Sockets :Netlink, routing, packet, and raw are all types ofspecialized sockets.Netlink provides a socket-based interface for communication of messages and settings between the user and the internal protocolsRtnetlinkis forapplication-level managementof theneighbor t
阅读全文
摘要:Chapter 5: Linux SocketsSockets provide a standardprotocol-independent interfacebetween the application-level programs and the TCP/IP stack.From the viewpoint of TCP/IP,everything above the transport layer is part ofthe application.The socket API is the best known networking interface for Unix appli
阅读全文
摘要:/***netif_rx-post buffer to the network code*@skb: buffer to post**This function receives a packet from a device driver and queues it for*the upper (protocol) levels to process. It always succeeds. The buffer*may be dropped during processing for congestion control or by the*protocol layers.**return
阅读全文
摘要:原文地址:http://software.intel.com/en-us/articles/avoiding-and-identifying-false-sharing-among-threadsAvoiding and Identifying False Sharing Among ThreadsAbstractIn symmetric multiprocessor (SMP) systems, each processor has a local cache. The memory system must guarantee cache coherence.False sharing oc
阅读全文
摘要:Chap-3:TCP/IP in Embedded SystemsTwo guiding principlesallow protocol stacks to be implemented as shown in the OSI model:information hidingandencapsulation.Thephysical layer(PHY) isresponsible forthemodulationandelectrical details of data transmission.One of theresponsibilitiesof thedata link layeri
阅读全文