diff options
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/mncc_sock.h')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/mobile/mncc_sock.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/mncc_sock.h b/src/host/layer23/include/osmocom/bb/mobile/mncc_sock.h new file mode 100644 index 00000000..b38c5bc6 --- /dev/null +++ b/src/host/layer23/include/osmocom/bb/mobile/mncc_sock.h @@ -0,0 +1,16 @@ +#ifndef _MNCC_SOCK_H +#define _MNCC_SOCK_H + +struct mncc_sock_state { + void *inst; + struct osmo_fd listen_bfd; /* fd for listen socket */ + struct osmo_fd conn_bfd; /* fd for connection to lcr */ + struct llist_head upqueue; +}; + +int mncc_sock_from_cc(struct mncc_sock_state *state, struct msgb *msg); +void mncc_sock_write_pending(struct mncc_sock_state *state); +struct mncc_sock_state *mncc_sock_init(void *inst, const char *name, void *tall_ctx); +void mncc_sock_exit(struct mncc_sock_state *state); + +#endif /* _MNCC_SOCK_H */ |