libosmogsm 1.9.0.196-9975
Osmocom GSM library
ipa.h File Reference
#include <stdint.h>
#include <osmocom/core/msgb.h>
#include <osmocom/gsm/tlv.h>

Go to the source code of this file.

Data Structures

struct  ipaccess_unit
 

Functions

const char * ipa_ccm_idtag_name (uint8_t tag)
 
int ipa_ccm_idtag_parse (struct tlv_parsed *dec, unsigned char *buf, int len) OSMO_DEPRECATED("Use ipa_ccm_id_
 
int ipa_ccm_idtag_parse_off (struct tlv_parsed *dec, unsigned char *buf, int len, const int len_offset) OSMO_DEPRECATED_OUTSIDE("Use ipa_ccm_id_
 
int ipa_ccm_id_get_parse (struct tlv_parsed *dec, const uint8_t *buf, unsigned int len)
 Parse the payload part of an IPA CCM ID GET, return tlv_parsed format. More...
 
int ipa_ccm_id_resp_parse (struct tlv_parsed *dec, const uint8_t *buf, unsigned int len)
 Parse the payload part of an IPA CCM ID RESP, return tlv_parsed format. More...
 
int ipa_parse_unitid (const char *str, struct ipaccess_unit *unit_data)
 
int ipa_ccm_tlv_to_unitdata (struct ipaccess_unit *ud, const struct tlv_parsed *tp)
 Fill ud struct from tp structure. More...
 
struct msgbipa_ccm_make_id_resp (const struct ipaccess_unit *dev, const uint8_t *ies_req, unsigned int num_ies_req)
 Generate IPA CCM ID RESP based on list of IEs. More...
 
struct msgbipa_ccm_make_id_resp_from_req (const struct ipaccess_unit *dev, const uint8_t *data, unsigned int len)
 Generate IPA CCM ID RESP based on requets payload. More...
 
int ipa_send (int fd, const void *msg, size_t msglen)
 
int ipa_ccm_send_pong (int fd)
 
int ipa_ccm_send_id_ack (int fd)
 
int ipa_ccm_send_id_req (int fd)
 
int ipa_ccm_rcvmsg_base (struct msgb *msg, struct osmo_fd *bfd)
 
int ipa_ccm_rcvmsg_bts_base (struct msgb *msg, struct osmo_fd *bfd)
 
void ipa_prepend_header_ext (struct msgb *msg, int proto)
 
void ipa_prepend_header (struct msgb *msg, int proto)
 
struct msgbipa_msg_alloc (int headroom)
 
int ipa_msg_recv (int fd, struct msgb **rmsg)
 
int ipa_msg_recv_buffered (int fd, struct msgb **rmsg, struct msgb **tmp_msg)
 

Variables

_parse instead
 

Function Documentation

◆ ipa_ccm_idtag_parse()

int ipa_ccm_idtag_parse ( struct tlv_parsed dec,
unsigned char *  buf,
int  len 
)

◆ ipa_ccm_idtag_parse_off()

int ipa_ccm_idtag_parse_off ( struct tlv_parsed dec,
unsigned char *  buf,
int  len,
const int  len_offset 
)

◆ ipa_msg_recv()

int ipa_msg_recv ( int  fd,
struct msgb **  rmsg 
)

◆ ipa_msg_recv_buffered()

int ipa_msg_recv_buffered ( int  fd,
struct msgb **  rmsg,
struct msgb **  tmp_msg 
)

Variable Documentation

◆ instead

_parse instead