libosmoisdn UNKNOWN
Osmocom ISDN library
Loading...
Searching...
No Matches
osmo_i460_schan_desc::[struct].demux Struct Reference

Data Fields

size_t num_bits
out_cb_bits_t out_cb_bits
 call-back function called whenever we received num_bits
out_cb_bytes_t out_cb_bytes
 out_cb_bytes call-back function called whenever we received num_bits.
void * user_data

Field Documentation

◆ num_bits

◆ out_cb_bits

out_cb_bits_t osmo_i460_schan_desc::[struct].demux out_cb_bits

call-back function called whenever we received num_bits

◆ out_cb_bytes

out_cb_bytes_t osmo_i460_schan_desc::[struct].demux out_cb_bytes

out_cb_bytes call-back function called whenever we received num_bits.

The user is usually expected to provide either out_cb_bits or out_cb_bytes. If only out_cb_bits is provided, output data will always be provided as unpacked bits; if only out_cb_bytes is provided, output data will always be provided as packet bits (bytes). If both are provided, it is up to the I.460 multiplex to decide if it calls either of the two, depending on what can be provided without extra conversion.

◆ user_data


The documentation for this struct was generated from the following files: