IPv6TestAdapter v47 build 0.8

com.testingtech.ttcn.tri
Class ExternalFunctions_IPv6

java.lang.Object
  extended bycom.testingtech.ttcn.tri.ExternalFunctions_IPv6
All Implemented Interfaces:
com.testingtech.ttcn.tri.ExternalFunctionsDefinition

public class ExternalFunctions_IPv6
extends java.lang.Object
implements com.testingtech.ttcn.tri.ExternalFunctionsDefinition

This class implements all the external function declaration of the IPv6 ATS(STF276)


Constructor Summary
ExternalFunctions_IPv6(de.tu_berlin.cs.uebb.muttcn.runtime.RB rb)
           
 
Method Summary
 EnumeratedValue fx_configPorts(RecordValue p_portCfg)
          This external function maps ports to mac-addresses
 com.testingtech.generated.codec.Oct1to255 fx_getMacAddr(com.testingtech.generated.codec.Ipv6Address p_ipv6Address)
          This external function returns the mac address which corresponds to the ip address
 OctetstringValue fx_icmpv6Checksum(UnionValue p_packet)
          This external function calculates the checksum
 IntegerValue fx_payloadLength(UnionValue p_msg)
          This external function calculates the payload length of a IPv6 packet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalFunctions_IPv6

public ExternalFunctions_IPv6(de.tu_berlin.cs.uebb.muttcn.runtime.RB rb)
Method Detail

fx_getMacAddr

public com.testingtech.generated.codec.Oct1to255 fx_getMacAddr(com.testingtech.generated.codec.Ipv6Address p_ipv6Address)
This external function returns the mac address which corresponds to the ip address

Parameters:
p_ipv6Address - The given IPv6 address
Returns:
Oct1to255, the MAC address

fx_configPorts

public EnumeratedValue fx_configPorts(RecordValue p_portCfg)
This external function maps ports to mac-addresses

Parameters:
p_portCfg - The port configuration
Returns:
FncRetCode, the status of the external function

fx_payloadLength

public IntegerValue fx_payloadLength(UnionValue p_msg)
This external function calculates the payload length of a IPv6 packet

Parameters:
p_msg - The IPv6 packet for calculation.
Returns:
The payload length.

fx_icmpv6Checksum

public OctetstringValue fx_icmpv6Checksum(UnionValue p_packet)
This external function calculates the checksum

Parameters:
p_packet - The Icmpv6 packet for calculation.
Returns:
The calculated checksum.

IPv6TestAdapter v47 build 0.8

Submit a bug or feature

IPv6TestAdapter is a trademark or registered trademark of Testing Technologies IST GmbH in Germany and possibly in other countries.
(c) Copyright 2001-2005 Testing Technologies IST GmbH, Rosenthaler Str. 13, 10119 Berlin, Germany. All Rights Reserved.