[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-devel] ipmi-discovery

From: vijay v
Subject: Re: [Freeipmi-devel] ipmi-discovery
Date: Wed, 13 Sep 2006 13:27:48 -0700 (PDT)

Hi Al & others,
I just finished developing a tool : "ipmidiscover startIP endIP" utilizing the existing ipmi-ping.c code in the freeipmi code base.
1. construct ip range .
2. start 2 threads
    i) sendthread will do :       rv = ipmi_lan_sendto(_sockfd, buffer, len, 0, (struct sockaddr *)& _destaddr, sizeof(_destaddr));
    ii) receivethread will : en = ipmi_lan_recvfrom(_sockfd, buffer, IPMI_PING_MAX_PKT_LEN, 0,
                                      (struct sockaddr *)&from, &fromlen);
both in loop of step-1 ip range.
3) display the result thats it!!
I needed it quickly so i just wrote it in a day but it works fine .... It is not yet integrated into the package since its got some TBD.... should i put the .c file alone somewhere in sourceforge or in gnu website please advice ? it can go in parallel with existing ipmi-ping.c dir but i dont want to publish it in the main package yet since it only does the basic function ... some one can take it and code to it so it will qualify for republishing .....  I could do it later following how this thread....

Al Chu <address@hidden> wrote:
Hi Vijay,

I'd be glad to help. I don't quite understand the question though.
Could you rephrase?


On Mon, 2006-09-11 at 11:41 -0700, vijay v wrote:
> There was a broken thread about discovey option ... couldnt figure out
> much from discovery.scm too...
> I want a simple C/C++ application "ipmi-discover startIP endIP" .....
> currently iam half way through utilizing ipmi-ping code.
> Please advice.
> Thanks,
> Vijay
> ==========================================================
> Hardwork and Science will solve your problems,
> With a little belief in God you can do miracles.
> ==========================================================
> ______________________________________________________________________
> Stay in the know. Pulse on the new Check it out.
> _______________________________________________
> Freeipmi-devel mailing list
> address@hidden
Albert Chu
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory

Hardwork and Science will solve your problems,
With a little belief in God you can do miracles.

All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]