u-boot-brain/net
Przemyslaw Marczak d718ded056 lib: uuid: code refactor for proper maintain between uuid bin and string
Changes in lib/uuid.c to:
- uuid_str_to_bin()
- uuid_bin_to_str()

New parameter is added to specify input/output string format in listed functions
This change allows easy recognize which UUID type is or should be stored in given
string array. Binary data of UUID and GUID is always stored in big endian, only
string representations are different as follows.

String byte: 0                                  36
String char: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
string UUID:    be     be   be   be       be
string GUID:    le     le   le   be       be

This patch also updates functions calls and declarations in a whole code.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: trini@ti.com
2014-04-02 15:44:40 -04:00
..
Makefile kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
arp.c net/: sparse fixes 2012-11-04 11:00:36 -07:00
arp.h net: Separate ArpRequest() into lower-level func 2012-05-23 17:53:07 -05:00
bootp.c lib: uuid: code refactor for proper maintain between uuid bin and string 2014-04-02 15:44:40 -04:00
bootp.h net: cosmetic: Rename OPT_SIZE to OPT_FIELD_SIZE 2012-05-23 17:46:17 -05:00
cdp.c net: Refactor to separate the UDP handler from the ARP handler 2012-05-23 17:52:53 -05:00
cdp.h net: cosmetic: Rename CDPHandler to cdp_receive 2012-05-23 17:46:16 -05:00
dns.c net: Refactor to separate the UDP handler from the ARP handler 2012-05-23 17:52:53 -05:00
dns.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
eth.c net: execute "miiphy_init" if CONFIG_PHYLIB defined 2014-02-07 09:16:36 -05:00
link_local.c net: Correct check for link-local target IP conflict 2013-06-24 19:11:13 -05:00
link_local.h net: Add link-local addressing support 2012-05-23 17:53:08 -05:00
net.c NET: Add net_busy_flag if CONFIG_USB_KEYBOARD is defined 2013-08-26 21:56:35 +02:00
net_rand.h net: use common rand()/srand() functions 2012-07-07 14:07:32 +02:00
nfs.c net: nfs: add dynamic wait period 2013-06-24 19:10:15 -05:00
nfs.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ping.c net: Allow filtering on debug traces in the net subsystem 2012-05-23 17:53:08 -05:00
ping.h net/: sparse fixes 2012-11-04 11:00:36 -07:00
rarp.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
rarp.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sntp.c net: Refactor to separate the UDP handler from the ARP handler 2012-05-23 17:52:53 -05:00
sntp.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
tftp.c net: tftpsrv: Get correct client MAC address 2013-11-22 17:03:18 -06:00
tftp.h net/: sparse fixes 2012-11-04 11:00:36 -07:00