Packet Flow in Shadow

Applications Applications Applications

Socket buffers Socket buffers

Sending hosts

?

?

Applications call sendto to place packet in socket buffer If socket buffer is full (-1 returned and errno set to EAGAIN)

?

Socket buffers --socket-send-buffer Interface Interface takes packet from socket buffer and places it in discrete event queue

Interface

At rate controlled by bandwidthup

Packets routed to receiving host

Discrete event queue

?

?

?

?

?

?

?

At a rate controlled by packetloss

Packets taken from discrete event queue and placed in interface receive buffer

Receiving hosts

Interface receive buffer Interface receive buffer Interface Socket buffers receive buffer --interface-buffer

Socket buffers

If interface receive buffer is full

?

?

?

?

?

?

Packet taken off interface receive buffer and placed on socket buffer If socket buffer is full

At rate controlled by bandwidthdown

Socket buffers Applications --socket-recv-buffer Applications Applications

Application calls readfrom to receive packet

Rate limiting

?

Packet dropping v0.1 (2013-06-14) Steven J. Murdoch

Shadow packet flow - GitHub

Applications call sendto to place packet in socket buffer. Interface takes packet from socket buffer and places it in discrete event queue. Packets taken from ...

275KB Sizes 5 Downloads 100 Views

Recommend Documents

MESA STEM Shadow Day Industry Packet 2017.pdf
MESA STEM Shadow Day Industry Packet 2017.pdf. MESA STEM Shadow Day Industry Packet 2017.pdf. Open. Extract. Open with. Sign In. Main menu.

Operator Type Operator Java Flow of Control - GitHub
Operator Type. Operator. Java Flow of Control. Unary ! ++ -- + -. Java Evaluates First. Mul plica ve. * / %. Addi ve. + -. Rela onal. < > = Equality. == !=

Patient Packet
In case of Emergency, Contact: Relationship: Home Phone ( ) Work Phone:( ) ... GHLANDS T 425.427.0309 F 425.427.8619 [email protected]

BGP Type Flow Spec BGP Flow Provider Flow Spec BGP ... - Groups
BGP Type Flow Spec. BGP Flow Provider. Flow Spec. BGP Flow web resource. (New). BGP Flow. Decoder. (New). BGP. Driver. (New). ONOS. Flow Rule.