[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-devel] Re: [llnl-devel] ipmi-sendto
From: |
Anand Babu |
Subject: |
[Freeipmi-devel] Re: [llnl-devel] ipmi-sendto |
Date: |
Thu, 20 Nov 2003 14:53:59 -0800 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Hi Al,
Yup, you are right. Please make that change.
-ab
Albert Chu <address@hidden> writes:
>Hey AB,
>
>In ipmi_sendto:
>
>----------------
> /*
> Note from Table 12-8, RMCP Packet for IPMI via Ethernet footnote
> Some LAN adapter chips may have a problem where packets of overall
> lengths 56, 84, 112, 128, or 156 are not handled correctly. The
> PAD byte is added as necessary to avoid these overall
> lengths. Remote console software must use the PAD byte when
> formatting packets to any 10/100 Ethernet device that accepts RMCP
> packets.
> */
> len = sizeof (rmcp_hdr_t) + ipmi_pkt_len + IPMI_LAN_PACKET_PAD_SIZE;
>----------------
>
>I'm pretty darn sure that this means:
>
>len = sizeof(rmcp_hdr_t) + ipmi_pkt_len;
>if (len == 56 or 84 or 112 or 128 or 156)
> len+=IPMI_LAN_PACKET_PAD_SIZE;
>
>I'm going to go ahead and change it.
>
>Al
>
>--
>Albert Chu
>address@hidden
>Lawrence Livermore National Laboratories
>
>
>_______________________________________________
>llnl-devel mailing list
>address@hidden
>http://californiadigital.com/cgi-bin/mailman/listinfo/llnl-devel
--
Anand Babu
CaliforniaDigital.com
Office# +1-510-687-7045
Cell# +1-510-396-0717
Home# +1-510-894-0586
Free as in Freedom <www.gnu.org>