Yet Another Network Simulator
This network simulator has quite a few ambitious goals:
- provide a UDP/TCP IPv4 stack with multicast support.
- provide a nice network interface API to plug in various types of
- provide at least a CSMA-CD (ethernet) network interface and a 802.11
- provide a nice Packet API which can be used to support:
- libpcap-style packet dumps
- injection and sniffing of real packets in and out of the simulator
to and from a real network
- provide an application-level API similar to normal POSIX environments
to allow the porting of various classic socket-based applications.
For example, apache and various routing daemons.
The code for this simulator is covered by the
Get the code
Release 0.9.0 (2006-05-20)
This release features:
Get it from yans-0.9.0.tar.gz.
- initial work on MAC NQAP/NQSTA support
- Callback re-implementation
- Buffer API re-organization and optimization
- NetworkInterface API split in MacNetworkInterface
- overall code cleanups to decrease coupling between
- add a new std::map-based scheduler
- rework the schedulers to ensure proper event replay
whichever scheduling algorithm is choosen.
- add log and replay capability to the schedulers.
A detailed listing of each release and what features were
added is available on the previous releases page.
The development version of this code is available from our mercurial source code repository
located at http://cutebugs.net/code/yans.
You can browse our latest version online through the link shown above. You can also download
the complete development version together with its history and start working on it with the
following command (provided you have installed a copy of mercurial before):
hg clone http://cutebugs.net/code/yans
Use the code
A very short tutorial on how to use yans is available
This code is now un-maintained since most of the interesting code
moved to ns-3. This page is kept for
archival purposes mainly.