V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
huangya
V2EX  ›  Linux

<<深入理解 Linux 网络技术内幕>>是基于哪个具体的 Linux 内核版本

  •  
  •   huangya · 2021-09-04 23:47:46 +08:00 · 2125 次点击
    这是一个创建于 1179 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近在看这本书,想知道是基于哪个具体的 linux 内核版本。 看起来是 2.4.X,这个 X 到底是多少?有人知道吗?
    第 1 条附言  ·  2021-09-05 10:52:08 +08:00
    根据 https://lwn.net/Articles/168894/ 好像是 2.6.

    In the case of this book, there is no word anywhere regarding which version is covered. It is clearly a 2.6 book, but that is all we know. Your editor has come to the conclusion from his reading that the book was a long time in the writing (not surprising: the subject matter is complex, and the book is over 1,000 pages long), and that, if an effort was made to make it consistently current for a specific kernel version, that effort was incomplete. The section on interrupts, for example, presents the old prototype for interrupt handlers last seen in the 2.5.68 kernel. Other parts are much more current. The book is a bit of a patchwork in that regard.
    5 条回复    2021-09-06 12:17:39 +08:00
    zhoudaiyu
        1
    zhoudaiyu  
       2021-09-05 15:32:57 +08:00 via iPhone
    老哥是做网卡驱动开发的嘛
    huangya
        2
    huangya  
    OP
       2021-09-05 18:00:16 +08:00
    @zhoudaiyu 哈哈,做 linux 网络相关,从驱动到内核协议栈以及应用层都要有所了解
    zhoudaiyu
        3
    zhoudaiyu  
       2021-09-05 18:34:18 +08:00 via iPhone
    @huangya 老哥,我就想了解一下从 skb 到 netfilter 再到应用层这个链路,有啥资料推荐码
    huangya
        4
    huangya  
    OP
       2021-09-05 18:42:29 +08:00   ❤️ 1
    @zhoudaiyu 我最近在对着此图看[1],虽然有些地方还没搞懂或者不确定,但你可以试试看。

    [1]https://upload.wikimedia.org/wikipedia/commons/3/37/Netfilter-packet-flow.svg
    oooolongtea
        5
    oooolongtea  
       2021-09-06 12:17:39 +08:00
    我之前也想读这本书,后来我选了《网络是怎样连接的》 https://book.douban.com/subject/26941639/
    这本也很棒可以结合着阅读。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5482 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:48 · PVG 16:48 · LAX 00:48 · JFK 03:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.