Defines |
| #define | LASTDEFAULT 1048576 |
| #define | STRCMP strcasecmp |
| #define | CONF_LABEL_EXPORT "EXPORT" |
| #define | CONF_EXPORT_ID "Export_id" |
| #define | CONF_EXPORT_PATH "Path" |
| #define | CONF_EXPORT_ROOT "Root_Access" |
| #define | CONF_EXPORT_ACCESS "Access" |
| #define | CONF_EXPORT_READ_ACCESS "R_Access" |
| #define | CONF_EXPORT_READWRITE_ACCESS "RW_Access" |
| #define | CONF_EXPORT_MD_ACCESS "MDONLY_Access" |
| #define | CONF_EXPORT_MD_RO_ACCESS "MDONLY_RO_Access" |
| #define | CONF_EXPORT_PSEUDO "Pseudo" |
| #define | CONF_EXPORT_ACCESSTYPE "Access_Type" |
| #define | CONF_EXPORT_ANON_USER "Anonymous_uid" |
| #define | CONF_EXPORT_ANON_ROOT "Anonymous_root_uid" |
| #define | CONF_EXPORT_ALL_ANON "Make_All_Users_Anonymous" |
| #define | CONF_EXPORT_ANON_GROUP "Anonymous_gid" |
| #define | CONF_EXPORT_NFS_PROTO "NFS_Protocols" |
| #define | CONF_EXPORT_TRANS_PROTO "Transport_Protocols" |
| #define | CONF_EXPORT_SECTYPE "SecType" |
| #define | CONF_EXPORT_MAX_READ "MaxRead" |
| #define | CONF_EXPORT_MAX_WRITE "MaxWrite" |
| #define | CONF_EXPORT_PREF_READ "PrefRead" |
| #define | CONF_EXPORT_PREF_WRITE "PrefWrite" |
| #define | CONF_EXPORT_PREF_READDIR "PrefReaddir" |
| #define | CONF_EXPORT_FSID "Filesystem_id" |
| #define | CONF_EXPORT_NOSUID "NOSUID" |
| #define | CONF_EXPORT_NOSGID "NOSGID" |
| #define | CONF_EXPORT_PRIVILEGED_PORT "PrivilegedPort" |
| #define | CONF_EXPORT_USE_DATACACHE "Cache_Data" |
| #define | CONF_EXPORT_FS_SPECIFIC "FS_Specific" |
| #define | CONF_EXPORT_FS_TAG "Tag" |
| #define | CONF_EXPORT_MAX_OFF_WRITE "MaxOffsetWrite" |
| #define | CONF_EXPORT_MAX_OFF_READ "MaxOffsetRead" |
| #define | CONF_EXPORT_MAX_CACHE_SIZE "MaxCacheSize" |
| #define | CONF_EXPORT_REFERRAL "Referral" |
| #define | CONF_EXPORT_PNFS "Use_pNFS" |
| #define | CONF_EXPORT_UQUOTA "User_Quota" |
| #define | CONF_EXPORT_USE_COMMIT "Use_NFS_Commit" |
| #define | CONF_EXPORT_USE_GANESHA_WRITE_BUFFER "Use_Ganesha_Write_Buffer" |
| #define | CONF_EXPORT_USE_FSAL_UP "Use_FSAL_UP" |
| #define | CONF_EXPORT_FSAL_UP_FILTERS "FSAL_UP_Filters" |
| #define | CONF_EXPORT_FSAL_UP_TIMEOUT "FSAL_UP_Timeout" |
| #define | CONF_EXPORT_FSAL_UP_TYPE "FSAL_UP_Type" |
| #define | CONF_EXPORT_USE_COOKIE_VERIFIER "UseCookieVerifier" |
| #define | FLAG_EXPORT_ID 0x000000001 |
| #define | FLAG_EXPORT_PATH 0x000000002 |
| #define | FLAG_EXPORT_ROOT_OR_ACCESS 0x000000004 |
| #define | FLAG_EXPORT_PSEUDO 0x000000010 |
| #define | FLAG_EXPORT_ACCESSTYPE 0x000000020 |
| #define | FLAG_EXPORT_ANON_ROOT 0x000000040 |
| #define | FLAG_EXPORT_NFS_PROTO 0x000000080 |
| #define | FLAG_EXPORT_TRANS_PROTO 0x000000100 |
| #define | FLAG_EXPORT_SECTYPE 0x000000200 |
| #define | FLAG_EXPORT_MAX_READ 0x000000400 |
| #define | FLAG_EXPORT_MAX_WRITE 0x000000800 |
| #define | FLAG_EXPORT_PREF_READ 0x000001000 |
| #define | FLAG_EXPORT_PREF_WRITE 0x000002000 |
| #define | FLAG_EXPORT_PREF_READDIR 0x000004000 |
| #define | FLAG_EXPORT_FSID 0x000008000 |
| #define | FLAG_EXPORT_NOSUID 0x000010000 |
| #define | FLAG_EXPORT_NOSGID 0x000020000 |
| #define | FLAG_EXPORT_PRIVILEGED_PORT 0x000040000 |
| #define | FLAG_EXPORT_USE_DATACACHE 0x000080000 |
| #define | FLAG_EXPORT_FS_SPECIFIC 0x000100000 |
| #define | FLAG_EXPORT_FS_TAG 0x000200000 |
| #define | FLAG_EXPORT_MAX_OFF_WRITE 0x000400000 |
| #define | FLAG_EXPORT_MAX_OFF_READ 0x000800000 |
| #define | FLAG_EXPORT_MAX_CACHE_SIZE 0x001000000 |
| #define | FLAG_EXPORT_USE_PNFS 0x002000000 |
| #define | FLAG_EXPORT_ACCESS_LIST 0x004000000 |
| #define | FLAG_EXPORT_ACCESSTYPE_LIST 0x008000000 |
| #define | FLAG_EXPORT_ANON_GROUP 0x010000000 |
| #define | FLAG_EXPORT_ALL_ANON 0x020000000 |
| #define | FLAG_EXPORT_ANON_USER 0x040000000 |
| #define | FLAG_EXPORT_CACHE_POLICY 0x080000000 |
| #define | FLAG_EXPORT_USE_UQUOTA 0x100000000 |
| #define | EXPORT_MAX_CLIENTS EXPORTS_NB_MAX_CLIENTS |
| #define | EXPORT_MAX_CLIENTLEN 256 |
| #define | DEFINED_TWICE_WARNING(_str_) |
| #define | MAX_NFSPROTO 10 |
| #define | MAX_NFSPROTO_LEN 256 |
| #define | MAX_TRANSPROTO 10 |
| #define | MAX_TRANSPROTO_LEN 256 |
| #define | MAX_SECTYPE 10 |
| #define | MAX_SECTYPE_LEN 256 |
Functions |
| int | nfs_ParseConfLine (char *Argv[], int nbArgv, char *line, int(*separator_function)(char), int(*endLine_func)(char)) |
| int | nfs_LookupNetworkAddr (char *host, unsigned long *netAddr, unsigned long *netMask) |
| int | nfs_AddClientsToClientArray (exportlist_client_t *clients, int new_clients_number, char **new_clients_name, int option) |
| int | parseAccessParam (char *var_name, char *var_value, exportlist_t *p_entry, int access_option) |
| bool_t | fsal_specific_checks (exportlist_t *p_entry) |
| exportlist_t * | BuildDefaultExport () |
| int | ReadExports (config_file_t in_config, exportlist_t **ppexportlist) |
| int | export_client_match (sockaddr_t *hostaddr, char *ipstring, exportlist_client_t *clients, exportlist_client_entry_t *pclient_found, unsigned int export_option) |
| int | export_client_matchv6 (struct in6_addr *paddrv6, exportlist_client_t *clients, exportlist_client_entry_t *pclient_found, unsigned int export_option) |
| int | nfs_export_check_security (struct svc_req *req, exportlist_t *pexport) |
| int | nfs_export_check_access (sockaddr_t *hostaddr, struct svc_req *ptr_req, exportlist_t *pexport, unsigned int nfs_prog, unsigned int mnt_prog, hash_table_t *ht_ip_stats, pool_t *ip_stats_pool, exportlist_client_entry_t *pclient_found, struct user_cred *user_credentials, bool_t proc_makes_write) |
| int | nfs_export_create_root_entry (exportlist_t *pexportlist) |
| int | CleanUpExportContext (fsal_export_context_t *p_export_context) |
| exportlist_t * | RemoveExportEntry (exportlist_t *exportEntry) |
| exportlist_t * | GetExportEntry (char *exportPath) |
What is needed to parse the exports file.
Definition in file exports.c.