Uses of Class
net.clackrouter.packets.IPPacket

Packages that use IPPacket
net.clackrouter.component.simplerouter Provides core component classes central to the operation of a simple router. 
net.clackrouter.component.tcp A decomposed implementation of a simplified TCP stack. 
net.clackrouter.packets Clack representations of packet data for a variety of core Internet protocols. 
 

Uses of IPPacket in net.clackrouter.component.simplerouter
 

Methods in net.clackrouter.component.simplerouter with parameters of type IPPacket
protected  void IPRouteLookup.debug_addr_print(IPPacket ippacket)
           
protected  boolean IPRouteLookup.ipForward(IPPacket packet)
          Internal function used to forward a packet, either sending it to the local output port, dropping it, or forwarding it via an output port.
protected  boolean IPRouteLookup.isForUs(IPPacket egg)
           
 

Uses of IPPacket in net.clackrouter.component.tcp
 

Methods in net.clackrouter.component.tcp with parameters of type IPPacket
static int TCPChecksum.calcTCPChecksum(IPPacket ippacket)
          Calculates the TCP checksum for the supplied IP packet
static void TCPChecksum.setTCPChecksum(IPPacket ippacket)
          Sets the Checksum field in the TCP header.
static boolean TCPChecksum.verifyTCPChecksum(IPPacket ippacket)
          Verifies the Checksum field in the TCP header.
 

Uses of IPPacket in net.clackrouter.packets
 

Methods in net.clackrouter.packets that return IPPacket
static IPPacket IPPacket.wrap(VNSPacket packet, byte protocol, java.nio.ByteBuffer srcAddr, java.nio.ByteBuffer dstAddr)
          Creates an IP packet by using the supplied packet as a payload.
static IPPacket IPPacket.wrap(VNSPacket packet, byte protocol, java.net.InetAddress srcAddr, java.net.InetAddress destAddr)
           
 

Methods in net.clackrouter.packets with parameters of type IPPacket
static VNSICMPPacket VNSICMPPacket.wrapParamProblem(VNSICMPCode code, IPPacket expired_packet, byte paramProblem)
           
static VNSICMPPacket VNSICMPPacket.wrapTimeExceeded(VNSICMPCode code, IPPacket expired_packet)
           
static VNSICMPPacket VNSICMPPacket.wrapUnreach(VNSICMPCode code, IPPacket bad_port_packet)