Implementation of ether_line, ether_hostton and ether_ntohost
carmelo.amoroso at st.com
Wed Feb 27 11:59:44 UTC 2008
Carmelo Amoroso wrote:
> Matthew Wilcox wrote:
>> I want to be able to etherwake by hostname. Since I've gone to the
>> trouble of putting that information in /etc/ethers, I think my computer
>> should jolly well not force me to type in meaningless strings of hex.
>> So here's an implementation (ethers.c) and two test programs
>> (ethers-line-test.c and ethers-test.c) which exercise it a little.
>> I'm not sure how to integrate all this into your build framework; seems
>> to me you guys would be the experts at that ;-)
>> I hope you find my contribution useful.
> Let me see.... indeed I'm interested into etherwake too
I've just added your implementation (with test-cases) into my
uClibc-nptl tree for SH4.
Test failed taking a SGBUS due to unaligned access.
I'll see what is going wrong and fix if needed. Then I'l go ahead and
More information about the uClibc