X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Include%2FpdcpComprohc.h;fp=Include%2FpdcpComprohc.h;h=46a51c679042f5e17afc4735c3d98e9c844058b9;hb=1f71b9a76eacf92b39c1ce6f782f8404a34f60a9;hp=0000000000000000000000000000000000000000;hpb=254694245736881ecfff4eb0d1503bf3f49a21be;p=scp%2Focu%2F5gnr.git diff --git a/Include/pdcpComprohc.h b/Include/pdcpComprohc.h new file mode 100644 index 0000000..46a51c6 --- /dev/null +++ b/Include/pdcpComprohc.h @@ -0,0 +1,38 @@ +/****************************************************************************** +############################################################################### +# Copyright (c) [2017-2020] [ICT/CAS] # +# Licensed under the ORAN Software License v1.0 (License) # +############################################################################### +******************************************************************************/ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include /* for the printf() function */ + +/* includes required to create a fake IP packet */ +#include /* for the IPv4 header */ +#include /* for the strlen() */ +#include /* for the rohc_buf_*() functions */ + +/* includes required to use the compression part of the ROHC library */ +#include /* required by time() */ +#include /* for rohc_comp_*() functions */ + + +struct rohc_comp * create_compressor(); +bool compress_with_callback(struct rohc_comp *const compressor,struct rohc_buf uncomp_packet,struct rohc_buf *const packet);