Previous: Site variables, Up: Site-specific information



7.4.2 Site-specific functions

Currently, the site module only defines one function:

is_local_addr (a: addr): bool
returns true if the given address belongs to one of the “local” networks, false otherwise. Updateme: Currently, the test is made by masking the address to /16 and /24 and comparing it to local_16_nets and local_24_nets.