ROHC compression/decompression library
|
Test the robustness of LSB encoding/decoding against packet loss. More...
#include "wlsb.h"
#include "lsb_decode.h"
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
Defines | |
#define | ROHC_WLSB_WINDOW_WIDTH 4U |
#define | trace(is_verbose, format,...) |
Functions | |
int | main (int argc, char *argv[]) |
Test the robustness of LSB encoding/decoding against packet loss. |
Test the robustness of LSB encoding/decoding against packet loss.
#define ROHC_WLSB_WINDOW_WIDTH 4U |
The width of the W-LSB sliding window
Referenced by main().
#define trace | ( | is_verbose, | |
format, | |||
... | |||
) |
do { \ if(is_verbose) { \ printf(format, ##__VA_ARGS__); \ } \ } while(0)
Print trace on stdout only in verbose mode
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Test the robustness of LSB encoding/decoding against packet loss.
argc | The number of command line arguments |
argv | The command line arguments |
References ROHC_LSB_SHIFT_IP_ID, ROHC_LSB_SHIFT_RTP_SN, ROHC_LSB_SHIFT_RTP_TS, ROHC_LSB_SHIFT_SN, ROHC_WLSB_WINDOW_WIDTH, and trace.