Re: [Openipmi-developer] which value i gave to the channel , connection parameter
Brought to you by:
cminyard
|
From: Corey M. <mi...@ac...> - 2007-06-14 15:54:08
|
bar...@si... wrote: > Hii all, > > int ipmi_pet_create(ipmi_domain_t *domain, > unsigned int connection, > unsigned int channel, > struct in_addr ip_addr, > unsigned char mac_addr[6], > unsigned int eft_sel, > unsigned int policy_num, > unsigned int apt_sel, > unsigned int lan_dest_sel, > ipmi_pet_done_cb done, > void *cb_data, > ipmi_pet_t **pet); > > In the above function i dont know the \'channel\' number, can i use the > channel = Eh > It's the IPMI LAN channel you want to use to send the trap. Some systems have more than one channel, but if the system supports LAN channels it will be on a channel chosen by the manufacturer. "0xe" will probably not work. > > In the above function what value going to give the \'connection\' parameter > A domain supports more than one connection, you need to read the documentation on that. Generally there is only one, so you use zero. -corey > Thanks > barani > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Openipmi-developer mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openipmi-developer > |