You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i want to access to Queue size you mention in agent-click-file-gen.py and aslo i have question about the default size. print ''' // create a queue 'q' for transmission of packets by the primary interface (mon0) and connect it to SetTXRate-RadiotapEncap q :: Queue(%s) -> SetTXRate (%s) // e.g. if it is 108, this means 54Mbps=108*500kbps -> RadiotapEncap() -> to_dev :: ToDevice (%s0); ''' % (QUEUE_SIZE, TX_RATE, NETWORK_INTERFACE_NAMES )
the default size is 50, why?
in click Queue documentation
DESCRIPTION: Stores incoming packets in a first-in-first-out queue. Drops incoming packets if the > queue already holds SCAPACITY packets. The default for CAPACITY is 1000.
CAPACITY is 1000 while you used 50 !!!
And, How can i use this ELEMENT HANDLERS in odinagent.cc. Thanks!
length (read-only) — Returns the current number of packets in the queue.
highwater_length (read-only) — Returns the maximum number of packets that have ever been in the queue at once.
capacity (read/write) — Returns or sets the queue's capacity.
drops(read-only) — Returns the number of packets dropped by the queue so far.
reset_counts (write-only) — When written, resets the drops and highwater_length counters.
reset (write-only) — When written, drops all packets in the queue.
The text was updated successfully, but these errors were encountered:
peterrz
changed the title
Information needed about the parameters of the odinagent.cc : reading Queue size
Information needed about the parameter of the odinagent.cc : reading Queue size
Nov 26, 2017
Hi,
i want to access to Queue size you mention in agent-click-file-gen.py and aslo i have question about the default size.
print ''' // create a queue 'q' for transmission of packets by the primary interface (mon0) and connect it to SetTXRate-RadiotapEncap q :: Queue(%s) -> SetTXRate (%s) // e.g. if it is 108, this means 54Mbps=108*500kbps -> RadiotapEncap() -> to_dev :: ToDevice (%s0); ''' % (QUEUE_SIZE, TX_RATE, NETWORK_INTERFACE_NAMES )
the default size is 50, why?
in click Queue documentation
And, How can i use this ELEMENT HANDLERS in odinagent.cc. Thanks!
The text was updated successfully, but these errors were encountered: