summaryrefslogtreecommitdiff
path: root/usr/host.h
blob: 52e5b9ee3bcb8f212dcecd3f424afe902c0e20ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef ISCSI_HOST_H
#define ISCSI_HOST_H
#include <sys/types.h>

#include "types.h"
#include "config.h"

#define MAX_HOST_NO UINT_MAX

#define MAX_CHAP_ENTRIES 2048
#define MAX_CHAP_BUF_SZ 4096
#define REQ_CHAP_BUF_SZ (MAX_CHAP_BUF_SZ + sizeof(struct iscsi_uevent))

struct host_info {
        struct iface_rec iface;
        uint32_t host_no;
};

extern int host_info_print(int info_level, uint32_t host_no);

#endif