JNodeOS v1.1.5 API

edu.utah.janos.protocols.icmp
Class ICMPTimeExceeded

java.lang.Object
  |
  +--edu.utah.janos.util.Packet
        |
        +--edu.utah.janos.protocols.icmp.ICMPTimeExceeded

public class ICMPTimeExceeded
extends Packet

An ICMPTimeExceeded is a full ICMP packet used to indicate that some IP packet has run out of TTL.


Constructor Summary
ICMPTimeExceeded(int src, int dst, BufferHandle bh, int offset, int iplen)
          Construct an ICMPTimeExceeded packet that reports the dropping of the given packet.
 
Methods inherited from class edu.utah.janos.util.Packet
getLength, getSegments, marshal, marshal, toString, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ICMPTimeExceeded

public ICMPTimeExceeded(int src,
                        int dst,
                        BufferHandle bh,
                        int offset,
                        int iplen)
Construct an ICMPTimeExceeded packet that reports the dropping of the given packet.
Parameters:
src - The source address for this packet.
dst - The destination address for this packet.
bh - The buffer containing the packet that ran out of TTL.
offset - The offset into the buffer where the IP header starts.
iplen - The length of the IP header in the given buffer.

JNodeOS v1.1.5 API

This documentation is Copyright (C) 1998-2001 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/