public static final class IpV6ExtFragmentPacket.Builder extends AbstractPacket.AbstractBuilder
Constructor and Description |
---|
IpV6ExtFragmentPacket.Builder() |
IpV6ExtFragmentPacket.Builder(IpV6ExtFragmentPacket packet) |
Modifier and Type | Method and Description |
---|---|
IpV6ExtFragmentPacket |
build()
Build a packet object using values set to this object.
|
IpV6ExtFragmentPacket.Builder |
fragmentOffset(short fragmentOffset) |
Packet.Builder |
getPayloadBuilder()
Get the payload builder of this object.
|
IpV6ExtFragmentPacket.Builder |
identification(int identification) |
IpV6ExtFragmentPacket.Builder |
m(boolean m) |
IpV6ExtFragmentPacket.Builder |
nextHeader(IpNumber nextHeader) |
IpV6ExtFragmentPacket.Builder |
payloadBuilder(Packet.Builder payloadBuilder)
Set the payload builder.
|
IpV6ExtFragmentPacket.Builder |
res(byte res) |
IpV6ExtFragmentPacket.Builder |
reserved(byte reserved) |
get, getOuterOf, iterator
public IpV6ExtFragmentPacket.Builder()
public IpV6ExtFragmentPacket.Builder(IpV6ExtFragmentPacket packet)
packet
- packetpublic IpV6ExtFragmentPacket.Builder nextHeader(IpNumber nextHeader)
nextHeader
- nextHeaderpublic IpV6ExtFragmentPacket.Builder reserved(byte reserved)
reserved
- reservedpublic IpV6ExtFragmentPacket.Builder fragmentOffset(short fragmentOffset)
fragmentOffset
- fragmentOffsetpublic IpV6ExtFragmentPacket.Builder res(byte res)
res
- respublic IpV6ExtFragmentPacket.Builder m(boolean m)
m
- mpublic IpV6ExtFragmentPacket.Builder identification(int identification)
identification
- identificationpublic IpV6ExtFragmentPacket.Builder payloadBuilder(Packet.Builder payloadBuilder)
Packet.Builder
payloadBuilder
in interface Packet.Builder
payloadBuilder
in class AbstractPacket.AbstractBuilder
payloadBuilder
- a Builder object to setpublic Packet.Builder getPayloadBuilder()
Packet.Builder
getPayloadBuilder
in interface Packet.Builder
getPayloadBuilder
in class AbstractPacket.AbstractBuilder
public IpV6ExtFragmentPacket build()
Packet.Builder
build
in interface Packet.Builder
build
in class AbstractPacket.AbstractBuilder
Copyright © 2011–2016 Pcap4J.org. All rights reserved.