git: kern - Add kether_ntoa, kether_aton functions.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Tue Jan 15 15:04:20 PST 2013


commit 23aa4e11915ec36c935bd3181624c76b4782c809
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Fri Dec 28 20:49:17 2012 +0100

    kern - Add kether_ntoa, kether_aton functions.
    
    - kether_aton() converts a human readable MAC string to an
      ethernet address.
    - kether_ntoa() converts ethernet addresses into human readable
      MAC string.
    
    Human readable notation is specified in IEEE 802.

Summary of changes:
 sys/net/if_ethersubr.c | 39 +++++++++++++++++++++++++++++++++++++++
 sys/net/if_var.h       |  2 ++
 2 files changed, 41 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/23aa4e11915ec36c935bd3181624c76b4782c809


-- 
DragonFly BSD source repository



More information about the Commits mailing list