kern - Add kether_ntoa, kether_aton functions.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Fri, 28 Dec 2012 19:49:17 +0000 (20:49 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 15 Jan 2013 22:51:30 +0000 (23:51 +0100)
commit23aa4e11915ec36c935bd3181624c76b4782c809
tree8b6ec411787c441d8eb4e7e0a4a2949dbfa3ab24
parent111f4c913a18de9586649cc1a374240679ec903a
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.
sys/net/if_ethersubr.c
sys/net/if_var.h