IpTables Role Scripting Language - MAC Addresses

Note: This feature was added in the 20050418 release.

The Rope language allows MAC addresses to be specified in the source code using a string syntax consisting of hex digit pairs delimited by colons, like this..

 00:0F:1F:5C:30:21

This is exactly equivalent to..

 "\0x00\0x0F0\0x1F\0x5C\0x30\0x21"

But is easier to type and read (well: I think so).

Note that this syntax can only be recognised by the compiler for strings of 2 or more bytes, and so cannot be used for one-byte strings.