sanboot.h File Reference

#include <gpxe/tables.h>

Go to the source code of this file.

Data Structures

struct  sanboot_protocol

Defines

#define SANBOOT_PROTOCOLS   __table ( struct sanboot_protocol, "sanboot_protocols" )
#define __sanboot_protocol   __table_entry ( SANBOOT_PROTOCOLS, 01 )

Functions

 FILE_LICENCE (GPL2_OR_LATER)
int keep_san (void)


Define Documentation

#define SANBOOT_PROTOCOLS   __table ( struct sanboot_protocol, "sanboot_protocols" )

Definition at line 13 of file sanboot.h.

Referenced by boot_root_path().

#define __sanboot_protocol   __table_entry ( SANBOOT_PROTOCOLS, 01 )

Definition at line 16 of file sanboot.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

int keep_san ( void   ) 

Definition at line 16 of file keepsan.c.

References fetch_intz_setting(), keep_san(), NULL, printf(), shutdown_exit_flags, and SHUTDOWN_KEEP_DEVICES.

Referenced by aoeboot(), ib_srpboot(), iscsiboot(), and keep_san().

00016                       {
00017         int keep_san;
00018 
00019         keep_san = fetch_intz_setting ( NULL, &keep_san_setting );
00020         if ( ! keep_san )
00021                 return 0;
00022 
00023         printf ( "Preserving connection to SAN disk\n" );
00024         shutdown_exit_flags |= SHUTDOWN_KEEP_DEVICES;
00025         return 1;
00026 }


Generated on Tue Apr 6 20:01:52 2010 for gPXE by  doxygen 1.5.7.1