add ether_aton[_r] and ether_ntoa[_r] functions
authorRich Felker <dalias@aerifal.cx>
Wed, 26 Jun 2013 01:15:27 +0000 (21:15 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 26 Jun 2013 01:15:27 +0000 (21:15 -0400)
commit83966b369d2fa105a58a35830f75662e18273965
tree73d3648ede6d3427c23efeaa2f026400c652de92
parentef5507867b59d19f21437970e87b5d0415c07b2e
add ether_aton[_r] and ether_ntoa[_r] functions

based on patch by Strake with minor stylistic changes, and combined
into a single file. this patch remained open for a long time due to
some question as to whether ether_aton would be better implemented in
terms of sscanf, and it's time something was committed, so here it is.
include/netinet/ether.h [new file with mode: 0644]
src/network/ether.c [new file with mode: 0644]