PIXNET Logo登入

Horace papa's life

跳到主文

To memory my life, learning , family

部落格全站分類:心情日記

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 3月 06 週三 201317:17
  • Ingress frame processing in netif_receive_skb()

netif_receive_skb
1)Both Non-Napi and Napi driver will call the netif_receive_skb() function, Non-Napi driver will through the function of prcess_blocklog(),   Napi driver will through the function of polling function in device driver.
2)The netif_receive_skb() does the below tasks.  
 
 
#skb_bond():
(繼續閱讀...)
文章標籤

horace papa 發表在 痞客邦 留言(0) 人氣(79)

  • 個人分類:networking
▲top
  • 3月 04 週一 201319:33
  • the difference between Non-Napi and Napi driver interface.

10-2. NAPI-aware drivers versus non-NAPI-aware devices
Two ways to receiving rx packets.
1) Non-Napi aware driver:
The device driver interrupt handler calls netif_rx to put the skb received from netdevice into input_pkt_queue per CPU and then call netif_rx_schedule() to add blacklog dev(virtul device) into CPU poll_list and raises softirq.
2) Napi aware driver:
(繼續閱讀...)
文章標籤

horace papa 發表在 痞客邦 留言(0) 人氣(45)

  • 個人分類:networking
▲top
  • 2月 26 週二 201311:02
  • ip packet flow diagram

undefined


 
(繼續閱讀...)
文章標籤

horace papa 發表在 痞客邦 留言(0) 人氣(183)

  • 個人分類:networking
▲top
  • 10月 26 週五 201214:55
  • L2TP (tunneling) support for PPP connections

Layer 2 Tunneling Protocol (L2TP) is a tunneling protocol that extends Point-to-Point Protocol (PPP) to support a link layer tunnel between a requesting L2TP client (L2TP Access Concentrator or LAC) and a target L2TP server endpoint (L2TP Network Server or LNS).
 
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/rzaiy/rzaiyl2tpsupport.htm
 
(繼續閱讀...)
文章標籤

horace papa 發表在 痞客邦 留言(0) 人氣(12)

  • 個人分類:networking
▲top
  • 9月 29 週四 201118:58
  • a good example for descibing the skb API

Layout of SKB data area

This first diagram illustrates the layout of the SKB data area and where in that area the various pointers in 'struct sk_buff' point.
The rest of this page will walk through what the SKB data area looks like in a newly allocated SKB. How to modify those pointers to add headers, add user data, and pop headers.
Also, we will discuss how page non-linear data areas are implemented. We will also discuss how to work with them.
(繼續閱讀...)
文章標籤

horace papa 發表在 痞客邦 留言(0) 人氣(141)

  • 個人分類:networking
▲top
  • 3月 23 週三 201115:51
  • TCP connections


TCP connections
In this section and the upcoming ones, we will take a closer look at the states and how they are handled for each of the three basic protocols TCP, UDP and ICMP. Also, we will take a closer look at how connections are handled per default, if they can not be classified as either of these three protocols. We have chosen to start out with the TCP protocol since it is a stateful protocol in itself, and has a lot of interesting details with regard to the state machine in iptables.
A TCP connection is always initiated with the 3-way handshake, which establishes and negotiates the actual connection over which data will be sent. The whole session is begun with a SYN packet, then a SYN/ACK packet and finally an ACK packet to acknowledge the whole session establishment. At this point the connection is established and able to start sending data. The big problem is, how does connection tracking hook up into this? Quite simply really.
(繼續閱讀...)
文章標籤

horace papa 發表在 痞客邦 留言(0) 人氣(69)

  • 個人分類:networking
▲top
1

個人資訊

horace papa
暱稱:
horace papa
分類:
心情日記
好友:
累積中
地區:

熱門文章

  • (3,073)invalidate/flush cache
  • (2,484)linux sd卡驱动分析,基于mini2440,sdio mmc sd卡驱动编写
  • (1,245)sk_buff structure
  • (638)[音響論壇] 調整LP唱盤的八大基本功
  • (485)[ARM] Buffer allocation for device DMA and DCache coherence
  • (183)ip packet flow diagram
  • (66)DebuggingTheLinuxKernelUsingGdb
  • (41)Linux网络性能优化方法简析(3)
  • (17)some link for porting MIPS driver to arm base suffering issue
  • (8)linux screen 用法

文章分類

  • iptables (1)
  • Makefile (1)
  • ubuntu (2)
  • openocd (0)
  • docker (0)
  • openwrt (1)
  • compiler/tool chain (0)
  • my home (1)
  • tube (7)
  • linux networking (9)
  • LTE (3)
  • networking (1)
  • 音響 (0)
  • Linux (2)
  • 面試考題 (0)
  • eclipse IDE (2)
  • virtualbox (2)
  • EPC airinterface5g (1)
  • 音響 (1)
  • openjtag (3)
  • networking (6)
  • linux application (4)
  • Wireless (2)
  • Linux server setting (1)
  • Linux kernel (16)
  • Linux (6)
  • computing (0)
  • 未分類文章 (1)

最新文章

  • [wireshark] qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
  • Linux iptables and example.
  • Makefile variables
  • Microsoft teams install in ubuntu 16.04 failed " Depends: libgtk-3-0 (>= 3.19.12) but 3.18.9-1ubuntu3.3"
  • [OpenWrt] error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' if (BN_num_bits(key->e) > 64) ^~ scripts/Makefile.host:134:
  • ubuntu system boot up missing share liberary "/sbin/init: error while loading shared librariues librt.so.1"
  • 4-Way Handshake
  • bash ShellCheck
  • what #address-cells and #size-cells mean are in device-tree.
  • An In-Depth Guide to iptables, the Linux Firewall(轉載)

最新留言

  • [16/11/17] 108國語言翻譯公司 於文章「ntp with gps pps imp...」留言:
    <p>25國語言翻譯公司 </p> <p>&nbsp;<...
  • [12/07/30] shihpochan 於文章「sk_buff structure...」留言:
    簡潔有力~~~Good!...

文章精選

文章搜尋

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣: