cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

iscsi_target_nego.h (820B)


      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 iscsit_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 iscsit_conn *,
     16		struct iscsi_login *);
     17extern int iscsi_target_get_initial_payload(struct iscsit_conn *,
     18		struct iscsi_login *);
     19extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsit_conn *,
     20		struct iscsi_login *);
     21extern int iscsi_target_start_negotiation(
     22		struct iscsi_login *, struct iscsit_conn *);
     23extern void iscsi_target_nego_release(struct iscsit_conn *);
     24
     25#endif /* ISCSI_TARGET_NEGO_H */