util: Library routines for printing and scanning large hex integers.
authorJesse Gross <jesse@nicira.com>
Thu, 21 May 2015 01:47:21 +0000 (18:47 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 29 May 2015 01:34:21 +0000 (18:34 -0700)
commite7ae59f9900ede275edfffc82d3a0d0110fd826d
tree3ce3f8eb25c4fe447d100f2f7c74348a98847659
parent65da723b40a5fdeff6c63c94758fb4121d89fe8a
util: Library routines for printing and scanning large hex integers.

Geneve options are variable length and up to 124 bytes long, which means
that they can't be easily manipulated by the integer string functions
like we do for other fields. This adds a few helper routines to make
these operations easier.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
lib/dynamic-string.c
lib/dynamic-string.h
lib/learn.c
lib/meta-flow.c
lib/util.c
lib/util.h