magma_acl_t Struct Reference
#include <magma_flare_types.h>
Data Fields | |
| struct in_addr | ip |
| struct in_addr | mask |
| char * | path |
| char | operations_allowed |
| uint16_t | line |
| struct magma_acl * | prev |
| struct magma_acl * | next |
Detailed Description
Each ACL is defined as follow:
SHARE: ADDRESS PATH OPERATIONS
where: SHARE is the path of the share to which this ACL applies ADDRESS is an IP address or a netaddress with a netmask PATH is the path this rule applies to OPERATIONS is one of "n", "r" or "w" ("w" implies "r") n: nothing r: read w: write
Each SHARE can have as many rules as needed. For example:
/users: 192.168.1.0/24 / w 192.168.1.0/24 /root n
refers to share "/users" which is exported read/write to all subnet 192.168.1.0/24, with the exception of path "/root" which is not accessible to any node of the network.
Field Documentation
struct in_addr magma_acl_t::ip [read] |
struct in_addr magma_acl_t::mask [read] |
| char* magma_acl_t::path |
| uint16_t magma_acl_t::line |
struct magma_acl* magma_acl_t::prev [read] |
struct magma_acl* magma_acl_t::next [read] |
The documentation for this struct was generated from the following file:
This file last modified Wednesday, 09-Jan-2008 20:02:30 CET