next up previous contents
Next: Queuing discipline numbers Up: Historical constructs Previous: Historical constructs   Contents


Interfaces revisited

tcng supports various abbreviated forms of interface sections. All these abbreviations have in common that they either cause some restrictions, or may lead to ambiguities. The following abbreviations are possible:

Examples:

/* no interface name, no curly braces */
fifo;

/* no interface name */
{
    fifo;
}

/* no "dev" keyword, name is bare word */
eth0 {
    fifo;
}

/* name contains special characters and must
   be quoted */
"funny:name" {
    fifo;
}

Interface names can also be followed by a parameter list in parentheses. This is necessary when using tags or pragmas, see sections 3.10 and 3.11.


next up previous contents
Next: Queuing discipline numbers Up: Historical constructs Previous: Historical constructs   Contents
Martin A. Brown 2003-11-06