30 OSMO_DEPRECATED("Use ipa_ccm_id_{
get,resp}_parse
instead"); 31 int ipa_ccm_idtag_parse_off(struct tlv_parsed *dec, unsigned char *buf, int len, const int len_offset) 32 OSMO_DEPRECATED_OUTSIDE("Use ipa_ccm_id_{
get,resp}_parse
instead"); 34 /* parse payload of IPA CCM ID GET into a osmocom TLV style representation */ 35 int ipa_ccm_id_get_parse(struct tlv_parsed *dec, const uint8_t *buf, unsigned int len); 37 /* parse payload of IPA CCM ID RESP into a osmocom TLV style representation */ 38 int ipa_ccm_id_resp_parse(struct tlv_parsed *dec, const uint8_t *buf, unsigned int len); 40 /* parse an Unit ID in string format into the 'ipaccess_unit' data structure */ 41 int ipa_parse_unitid(const char *str, struct ipaccess_unit *unit_data); 43 /* fill a 'struct ipaccess_unit' based on a parsed IDTAG TLV */ 44 int ipa_ccm_tlv_to_unitdata(struct ipaccess_unit *ud, 45 const struct tlv_parsed *tp); 48 struct msgb *ipa_ccm_make_id_resp(const struct ipaccess_unit *dev, 49 const uint8_t *ies_req, unsigned int num_ies_req); 51 struct msgb *ipa_ccm_make_id_resp_from_req(const struct ipaccess_unit *dev, 52 const uint8_t *data, unsigned int len); 54 /* Send an IPA message to the given FD */ 55 int ipa_send(int fd, const void *msg, size_t msglen); 57 /* Send an IPA CCM PONG via the given FD */ 58 int ipa_ccm_send_pong(int fd); 60 /* Send an IPA CCM ID_ACK via the given FD */ 61 int ipa_ccm_send_id_ack(int fd); 63 /* Send an IPA CCM ID_REQ via the given FD */ 64 int ipa_ccm_send_id_req(int fd); 66 /* Common handling of IPA CCM, BSC side */ 67 int ipa_ccm_rcvmsg_base(struct msgb *msg, struct osmo_fd *bfd); 69 /* Common handling of IPA CCM, BTS side */ 70 int ipa_ccm_rcvmsg_bts_base(struct msgb *msg, struct osmo_fd *bfd); 72 /* prepend (push) an ipaccess_head_ext to the msgb */ 73 void ipa_prepend_header_ext(struct msgb *msg, int proto); 75 /* prepend (push) an ipaccess_head to the msgb */ 76 void ipa_prepend_header(struct msgb *msg, int proto); 78 struct msgb *ipa_msg_alloc(int headroom); 80 int ipa_msg_recv(int fd, struct msgb **rmsg); 81 int ipa_msg_recv_buffered(int fd, struct msgb **rmsg, struct msgb **tmp_msg); uint16_t bts_id
Definition: ipa.h:15
int ipa_ccm_idtag_parse(struct tlv_parsed *dec, unsigned char *buf, int len) OSMO_DEPRECATED("Use ipa_ccm_id_
Definition: ipa.h:29
uint16_t site_id
Definition: ipa.h:14
uint8_t mac_addr[6]
Definition: ipa.h:20
char * unit_name
Definition: ipa.h:17
char * location2
Definition: ipa.h:22
char * location1
Definition: ipa.h:21
uint8_t len
Definition: gsm_04_11.h:514
const char * ipa_ccm_idtag_name(uint8_t tag)
Definition: ipa.c:93
char * swversion
Definition: ipa.h:19
result of the TLV parser
Definition: tlv.h:532
char * equipvers
Definition: ipa.h:18
uint16_t trx_id
Definition: ipa.h:16
_parse instead
Definition: ipa.h:30
char * serno
Definition: ipa.h:23