spandsp 3.0.0
sprt_tests.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <termios.h>
#include <sndfile.h>
#include <errno.h>
#include "spandsp.h"
#include "spandsp-sim.h"
#include "pseudo_terminals.h"
#include "socket_dgram_harness.h"

Macros

#define bump_sprt_seq_no(x)

Functions

int main (int argc, char *argv[])

Variables

sprt_state_tsprt_state
socket_dgram_harness_state_tdgram_state
uint16_t tx_seq_no [SPRT_CHANNELS]
uint16_t rx_seq_no [SPRT_CHANNELS]
int max_payloads [SPRT_CHANNELS]
int pace_no = 0
span_timestamp_t pace_timer = 0
span_timestamp_t sprt_timer = 0
bool send_messages = false

Macro Definition Documentation

◆ bump_sprt_seq_no

#define bump_sprt_seq_no ( x)
Value:
((x) = ((x) + 1) & 0x3FFF)