|
JNodeOS v1.2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of BufferHandle in edu.utah.janos.apps.ping |
Methods in edu.utah.janos.apps.ping with parameters of type BufferHandle | |
void |
PingFlow.receive(BufferHandle bh,
int payloadOffset)
|
Uses of BufferHandle in edu.utah.janos.benchmarks |
Methods in edu.utah.janos.benchmarks with parameters of type BufferHandle | |
void |
FloodSink.receive(BufferHandle bh,
int payloadOffset)
|
Uses of BufferHandle in edu.utah.janos.nodeos |
Methods in edu.utah.janos.nodeos that return BufferHandle | |
static BufferHandle |
BufferHandle.create()
Construct a new BufferHandle. |
static BufferHandle |
BufferHandle.create(int offset,
int length)
Constructs a new buffer handle with the given offset and "length". |
static BufferHandle |
BufferHandle.create(BufferHandle other)
Construct a new BufferHandle that points to the same data as the given handle. |
static BufferHandle |
BufferHandle.create(BufferHandle other,
int offset,
int length)
Construct a new BufferHandle that points to the same data as the given handle. |
BufferHandle |
InChannel.remBuffer()
Remove a buffer from the queue of free buffers on this InChannel. |
BufferHandle |
CutThroughChannel.remBuffer()
Remove a buffer from the channel. |
Methods in edu.utah.janos.nodeos with parameters of type BufferHandle | |
static java.lang.String |
Debug.dbgPacketSummary(BufferHandle bufh)
Get a string of the given Buffer. |
static java.lang.String |
Debug.dbgPacketSummary(BufferHandle bufh,
int len)
Get a string of maxDump bytes from the given Buffer. |
static java.lang.String |
Debug.dbgPacketSummary(BufferHandle bufh,
int offset,
int length)
Get a string of a subsequence of the bytes in the given packet. |
static BufferHandle |
BufferHandle.create(BufferHandle other)
Construct a new BufferHandle that points to the same data as the given handle. |
static BufferHandle |
BufferHandle.create(BufferHandle other,
int offset,
int length)
Construct a new BufferHandle that points to the same data as the given handle. |
void |
BufferHandle.cloneHandle(BufferHandle src,
int fromOffset,
int fromLength)
Set this BufferHandle's buffer to point to some sub-sequence of src's buffer. |
void |
BufferHandle.cloneHandle(BufferHandle src)
Set this BufferHandle's buffer to point to src's buffer. |
void |
DeliverFunc.receive(BufferHandle packet,
int payloadOffset)
Invoked once for each packet that is received. |
void |
InChannel.addBuffer(BufferHandle bufh)
Add a buffer to the InChannel |
boolean |
OutChannel.send(BufferHandle bh)
Send a single buffer. |
void |
OutChannel.sendAndRecycle(BufferHandle bh,
InChannel dustbin)
Send a single buffer. |
void |
OutChannel.sendAsync(BufferHandle bh,
DeliverFunc callback)
|
void |
OutChannel.sendv(BufferHandle[] bh)
Send an array of buffer handles. |
boolean |
InChannelHandle.handoff(BufferHandle pkt)
Push a buffer onto the associated InChannel. |
boolean |
InChannelHandle.handoffv(BufferHandle[] bhl)
|
void |
CutThroughChannel.addBuffer(BufferHandle bufh)
Add a buffer to the channel |
int |
ChanStats.marshal(BufferHandle bh,
int offset)
|
int |
ChanStats.unmarshal(BufferHandle bh,
int offset)
|
int |
TimeSpec.marshal(BufferHandle bh,
int offset)
|
int |
TimeSpec.unmarshal(BufferHandle bh,
int offset)
|
int |
FlowStats.marshal(BufferHandle bh,
int offset)
|
int |
FlowStats.unmarshal(BufferHandle bh,
int offset)
|
Uses of BufferHandle in edu.utah.janos.protocols.icmp |
Methods in edu.utah.janos.protocols.icmp with parameters of type BufferHandle | |
int |
ICMPHeader.marshal(BufferHandle bh,
int offset)
|
int |
ICMPHeader.unmarshal(BufferHandle bh,
int offset)
|
Constructors in edu.utah.janos.protocols.icmp with parameters of type BufferHandle | |
ICMPTimeExceeded.ICMPTimeExceeded(int src,
int dst,
BufferHandle bh,
int offset,
int iplen)
Construct an ICMPTimeExceeded packet that reports the dropping of the given packet. |
Uses of BufferHandle in edu.utah.janos.protocols.ip |
Methods in edu.utah.janos.protocols.ip with parameters of type BufferHandle | |
static int |
IPHeader.getDestination(BufferHandle bh,
int offset)
|
static boolean |
IPHeader.consumeTTL(BufferHandle bh,
int offset)
|
int |
IPHeader.marshal(BufferHandle bh,
int offset)
|
int |
IPHeader.unmarshal(BufferHandle bh,
int offset)
|
Uses of BufferHandle in edu.utah.janos.protocols.udp |
Methods in edu.utah.janos.protocols.udp with parameters of type BufferHandle | |
int |
UDPHeader.marshal(BufferHandle bh,
int offset)
|
int |
UDPHeader.unmarshal(BufferHandle bh,
int offset)
|
Uses of BufferHandle in edu.utah.janos.util |
Methods in edu.utah.janos.util with parameters of type BufferHandle | |
int |
PaddingPacketSegment.marshal(BufferHandle bh,
int offset)
|
int |
PaddingPacketSegment.unmarshal(BufferHandle bh,
int offset)
|
void |
Packet.marshal(BufferHandle bh,
int offset)
|
void |
Packet.marshal(BufferHandle bh)
Marshal this packet into the beginning of the given buffer. |
void |
Packet.unmarshal(BufferHandle bh,
int offset)
|
void |
Packet.unmarshal(BufferHandle bh)
Unmarshal this packet from the beginning of the given buffer. |
int |
PacketSegment.marshal(BufferHandle bh,
int offset)
|
int |
PacketSegment.unmarshal(BufferHandle bh,
int offset)
|
int |
PlainPacketSegment.marshal(BufferHandle bh,
int offset)
|
int |
PlainPacketSegment.unmarshal(BufferHandle bh,
int offset)
|
|
JNodeOS v1.2.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |