X hits on this document

PDF document

February 10, 2006 - page 223 / 238

662 views

0 shares

0 downloads

0 comments

223 / 238

Send a response message.

This is not supported

interfaces, primarily only not supported, this should

on system management return ENOSYS. */

/*

on all interfaces.

If

_ _ const ipmi addr t *addr,

unsigned int

_ addr len,

_ const ipmi msg_t

*msg,

long

sequence);

i n t ( * s e n d _ r e s p o n s e ) ( i p m i _ c o n _ t

*ipmi,

unsigned char

netfn,

unsigned char

cmd,

_ _ _ _ ipmi ll cmd handler t handler,

void

*cmd_data,

void

*data2,

void

*data3);

/*

Register to receive incoming commands.

This is not supported

on all interfaces, primarily only on system management

*/

interfaces.

If

not

supported,

this

i n t ( * r e g i s t e r _ f o r _ c o m m a n d ) ( i p m i _ c o n _ t

should

return

ENOSYS.

*ipmi,

/* Deregister a command registration. This is not supported on all interfaces, primarily only on system management interfaces. If not supported, this should return ENOSYS. */

i n t ( * d e r e g i s t e r _ f o r _ c o m m a n d ) ( i p m i _ c o n _ t

*ipmi,

unsigned char netfn, unsigned char cmd);

/* Close an IPMI connection. */ int (*close_connection)(ipmi_con_t *ipmi);

/*

This send

is set by OEM code

message

fails.

It

to is

handle certain currently only

conditions when a used by the IPMI LAN

code, if a send messages response is an

called

first.

If

this

function

returns

error, this will be true, then the IPMI

LAN

code will int (*handle

_

not do anything with the send_rsp_err)(ipmi_con_t

message. */ *con, ipmi_msg_t

*msg);

/*

Name the connection code

for

statistics.

Must

be

can use for dynamically

logging and instance allocated with

names

i p m i _ m e m _ a l l o c ( ) NULL. */ char *name; .

The connection code will free this.

May be

/* The connection code may put a string here to identify itself. */ char *con_type;

211

Document info
Document views662
Page views662
Page last viewedFri Dec 09 13:59:49 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments