diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2017-02-01 18:26:34 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2017-02-01 18:42:16 +0100 |
| commit | 5761fe822e275cc4d47252dffea36b01206da6f3 (patch) | |
| tree | 168fa841d4eacfa0079b70e490c6d29f9d269d6d /lib/pid_output.c | |
| parent | e46538e628ccab900bc58885204fc26ad0c6d8a2 (diff) | |
lib: add string to macaddress and reverse function
As mac-address structure is to be used as a prefix field, two new
functions permit handling mac address in order to convert it. either
from string to internal value, or the reverse operation.
Internal representation of a mac address is a 6 byte char value standing
for the 6 byte value the mac address has.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/pid_output.c')
0 files changed, 0 insertions, 0 deletions
