5 #include <osmocom/core/msgb.h>
25 const char *ipa_ccm_idtag_name(uint8_t tag);
28 int ipa_ccm_idtag_parse(
struct tlv_parsed *dec,
unsigned char *buf,
int len);
31 int ipa_ccm_idtag_parse_off(
struct tlv_parsed *dec,
unsigned char *buf,
int len,
const int len_offset);
34 int ipa_parse_unitid(
const char *str,
struct ipaccess_unit *unit_data);
41 struct msgb *ipa_ccm_make_id_resp(
const struct ipaccess_unit *dev,
42 const uint8_t *ies_req,
unsigned int num_ies_req);
44 struct msgb *ipa_ccm_make_id_resp_from_req(
const struct ipaccess_unit *dev,
45 const uint8_t *data,
unsigned int len);
48 int ipa_send(
int fd,
const void *msg,
size_t msglen);
51 int ipa_ccm_send_pong(
int fd);
54 int ipa_ccm_send_id_ack(
int fd);
57 int ipa_ccm_send_id_req(
int fd);
60 int ipa_ccm_rcvmsg_base(
struct msgb *msg,
struct osmo_fd *bfd);
63 int ipa_ccm_rcvmsg_bts_base(
struct msgb *msg,
struct osmo_fd *bfd);
66 void ipa_prepend_header_ext(
struct msgb *msg,
int proto);
69 void ipa_prepend_header(
struct msgb *msg,
int proto);
71 struct msgb *ipa_msg_alloc(
int headroom);
73 int ipa_msg_recv(
int fd,
struct msgb **rmsg);
74 int ipa_msg_recv_buffered(
int fd,
struct msgb **rmsg,
struct msgb **tmp_msg);
result of the TLV parser
Definition: tlv.h:395