iPXE
Functions
null_sanboot.c File Reference
#include <errno.h>
#include <ipxe/sanboot.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
static int null_san_hook (unsigned int drive __unused, struct uri **uris __unused, unsigned int count __unused, unsigned int flags __unused)
 
static void null_san_unhook (unsigned int drive __unused)
 
static int null_san_boot (unsigned int drive __unused, struct san_boot_config *config __unused)
 
static int null_san_describe (void)
 
 PROVIDE_SANBOOT (null, san_hook, null_san_hook)
 
 PROVIDE_SANBOOT (null, san_unhook, null_san_unhook)
 
 PROVIDE_SANBOOT (null, san_boot, null_san_boot)
 
 PROVIDE_SANBOOT (null, san_describe, null_san_describe)
 

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ null_san_hook()

static int null_san_hook ( unsigned int drive  __unused,
struct uri **uris  __unused,
unsigned int count  __unused,
unsigned int flags  __unused 
)
static

Definition at line 29 of file null_sanboot.c.

32  {
33  return -EOPNOTSUPP;
34 }
#define EOPNOTSUPP
Operation not supported on socket.
Definition: errno.h:604

References EOPNOTSUPP.

◆ null_san_unhook()

static void null_san_unhook ( unsigned int drive  __unused)
static

Definition at line 36 of file null_sanboot.c.

36  {
37  /* Do nothing */
38 }

◆ null_san_boot()

static int null_san_boot ( unsigned int drive  __unused,
struct san_boot_config *config  __unused 
)
static

Definition at line 40 of file null_sanboot.c.

41  {
42  return -EOPNOTSUPP;
43 }
#define EOPNOTSUPP
Operation not supported on socket.
Definition: errno.h:604

References EOPNOTSUPP.

◆ null_san_describe()

static int null_san_describe ( void  )
static

Definition at line 45 of file null_sanboot.c.

45  {
46  return -EOPNOTSUPP;
47 }
#define EOPNOTSUPP
Operation not supported on socket.
Definition: errno.h:604

References EOPNOTSUPP.

◆ PROVIDE_SANBOOT() [1/4]

PROVIDE_SANBOOT ( null  ,
san_hook  ,
null_san_hook   
)

◆ PROVIDE_SANBOOT() [2/4]

PROVIDE_SANBOOT ( null  ,
san_unhook  ,
null_san_unhook   
)

◆ PROVIDE_SANBOOT() [3/4]

PROVIDE_SANBOOT ( null  ,
san_boot  ,
null_san_boot   
)

◆ PROVIDE_SANBOOT() [4/4]

PROVIDE_SANBOOT ( null  ,
san_describe  ,
null_san_describe   
)