diff options
author | Laurent Vivier <lvivier@redhat.com> | 2024-03-06 16:58:33 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-03-06 08:03:38 +0100 |
commit | 324bd46782fbc5aee23abe4def5956b98a44e81c (patch) | |
tree | a48f656469cd38ae44d6eed0bbcf2790c6feb510 /dhcp.c | |
parent | e289d287c6594156cb02f32e64fe8def75fd1cac (diff) | |
download | passt-324bd46782fbc5aee23abe4def5956b98a44e81c.tar passt-324bd46782fbc5aee23abe4def5956b98a44e81c.tar.gz passt-324bd46782fbc5aee23abe4def5956b98a44e81c.tar.bz2 passt-324bd46782fbc5aee23abe4def5956b98a44e81c.tar.lz passt-324bd46782fbc5aee23abe4def5956b98a44e81c.tar.xz passt-324bd46782fbc5aee23abe4def5956b98a44e81c.tar.zst passt-324bd46782fbc5aee23abe4def5956b98a44e81c.zip |
util: move IP stuff from util.[ch] to ip.[ch]
Introduce ip.[ch] file to encapsulate IP protocol handling functions and
structures. Modify various files to include the new header ip.h when
it's needed.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-ID: <20240303135114.1023026-5-lvivier@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'dhcp.c')
-rw-r--r-- | dhcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -25,6 +25,7 @@ #include <limits.h> #include "util.h" +#include "ip.h" #include "checksum.h" #include "packet.h" #include "passt.h" |