summaryrefslogtreecommitdiff
path: root/proto_icmpv4.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-01-26 22:25:03 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-01-28 16:15:11 +0100
commit5ad97d9ef3f77a246a588f4256d92f831e542f5d (patch)
tree952674cb0dc0918b80b1701b3c5c84d949305e42 /proto_icmpv4.c
parent11a7670eb559580885e096216a494d2c96702645 (diff)
str: Add str2mac helper function
Add function to convert a string in the format xx:xx:xx:xx:xx:xx to a MAC address byte array. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> [tk: Add len parameter and error out on too short buffers] Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_icmpv4.c')
0 files changed, 0 insertions, 0 deletions