Tutorial >> Summary Information | TOC |
The plugin directory for the predefined (standard) plugins is ~onl/stdPlugins. This page summarizes these plugins. In each case, the plugin directory name is given which indicates both the plugin name and the plugin ID. Recall that the plugin directory name recognized by the RLI must be named in the format <Plugin Name>-<Plugin ID>. For example, COUNTER-432 is the directory for the COUNTER plugin whose ID is 432.
Purpose:
Source Code: COUNTER.c, COUNTER.h
Messages:
Code | Command | Arguments |
---|---|---|
all | Return packet count | None |
Purpose:
Messages:
Code | Command | Arguments |
---|---|---|
1 | Return and then zero the counts | None |
2 | Return the counts | None |
all else | Null | None |
Purpose:
Source Code: stringSub.c, stringSub.h
Messages:
Code | Command | Arguments |
---|---|---|
1 | Return the number of occurrences of "HELLO" and the number of packets | None |
all else | Null | None |
Purpose:
Source Code: multicast.c, multicast.h
Messages:
Code | Command | Arguments |
---|---|---|
1 | Return the destination vector | None |
2 | Add a VOQ (output port) to the destination vector | Output port number |
3 | Remove a VOQ (output port) from the destination vector | Output port number |
all else | Null | None |
Purpose:
All counters can be zeroed through command 3.
Source Code: pdelay.c, pdelay.h
Command Messages:
Code | Command | Arguments |
---|---|---|
0 | Return counts (debug mode) | None |
1 | Return counts | None |
2 | Set the delay and return counts | Delay (msec) |
3 | Reset all counters and return counts | None |
4 | Change the callback period and return counts | msec |
all else | Return counts | None |
Reply Messages:
Tutorial >> Summary Information | TOC |