Session for handling ICMPv6 Echo Requests and Replies. More...
Methods | |
Data.Size.Get | |
Returns the data size of our ICMPv6 Echo Requests. More... | |
Data.Size.Set dataSize | |
Configures the data size. More... | |
Description.Get | |
Returns a textual description of the object. | |
DestinationIp.Get | |
Returns the ICMPv6 Echo Request destination IPv6 address. More... | |
DestinationIp.Set ipv6Address | |
Configure the destination IPv6 address. More... | |
Echo.Loop.Count.Get | |
Returns the Echo Request count. More... | |
Echo.Loop.Count.Set packetCount | |
Configures the Echo Request count. More... | |
Echo.Loop.Interval.Get | |
Returns the Echo Request interval. More... | |
Echo.Loop.Interval.Set loopInterval | |
Configures the Echo Request interval. More... | |
Echo.Loop.Start | |
Starts sending Echo Requests in a loop. More... | |
Echo.Loop.Stop | |
Stops sending Echo Requests in a loop. More... | |
Echo.Request.Send | |
Transmit an ICMPv6 Echo Request. More... | |
Echo.Statistics.Clear | |
Resets the ICMPv6 Session statistics. More... | |
Echo.Statistics.Get | |
Returns the ICMPv6 Echo session statistics. More... | |
HopLimit.Get | |
Getting the ICMPv6 Echo Request HopLimit. More... | |
HopLimit.Set hopLimit | |
Setting the ICMPv6 Echo Request HopLimit. More... | |
Identifier.Get | |
Getting the ICMPv6 Echo Request Identifier (Application ID) More... | |
Parent.Get | |
Returns the parent object. | |
Remote.Address.Get | |
Returns the ICMPv6 Echo Request destination IPv6 address. More... | |
Remote.Address.Set ipv6Address | |
Configure the destination IPv6 address. More... | |
Session.Info.Get | |
Returns the session information. More... | |
TrafficClass.Get | |
Retrieves the 'Traffic Class' configuration of the IP layer. More... | |
TrafficClass.Set | |
Configures the 'Traffic Class' used at the IP layer. More... | |
Session for handling ICMPv6 Echo Requests and Replies.
This Session uses the ICMPv6 protocol for receiving and / or transmitting ICMPv6 Echo Request and / or Replies An ICMPv6 session can be created using Layer3.Icmpv6Protocol::Session.Add
Some use cases for this session are:
Layer3.Icmpv6EchoSession::Data.Size.Get |
Returns the data size of our ICMPv6 Echo Requests.
The data size of our ICMPv6 Echo Requests is the payload size of the packet
The ICMPv6 session has been configure to add 76 Bytes payload in the ICMPv6 Request packets
Returns:
76
Layer3.Icmpv6EchoSession::Data.Size.Set | dataSize | ||
Configures the data size.
This method configures the data size of our ICMPv6 Echo Requests
The data size of our ICMPv6 Echo Requests is the payload size of the packet
dataSize | The ICMPv6 data size you wish to configure. Valid range: 0 to <port_mdl> - <icmpv6_header_size>. Where
|
<tcl_error> | bad lexical cast: When the value could not be interpreted as a valid integer |
ByteBlower.Protocol.InvalidValue | When the value is out of range |
Configure 92Bytes payload for the ICMP Request packets
Layer3.Icmpv6EchoSession::DestinationIp.Get |
Returns the ICMPv6 Echo Request destination IPv6 address.
This method returns the IPv6 address which has been configured with DestinationIp.Set
ByteBlower.Session | When the destination IPv6 address was not yet configured |
Returns:
2001:0db8:85a3:0042:1000:8a2e:0370:7334
Layer3.Icmpv6EchoSession::DestinationIp.Set | ipv6Address | ||
Configure the destination IPv6 address.
This method configures the destination IPv6 address for our ICMPv6 Echo packets
The destination IPv6 address defines to where the ICMPv6 Echo Requests will be sent or from where ICMPv6 Echo Responses are / were received.
ipv6Address | The Destination IPv6 Address for this session. |
<tcl_error> | Invalid IPv6 address: When the value could not be interpreted as an IPv6 address |
Layer3.Icmpv6EchoSession::Echo.Loop.Count.Get |
Returns the Echo Request count.
This method returns the number of Echo Requests which will be transmitted when sending in a loop.
The transmit loop is configured to transmit 12345 packets
Returns:
12345
Layer3.Icmpv6EchoSession::Echo.Loop.Count.Set | packetCount | ||
Configures the Echo Request count.
This method configures the number of Echo Requests which will be transmitted when sending in a loop.
The Echo Request Loop can be started using Echo.Loop.Start
packetCount | The number of ICMPv6 Echo Request packets to transmit |
<tcl_error> | bad lexical cast: When the value could not be interpreted as a valid integer |
Configure the loop to transmit 500 ICMP Echo Request packets
Layer3.Icmpv6EchoSession::Echo.Loop.Interval.Get |
Returns the Echo Request interval.
This method returns the interval between subsequent Echo Request packets when sending in a loop.
The Echo Request Loop can be started using Echo.Loop.Start
The transmit loop is configured with an interval of 625 microseconds
Returns:
625000
Layer3.Icmpv6EchoSession::Echo.Loop.Interval.Set | loopInterval | ||
Configures the Echo Request interval.
This method configures the interval between subsequent Echo Request packets when sending in a loop.
The interval has a nanosecond resolution. You can provide a time unit for the loop interval value.
The Echo Request Loop can be started using Echo.Loop.Start
loopInterval | The interval between two ICMPv6 Echo Request packets [ns]. Valid range: 0 to <max_uint64>[ns] Where
|
<tcl_error> | Failed to parse time string: When the value could not be interpreted as a valid time string |
Configure an interval of 50 microseconds (50000 nanoseconds)
Configure an interval of 500 milliseconds
Configure an interval of 1.25 milliseconds
Layer3.Icmpv6EchoSession::Echo.Loop.Start |
Starts sending Echo Requests in a loop.
This method start sending Echo Requests in a loop.
The interval between Echo Request can be configured using the method Echo.Loop.Interval.Set
If a limited number of Echo Request is desired, this can be configured using the method Echo.Loop.Count.Set
Session.Unavailable | When the destination IPv6 address was not yet configured |
Protocol.Session.CreationFailed | When the destination IPv6 address cannot be reached |
Layer3.Icmpv6EchoSession::Echo.Loop.Stop |
Stops sending Echo Requests in a loop.
This method stops sending Echo Requests in a loop. The loop can be started with Echo.Loop.Start
Layer3.Icmpv6EchoSession::Echo.Request.Send |
Transmit an ICMPv6 Echo Request.
This method sends one ICMPv6 Echo Request.
The results/statistics can be obtained using the method Echo.Statistics.Get
ByteBlower.Session.Unavailable | When the destination IPv6 address was not yet configured |
ByteBlower.Protocol.Session.CreationFailed | When the destination IPv6 address cannot be reached |
Layer3.Icmpv6EchoSession::Echo.Statistics.Clear |
Resets the ICMPv6 Session statistics.
This method resets the ICMPv6 Session statistics.
The counters which are returned by Echo.Statistics.Get are set to 0
Layer3.Icmpv6EchoSession::Echo.Statistics.Get |
Returns the ICMPv6 Echo session statistics.
Returns:
RxEchoRequests 0 TxEchoReplies 0 TxEchoRequests 0 RxEchoReplies 0
Layer3.Icmpv6EchoSession::HopLimit.Get |
Layer3.Icmpv6EchoSession::HopLimit.Set | hopLimit | ||
Setting the ICMPv6 Echo Request HopLimit.
The Hop Limit field is decremented when the packet is forwarded by a router.
hopLimit | The ICMPv6 Echo Request ICMPv6 HopLimit for this Session. The maximum legal value is 255. |
Layer3.Icmpv6EchoSession::Identifier.Get |
Layer3.Icmpv6EchoSession::Remote.Address.Get |
Returns the ICMPv6 Echo Request destination IPv6 address.
This method returns the IPv6 address which has been configured with Remote.Address.Set
ByteBlower.Session | When the destination IPv6 address was not yet configured |
Returns:
2001:0db8:85a3:0042:1000:8a2e:0370:7334
Layer3.Icmpv6EchoSession::Remote.Address.Set | ipv6Address | ||
Configure the destination IPv6 address.
This method configures the destination IPv6 address for our ICMPv6 Echo packets
The destination IPv6 address defines to where the ICMPv6 Echo Requests will be sent or from where ICMPv6 Echo Responses are / were received.
ipv6Address | The Destination IPv6 Address for this session. |
<tcl_error> | Invalid IPv6 address: When the value could not be interpreted as an IPv6 address |
Layer3.Icmpv6EchoSession::Session.Info.Get |
Returns the session information.
This method returns the SessionInfo object.
The transmit loop is configured to transmit 12345 packets
Returns:
OID
Layer3.Icmpv6EchoSession::TrafficClass.Get |
Retrieves the 'Traffic Class' configuration of the IP layer.
This method returns a number from 0 up to 255. This value represents the the byte used at the IP layer.
Layer3.Icmpv6EchoSession::TrafficClass.Set |
Configures the 'Traffic Class' used at the IP layer.
The input accepts integers from 0 up to 255. This value will be directly used in byte-sized field at the IP layer. No additional coding is performed.
This method can be called solely during the configuration phase, thus before the parent ByteBlower port is started. Invoking the method at other moments will result in error.