隨筆 - 53, 文章 - 0, 評論 - 3, 引用 - 0
          數據加載中……

          Learning Notes of TCP/IP Illustated Volume 2

          How to read the source code in <<TCP/IP Illustrated Volume 2>>

          1. Get the source code, original link provided in the book is not available now.
          You may need to google it.

          2. install cscope and vi.

          3. refer to http://cscope.sourceforge.net/large_projects.html for the following steps.

          It will include all the source code of the whole OS, not only the kernel.
          find src -name '*.[ch]' > cscope.files

          we actually only care kernel source.
          find src/sys -name '*.[ch]' > cscope.files

          4.  wc cscope.files
           1613  1613 45585 cscope.files

          5. vim
          :help cscope
          then you can read the help details.

          6. if you run vim in the folder where cscope.out resides. then it will be loaded
          automaically.

          7. Try a few commands.
          :cs find g mbuf
          :cs find f vm.h

          They works. A good start.

          P.S. this book is quite old, if you know it well and can recommend some better alternative for learning TCP/IP, please post a comments, Thanks in advance.


          posted on 2010-03-29 13:30 InPractice 閱讀(139) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 嵩明县| 吉安县| 隆安县| 泽库县| 新兴县| 土默特左旗| 女性| 漠河县| 怀远县| 湘西| 余江县| 汨罗市| 湖南省| 城固县| 双桥区| 光山县| 曲阜市| 锡林浩特市| 铜山县| 黄平县| 柞水县| 南康市| 盐池县| 班玛县| 大悟县| 买车| 金乡县| 西乌| 青岛市| 元阳县| 鸡泽县| 连城县| 临潭县| 栾城县| 郯城县| 邵东县| 鲁甸县| 绿春县| 申扎县| 正定县| 凉山|