Print this page
12513 SMB 3.1.1 support for server

*** 20,29 **** --- 20,30 ---- */ /* * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2019 Nexenta Systems, Inc. All rights reserved. + * Copyright 2020 RackTop Systems, Inc. */ #ifndef _LIBSMB_H #define _LIBSMB_H
*** 158,167 **** --- 159,169 ---- SMB_CI_MAXIMUM_CREDITS, SMB_CI_MAX_PROTOCOL, SMB_CI_ENCRYPT, SMB_CI_MIN_PROTOCOL, SMB_CI_BYPASS_TRAVERSE_CHECKING, + SMB_CI_ENCRYPT_CIPHER, SMB_CI_MAX } smb_cfg_id_t; /* SMF helper functions */
*** 219,228 **** --- 221,231 ---- extern int smb_config_check_protocol(char *); extern uint32_t smb_config_get_max_protocol(void); extern uint32_t smb_config_get_min_protocol(void); extern void smb_config_upgrade(void); + extern uint16_t smb31_config_get_encrypt_cipher(void); extern smb_cfg_val_t smb_config_get_require(smb_cfg_id_t); extern void smb_load_kconfig(smb_kmod_cfg_t *kcfg); extern uint32_t smb_crc_gen(uint8_t *, size_t);