diff --git a/ns/__init__.py b/ns/__init__.py index 8879c6c..4ad67eb 100644 --- a/ns/__init__.py +++ b/ns/__init__.py @@ -1 +1 @@ -__version__ = "0.3.7" +__version__ = "0.3.8" diff --git a/ns/packet/packet.py b/ns/packet/packet.py index 5947474..8a8adc2 100644 --- a/ns/packet/packet.py +++ b/ns/packet/packet.py @@ -5,15 +5,16 @@ class Packet: """ - Packets in ns.py are generally created by packet generators, and will run through - a queue at an output port. + Packets in ns.py are generally created by packet generators, and will + run through a queue at an output port. - Key fields include: generation time, size, flow_id, packet id, source, and - destination. We do not model upper layer protocols, i.e., packets don't contain - a payload. The size (in bytes) field is used to determine its transmission time. + Key fields include: generation time, size, flow_id, packet id, source, + and destination. We do not model upper layer protocols, i.e., packets + don't contain a payload. The size (in bytes) field is used to determine + its transmission time. - We use a float to represent the size of the packet in bytes so that we can compare - to ideal M/M/1 queues. + We use a float to represent the size of the packet in bytes so that we + can compare to ideal M/M/1 queues. Parameters ----------