{
tcng-spec }
dev eth0 10 Mbps
If the rate is omitted, the interface will only send when polled. The interface definition can be followed by a configuration specification in tcng syntax, in curly braces. In this case, tcsim invokes tcc to translate the specification.
The interface name begins with an alphabetic character or an underscore and is followed by any number of alphanumeric characters, or underscores. The interface name must not be a keyword of the tcsim language (e.g. send, dev, x, etc.)
Alternatively, the interface name can be put in double quotes. In this case, any printable characters and also spaces are allowed in the name.
{
items }