X hits on this document

PDF document

February 10, 2006 - page 220 / 238

534 views

0 shares

0 downloads

0 comments

220 / 238

208

APPENDIX K. CONNECTION HANDLING INTERFACE (IPMI CONN.H)

/* * Used to pass special options for sending messages. */ t y p e d e f s t r u c t i p m i _ c o n _ o p t i o n { int option; union { long ival; void *pval; }; } ipmi_con_option_t; _ s

/* Used to mark the end of the option list.

Must always be the last

option. */ # d e f i n e I P M I _ C O N _ O P T I O N _ L I S T _ E N D

0

/* Enable/disable authentication on the message (set by ival).

Default is enabled. */ # d e f i n e I P M I _ C O N _ M S G _ O P T I O N _ A U T H

1

/* Enable/disable confidentiality (encryption) on the message (set by

ival).

Default is enabled. */

#define

IPMI CON MSG OPTION CONF

2

_

_

_

_

/* The data structure representing a connection. The low-level handler

fills this out then calls ipmi_init_con() with the connection. */ struct ipmi_con_s {

/* If this is zero

,

the domain handling code will not attempt to

scan the system interface address of the connection.

If 1, it

will.

Generally, if the system interface will respond on a

IPMB address, you should set this to zero.

If it does not

respond on an IPMB, you should set this to one if it is a management controller. */ int scan_sysaddr;

/* The low-level handler should provide one of these for doing os-type things (locks, random numbers, etc.) */ o s _ h a n d l e r _ t * o s _ h n d ;

/* This data can be fetched by the user and used for anything they like. */ void *user_data;

Document info
Document views534
Page views534
Page last viewedSun Dec 04 02:23:41 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments