libosmogb
1.5.1
Osmocom Gb library
|
Go to the documentation of this file.
43 #define FRAME_RELAY_MTU 1600
45 #define FRAME_RELAY_SDU (FRAME_RELAY_MTU - 2)
struct llist_head links
Definition: frame_relay.h:54
@ FR_ROLE_USER_EQUIPMENT
Definition: frame_relay.h:38
struct osmo_fr_network * net
Definition: frame_relay.h:69
uint8_t last_rx_seq
Definition: frame_relay.h:76
void * unknown_dlc_rx_cb_data
Definition: frame_relay.h:97
void(* status_cb)(struct osmo_fr_link *link, void *cb_data, bool active)
Definition: frame_relay.h:102
unsigned int n393
Definition: frame_relay.h:58
int osmo_fr_tx_dlc(struct msgb *msg)
Definition: frame_relay.c:834
struct llist_head list
Definition: frame_relay.h:109
struct osmo_fr_dlc * osmo_fr_dlc_by_dlci(struct osmo_fr_link *link, uint16_t dlci)
Definition: frame_relay.c:1007
const char * get_value_string(const struct value_string *vs, uint32_t val)
uint8_t last_tx_seq
Definition: frame_relay.h:80
struct osmo_timer_list t392
Definition: frame_relay.h:83
uint8_t data[0]
variable-length payload
Definition: gsm_08_16.h:3
static const char * osmo_fr_role_str(enum osmo_fr_role role)
Definition: frame_relay.h:49
void * cb_data
Definition: frame_relay.h:103
Definition: frame_relay.h:66
const struct value_string osmo_fr_role_names[]
Definition: frame_relay.c:151
bool add
Definition: frame_relay.h:117
unsigned int err_count
Definition: frame_relay.h:86
bool state
Definition: frame_relay.h:90
struct osmo_fr_network * osmo_fr_network_alloc(void *ctx)
Definition: frame_relay.c:898
bool state_send
Definition: frame_relay.h:123
void osmo_fr_link_free(struct osmo_fr_link *link)
Definition: frame_relay.c:955
struct osmo_fr_link * link
Definition: frame_relay.h:110
unsigned int polling_count
Definition: frame_relay.h:85
unsigned int n392
Definition: frame_relay.h:57
enum osmo_fr_role role
Definition: frame_relay.h:70
const char * name
Definition: frame_relay.h:72
struct llist_head list
Definition: frame_relay.h:68
struct osmo_fr_dlc * osmo_fr_dlc_alloc(struct osmo_fr_link *link, uint16_t dlci)
Definition: frame_relay.c:974
struct osmo_tdef * T_defs
Definition: frame_relay.h:60
Definition: frame_relay.h:53
struct llist_head dlc_list
Definition: frame_relay.h:93
unsigned int n391
Definition: frame_relay.h:56
osmo_fr_role
Definition: frame_relay.h:37
uint16_t dlci
Definition: frame_relay.h:112
@ FR_ROLE_NETWORK_EQUIPMENT
Definition: frame_relay.h:39
void(* status_cb)(struct osmo_fr_dlc *dlc, void *cb_data, bool active)
Definition: frame_relay.h:128
bool active
Definition: frame_relay.h:115
int(* unknown_dlc_rx_cb)(void *cb_data, struct msgb *msg)
Definition: frame_relay.h:96
void * cb_data
Definition: frame_relay.h:129
struct osmo_fr_link * osmo_fr_link_alloc(struct osmo_fr_network *net, enum osmo_fr_role role, const char *name)
Definition: frame_relay.c:927
int(* rx_cb)(void *cb_data, struct msgb *msg)
Definition: frame_relay.h:126
Definition: frame_relay.h:107
void osmo_fr_dlc_free(struct osmo_fr_dlc *dlc)
Definition: frame_relay.c:992
struct osmo_timer_list t391
Definition: frame_relay.h:82
int(* tx_cb)(void *data, struct msgb *msg)
Definition: frame_relay.h:100
unsigned int succeed
Definition: frame_relay.h:87
int osmo_fr_rx(struct msgb *msg)
Definition: frame_relay.c:769
bool del
Definition: frame_relay.h:119
uint8_t expected_rep
Definition: frame_relay.h:89