next up previous contents
Next: Pragmas Up: Under the hood Previous: Class selection path internals   Contents


Tags

Queuing disciplines, classes, filters, tunnels, filter elements (except elements of route and if), policers, and buckets can be numbered.

Similarly, a text string can be assigned to all those items, and also to devices. This ``tag'' is shown in the location map (see section 5.3.1). It can be assigned by simply putting a string expression among the parameters of the respective item. Optionally, this string can be prefixed with the parameter name tag, which is useful when writing macros.

Example:

dev "eth0"(tag "blah") {
    fifo (limit 100kB,"my_fifo");
}

Note that tags may not contain spaces.



Martin A. Brown 2003-11-06