| Package | Description |
|---|---|
| com.h3c.util.pkt |
| Modifier and Type | Class and Description |
|---|---|
class |
Arp
ARP data store (immutable) and associated
Arp.Builder (mutable). |
class |
Bddp
BDDP data store (immutable) and associated
Lldp.Builder (mutable). |
class |
Dhcp
DHCP data store (immutable) add associated
Dhcp.Builder (mutable). |
class |
DhcpV6
DHCPv6 data store (immutable) add associated
DhcpV6.Builder (mutable). |
class |
Dns
DNS Payload (immutable) and its associated Builder to create DNS requests and
responses.
|
class |
Ethernet
Ethernet data store (immutable) and associated
Ethernet.Builder (mutable). |
class |
Icmp
ICMPv4 data store (immutable) and associated
Icmp.Builder (mutable). |
class |
IcmpV6
ICMPv6 data store (immutable) and associated
IcmpV6.Builder (mutable). |
class |
Ip
IPv4 data store (immutable) and associated
Ip.Builder (mutable). |
class |
IpV6
IPv6 data store (immutable) and associated
IpV6.Builder (mutable). |
class |
Lldp
LLDP data store (immutable) and associated
Lldp.Builder (mutable). |
class |
Mpls
MPLS data store (immutable) and associated
Mpls.Builder (mutable). |
class |
PppEthernet
PPP-over-Ethernet data store (immutable) and associated
PppEthernet.Builder
(mutable). |
class |
Sctp
SCTP (Stream Control Transmission Protocol) data store (immutable) and
associated
Sctp.Builder (mutable). |
class |
Tcp
TCP data store (immutable) and associated
Tcp.Builder (mutable). |
class |
Udp
UDP data store (immutable) and associated
Udp.Builder (mutable). |
class |
UnknownProtocol
Unknown protocol (immutable) used to represent payload that we don't
currently support.
|
| Modifier and Type | Method and Description |
|---|---|
<P extends Protocol> |
Packet.get(ProtocolId id)
Returns the protocol with the given protocol ID.
|
| Modifier and Type | Method and Description |
|---|---|
Protocol |
Packet.get(int i)
Returns the protocol layer at the given index.
|
Protocol |
Packet.innermost()
Returns the innermost layer protocol (highest in the network stack).
|
Protocol |
ProtocolException.protocol()
Returns the protocol associated with this exception or null.
|
| Constructor and Description |
|---|
Packet(Protocol... layers)
Constructor creates a packet of protocol layers.
|
ProtocolException(Exception e,
Protocol p)
Constructs a new runtime exception for the specified protocol.
|
ProtocolException(Exception e,
Protocol p,
PacketReader r)
Constructs a new runtime exception for the specified protocol.
|
ProtocolException(String m,
Protocol p,
PacketReader r)
Constructs a new runtime exception for the specified protocol.
|
| Constructor and Description |
|---|
Packet(List<Protocol> layers)
Constructor creates a packet of protocol layers.
|
Copyright © 2014. All Rights Reserved.