public class PppEthernet extends Object implements Protocol
PppEthernet.Builder
(mutable).
There are no OpenFlow match fields that reference this protocol.
Modifier and Type | Class and Description |
---|---|
static class |
PppEthernet.Builder
Builder (mutable) used to create new protocol instances.
|
static class |
PppEthernet.Code
Code types.
|
static class |
PppEthernet.PppProtocolId
PPP protocol IDs.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
bytes()
Returns a copy of the payload bytes.
|
PppEthernet.Code |
code()
Returns the PPPoE code.
|
ProtocolId |
id()
Returns the protocol ID.
|
int |
len()
Returns the payload length after decoding.
|
PppEthernet.PppProtocolId |
pppProtocolId()
Returns the PPPoE protocol ID.
|
int |
sessionId()
Returns the PPPoE session ID.
|
String |
toDebugString()
Returns the protocol debug string.
|
String |
toString() |
int |
type()
Returns the PPPoE type.
|
int |
version()
Returns the PPPoE version.
|
public ProtocolId id()
Protocol
public int version()
public int type()
public PppEthernet.Code code()
public int sessionId()
public int len()
public PppEthernet.PppProtocolId pppProtocolId()
public byte[] bytes()
public String toDebugString()
Protocol
toDebugString
in interface Protocol
Copyright © 2015. All Rights Reserved.