dev: Add device string convertions (addr, dev type)
commitb780681c3c9b42d6e60d369c499eaf4b94088c1d
authorVadim Kochan <vadim4j@gmail.com>
Sat, 13 Jun 2015 12:30:45 +0000 (13 15:30 +0300)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 13 Jun 2015 20:19:23 +0000 (13 22:19 +0200)
tree3db8c52645d52da1ec39a5afa059a005d3835a82
parentb7ece46f62b1fbece160cc7bd2905a6d0d3970a9
dev: Add device string convertions (addr, dev type)

Move device string convertions funcs (device_type2str, device_addr2str)
from proto_nlmsg.c to dev.c to use them in other modules.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
[ dbkm: minor stylistic fixes ]
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
dev.c
dev.h
proto_nlmsg.c