cvs commit: src/lib/libc/net ether_addr.c ethers.3

Bruce M. Simpson bms at incunabulum.net
Sun May 13 15:35:26 UTC 2007


Robert Watson wrote:
> rwatson     2007-05-13 13:57:45 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     lib/libc/net         ether_addr.c ethers.3 
>   Log:
>   Add and document ether_ntoa_r() and ether_aton_r() functions, which accept
>   passed storage buffers rather than using static storage.  Reimplement
>   ether_ntoa() and ether_aton() in terms of these functions.  These variants
>   are thread-safe.
>   

Don't forget that there is a link-layer independent 'humanize layer 2 
address' routine in getnameinfo() which I imported from NetBSD.

Regards,
BMS


More information about the cvs-src mailing list