public class KrakenIpv6Handler extends KrakenBaseProtocol
Ipv6Decoder
and builds
Ipv6Activity
objects during the process.
Since the protocol numbers for the next protocol decoder may be arbitrary it registers to all protocol numbers in the
range [0x00;0xFF[ using the same processor.
Forward bindings are provided for:
Modifier and Type | Field and Description |
---|---|
static ProtocolId |
krakenIpv6ProtocolId |
static String |
NEW_IPV_6_ACTIVITY_PROPERTY_NAME |
BINDING_METHOD_NAME, log, propertyChangeSupport, protocolSetting
Constructor and Description |
---|
KrakenIpv6Handler() |
Modifier and Type | Method and Description |
---|---|
void |
bind(KrakenEthernetProtocolHandler ethernetProtocol)
Experimental backward binding using an Ethernet decoder that is to be bound to this IPv6 decoder.
|
void |
bind(KrakenIcmpv6Handler icmpv6Handler)
Bind the internal
Ipv6Decoder to an ICMPv6 decoder, i.e. |
void |
bind(KrakenTcpHandler tcpProtocol)
Forward binding from this IPv6 decoder to a TCP protocol decoder.
|
void |
bind(KrakenUdpHandler udpHandler)
Forward binding from this IPv6 decoder to an UDP decoder.
|
org.krakenapps.pcap.decoder.ipv6.Ipv6Decoder |
getKrakenIpv6Decoder() |
ProtocolId |
getProtocolId()
An arbitrary identifier for the protocol(s) this decoder should be able to parse and decode.
|
void |
initialize(KrakenProtocolConfiguration setting)
Initializes this protocol decoder with the information provided by the user.
|
addPropertyChangeListener, addPropertyChangeListener, bind, findProtocolBindingMethod, getCurrentPcapActivity, getPcapHandler, getProtocolConfiguration, removePropertyChangeListener, removePropertyChangeListener
public static final String NEW_IPV_6_ACTIVITY_PROPERTY_NAME
public static final ProtocolId krakenIpv6ProtocolId
public ProtocolId getProtocolId()
BaseProtocol
public void initialize(KrakenProtocolConfiguration setting)
KrakenBaseProtocol
KrakenProtocolConfigurationBuilderImpl
before the bindings are processed.
This method should be called exactly once, multiple calls will result in an exception being thrown.initialize
in class KrakenBaseProtocol
setting
- the protocol configuration provided by the userpublic void bind(KrakenEthernetProtocolHandler ethernetProtocol)
ethernetProtocol
- the Ethernet decoder to bind to this IPv6 decoderpublic void bind(KrakenTcpHandler tcpProtocol)
tcpProtocol
- the TCP decoder to receive the decoded IPv6 packetspublic void bind(KrakenUdpHandler udpHandler)
udpHandler
- the UDP decoder to receive the decoded IPv6 packetspublic void bind(KrakenIcmpv6Handler icmpv6Handler)
Ipv6Decoder
to an ICMPv6 decoder, i.e.
a decoder that shall receive all decoded IP packets.icmpv6Handler
- the ICMPv6 decoder to bind toIllegalArgumentException
- if the parameter is a null pointerpublic org.krakenapps.pcap.decoder.ipv6.Ipv6Decoder getKrakenIpv6Decoder()
Copyright © 2013–2015 Institute of networks and security. All rights reserved.