Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
2Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Www Cs Unh Edu Cnrg People Gherrin Linux Net HTML

Www Cs Unh Edu Cnrg People Gherrin Linux Net HTML

Ratings: (0)|Views: 2,107|Likes:
Published by pejmanhex

More info:

Published by: pejmanhex on Nov 06, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/30/2013

pdf

text

original

 
pdfcrowd.comopen in browserPRO version
Are you a developer? Try out theHTML to PDF API
Linux IP Networking
A Guide to the Implementation and Modification of the Linux Protocol Stack
Glenn Herrin
TR 00-04
Department of Computer Science University of New Hampshire 
May 31, 2000
Abstract
This document is a guide to understanding ho w the Linux kernel (version 2.2.14 specifically) implements networkingprotocols, focused primarily on the InternetProtocol (IP). It is intended as a complete reference for experimenters with overviews, walk-throughs, source code explanations, and examples. The first part contains an in-depthexamination of the code, data structures, and functionality involved with networking. There are chapters oninitialization, connections and sockets, and receiving, transmitting, and forwarding packets. The second partcontains detailed instructions for modifiying the kernel source code and installing new modules. There are chapterson kernel installation, modules, the
 proc
file system, and a complete example.
Contents
1 Introduction
 
pdfcrowd.comopen in browserPROversion
Are you a developer? Try out theHTML to PDF API
 1.1 Background 1.2 Document Conventions 1.3 Sample Network Example 1.4 Copyright, License, and Disclaimer 1.5 Acknowledgements2 Message Traffic Overview 2.1 The Network Traffic Path 2.2 The Protocol Stack 2.3 Packet Structure 2.4 Internet Routing3 Network Initialization 3.1 Overview 3.2 Startup 3.2.1 The Network Initialization Script 3.2.2
ifconfig
 3.2.3
route
 3.2.4 Dynamic Routing Programs 3.3 Examples 3.3.1 Home Computer 3.3.2 Host Computer on a LAN 3.3.3 Network Routing Computer 3.4 Linux and Network Program Functions 3.4.1
ifconfig
 3.4.2
route
4 Connections 4.1 Overview 4.2 Socket Structures 4.3 Sockets and Routing 4.4 Connection Processes
 
pdfcrowd.comopen in browserPRO version
Are you a developer? Try out theHTML to PDF API
 4.4.1 Establishing Connections 4.4.2 Socket Call Walk-Through 4.4.3 Connect Call Walk-Through 4.4.4 Closing Connections 4.4.5 Close Walk-Through 4.5 Linux Functions5 Sending Messages 5.1 Overview 5.2 Sending Walk-Through 5.2.1 Writing to a Socket 5.2.2 Creating a Packet with UDP 5.2.3 Creating a Packet with TCP 5.2.4 Wrapping a Packet in IP 5.2.5 Transmitting a Packet 5.3 Linux Functions6 Receiving Messages 6.1 Overview 6.2 Receiving Walk-Through 6.2.1 Reading from a Socket (Part I) 6.2.2 Receiving a Packet 6.2.3 Running the Network ``Bottom Half'' 6.2.4 Unwrapping a Packet in IP 6.2.5 Accepting a Packet in UDP 6.2.6 Accepting a Packet in TCP 6.2.7 Reading from a Socket (Part II) 6.3 Linux Functions7 IP Forwarding 7.1 Overview 7.2 IP Forward Walk-Through 7.2.1 Receiving a Packet

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->