Changes between Version 9 and Version 10 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelMod
- Timestamp:
- 12/10/13 20:04:05 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelMod
v9 v10 38 38 39 39 '''Notes''' 40 * A Makefile for compiling the module and the source for a stub TCP congestion control module are included in [http://www.gpolab.bbn.com/experiment-support/TCPExampleExperiment/Makefile Makefile]. 40 * A Makefile for compiling the module and the source for a stub TCP congestion control module are included in [attachment:Makefile?format=raw Makefile] 41 {{{#!comment 42 [http://www.gpolab.bbn.com/experiment-support/TCPExampleExperiment/Makefile Makefile]. 43 }}} 41 44 * The module is named `tcp_exp` (for experimental TCP), and the congestion control algorithm is named `exp`. Comments in the provided source file explain the relationship between the various functions, and more information can be found in [http://lwn.net/Articles/128681/ pluggable congestion avoidance modules]. 42 45 * The compiled module (which is built with make and called `tcp_exp.ko`) can be inserted into the kernel using `sudo /sbin/insmod`. It can be removed using the command `sudo /sbin/rmmod tcp_exp` and reloaded with `/sbin/insmod` if changes are required. (If `rmmod` doesn't work initially, make sure `cat /proc/sys/net/ipv4/tcp_congestion_control` does not say `exp` and then logout and then log back into the node and try again.)