Package org.onlab.packet.ipv6
Interface IExtensionHeader
-
- All Known Implementing Classes:
Authentication
,BaseOptions
,DestinationOptions
,Fragment
,HopByHopOptions
,IPv6
,Routing
public interface IExtensionHeader
Interface for IPv6 extension header.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte
getNextHeader()
Gets the type of next header.IExtensionHeader
setNextHeader(byte nextHeader)
Sets the type of next header.
-
-
-
Method Detail
-
getNextHeader
byte getNextHeader()
Gets the type of next header.- Returns:
- next header
-
setNextHeader
IExtensionHeader setNextHeader(byte nextHeader)
Sets the type of next header.- Parameters:
nextHeader
- the next header to set- Returns:
- this
-
-