2024-09-09 08:52:07 +00:00
|
|
|
#ifndef ISCSI_TARGET_NEGO_H
|
|
|
|
#define ISCSI_TARGET_NEGO_H
|
|
|
|
|
|
|
|
#define DECIMAL 0
|
|
|
|
#define HEX 1
|
|
|
|
|
|
|
|
extern void convert_null_to_semi(char *, int);
|
|
|
|
extern int extract_param(const char *, const char *, unsigned int, char *,
|
|
|
|
unsigned char *);
|
2024-09-09 08:57:42 +00:00
|
|
|
extern int iscsi_target_check_login_request(struct iscsi_conn *,
|
|
|
|
struct iscsi_login *);
|
|
|
|
extern int iscsi_target_get_initial_payload(struct iscsi_conn *,
|
|
|
|
struct iscsi_login *);
|
|
|
|
extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsi_conn *,
|
|
|
|
struct iscsi_login *);
|
2024-09-09 08:52:07 +00:00
|
|
|
extern int iscsi_target_start_negotiation(
|
|
|
|
struct iscsi_login *, struct iscsi_conn *);
|
2024-09-09 08:57:42 +00:00
|
|
|
extern void iscsi_target_nego_release(struct iscsi_conn *);
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
#endif /* ISCSI_TARGET_NEGO_H */
|