16 #ifndef __included_lib_nat_inlines_h__
17 #define __included_lib_nat_inlines_h__
27 v = clib_net_to_host_u32 (
a->as_u32) + 1;
28 a->as_u32 = clib_host_to_net_u32 (v);
35 u8 opt_len, opts_len, kind;
43 for (; opts_len > 0; opts_len -= opt_len,
data += opt_len)
60 if (opt_len < 2 || opt_len > opts_len)
88 if (
r >= min &&
r <= max)
91 return min + (rwide % (max - min + 1));