Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
iscsi_ibft.c File Reference
#include <linux/blkdev.h>
#include <linux/capability.h>
#include <linux/ctype.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/iscsi_ibft.h>
#include <linux/limits.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/acpi.h>
#include <linux/iscsi_boot_sysfs.h>

Go to the source code of this file.

Data Structures

struct  ibft_hdr
 
struct  ibft_control
 
struct  ibft_initiator
 
struct  ibft_nic
 
struct  ibft_tgt
 
struct  ibft_kobject
 

Macros

#define IBFT_ISCSI_VERSION   "0.5.0"
 
#define IBFT_ISCSI_DATE   "2010-Feb-25"
 

Enumerations

enum  ibft_id {
  id_reserved = 0, id_control = 1, id_initiator = 2, id_nic = 3,
  id_target = 4, id_extensions = 5, id_end_marker
}
 

Functions

 MODULE_AUTHOR ("Peter Jones <[email protected]> and ""Konrad Rzeszutek <[email protected]>")
 
 MODULE_DESCRIPTION ("sysfs interface to BIOS iBFT information")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (IBFT_ISCSI_VERSION)
 
struct ibft_hdr __attribute__ ((__packed__))
 
 module_init (ibft_init)
 
 module_exit (ibft_exit)
 

Variables

u8 id
 
u8 version
 
u16 length
 
u8 index
 
u8 flags
 
struct ibft_hdr hdr
 
u16 extensions
 
u16 initiator_off
 
u16 nic0_off
 
u16 tgt0_off
 
u16 nic1_off
 
u16 tgt1_off
 
char isns_server [16]
 
char slp_server [16]
 
char pri_radius_server [16]
 
char sec_radius_server [16]
 
u16 initiator_name_len
 
u16 initiator_name_off
 
char ip_addr [16]
 
u8 subnet_mask_prefix
 
u8 origin
 
char gateway [16]
 
char primary_dns [16]
 
char secondary_dns [16]
 
char dhcp [16]
 
u16 vlan
 
char mac [6]
 
u16 pci_bdf
 
u16 hostname_len
 
u16 hostname_off
 
u16 port
 
char lun [8]
 
u8 chap_type
 
u8 nic_assoc
 
u16 tgt_name_len
 
u16 tgt_name_off
 
u16 chap_name_len
 
u16 chap_name_off
 
u16 chap_secret_len
 
u16 chap_secret_off
 
u16 rev_chap_name_len
 
u16 rev_chap_name_off
 
u16 rev_chap_secret_len
 
u16 rev_chap_secret_off
 
enum ibft_id __attribute__
 

Macro Definition Documentation

#define IBFT_ISCSI_DATE   "2010-Feb-25"

Definition at line 88 of file iscsi_ibft.c.

#define IBFT_ISCSI_VERSION   "0.5.0"

Definition at line 87 of file iscsi_ibft.c.

Enumeration Type Documentation

enum ibft_id
Enumerator:
id_reserved 
id_control 
id_initiator 
id_nic 
id_target 
id_extensions 
id_end_marker 

Definition at line 163 of file iscsi_ibft.c.

Function Documentation

struct ibft_hdr __attribute__ ( (__packed__)  )
read

Definition at line 85 of file mpc512x_dma.c.

MODULE_AUTHOR ( "Peter Jones <[email protected]> and ""Konrad Rzeszutek <[email protected]>"  )
MODULE_DESCRIPTION ( "sysfs interface to BIOS iBFT information"  )
module_exit ( ibft_exit  )
module_init ( ibft_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( IBFT_ISCSI_VERSION  )

Variable Documentation

u16 chap_name_len

Definition at line 166 of file iscsi_ibft.c.

u16 chap_name_off

Definition at line 167 of file iscsi_ibft.c.

u16 chap_secret_len

Definition at line 168 of file iscsi_ibft.c.

u16 chap_secret_off

Definition at line 169 of file iscsi_ibft.c.

u8 chap_type

Definition at line 162 of file iscsi_ibft.c.

char dhcp[16]

Definition at line 146 of file iscsi_ibft.c.

u16 extensions

Definition at line 114 of file iscsi_ibft.c.

u8 flags

Definition at line 107 of file iscsi_ibft.c.

char gateway[16]

Definition at line 143 of file iscsi_ibft.c.

Definition at line 113 of file iscsi_ibft.c.

u16 hostname_len

Definition at line 150 of file iscsi_ibft.c.

u16 hostname_off

Definition at line 151 of file iscsi_ibft.c.

u8 id

Definition at line 103 of file iscsi_ibft.c.

u8 index

Definition at line 106 of file iscsi_ibft.c.

u16 initiator_name_len

Definition at line 128 of file iscsi_ibft.c.

u16 initiator_name_off

Definition at line 129 of file iscsi_ibft.c.

u16 initiator_off

Definition at line 115 of file iscsi_ibft.c.

__u8 ip_addr

Definition at line 140 of file iscsi_ibft.c.

char isns_server[16]

Definition at line 124 of file iscsi_ibft.c.

u16 length

Definition at line 105 of file iscsi_ibft.c.

char lun[8]

Definition at line 161 of file iscsi_ibft.c.

char mac[6]

Definition at line 148 of file iscsi_ibft.c.

u16 nic0_off

Definition at line 116 of file iscsi_ibft.c.

u16 nic1_off

Definition at line 118 of file iscsi_ibft.c.

u8 nic_assoc

Definition at line 163 of file iscsi_ibft.c.

Definition at line 142 of file iscsi_ibft.c.

u16 pci_bdf

Definition at line 149 of file iscsi_ibft.c.

Definition at line 160 of file iscsi_ibft.c.

char pri_radius_server[16]

Definition at line 126 of file iscsi_ibft.c.

char primary_dns[16]

Definition at line 144 of file iscsi_ibft.c.

u16 rev_chap_name_len

Definition at line 170 of file iscsi_ibft.c.

u16 rev_chap_name_off

Definition at line 171 of file iscsi_ibft.c.

u16 rev_chap_secret_len

Definition at line 172 of file iscsi_ibft.c.

u16 rev_chap_secret_off

Definition at line 173 of file iscsi_ibft.c.

char sec_radius_server[16]

Definition at line 127 of file iscsi_ibft.c.

char secondary_dns[16]

Definition at line 145 of file iscsi_ibft.c.

char slp_server[16]

Definition at line 125 of file iscsi_ibft.c.

u8 subnet_mask_prefix

Definition at line 141 of file iscsi_ibft.c.

u16 tgt0_off

Definition at line 117 of file iscsi_ibft.c.

u16 tgt1_off

Definition at line 119 of file iscsi_ibft.c.

u16 tgt_name_len

Definition at line 164 of file iscsi_ibft.c.

u16 tgt_name_off

Definition at line 165 of file iscsi_ibft.c.

u8 version

Definition at line 104 of file iscsi_ibft.c.

u16 vlan

Definition at line 147 of file iscsi_ibft.c.