linux/drivers/target/iscsi/iscsi_target_nego.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef ISCSI_TARGET_NEGO_H
   3#define ISCSI_TARGET_NEGO_H
   4
   5#define DECIMAL         0
   6#define HEX             1
   7
   8struct iscsi_conn;
   9struct iscsi_login;
  10struct iscsi_np;
  11
  12extern void convert_null_to_semi(char *, int);
  13extern int extract_param(const char *, const char *, unsigned int, char *,
  14                unsigned char *);
  15extern int iscsi_target_check_login_request(struct iscsi_conn *,
  16                struct iscsi_login *);
  17extern int iscsi_target_get_initial_payload(struct iscsi_conn *,
  18                struct iscsi_login *);
  19extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsi_conn *,
  20                struct iscsi_login *);
  21extern int iscsi_target_start_negotiation(
  22                struct iscsi_login *, struct iscsi_conn *);
  23extern void iscsi_target_nego_release(struct iscsi_conn *);
  24
  25#endif /* ISCSI_TARGET_NEGO_H */
  26