diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bits.c | 4 | ||||
| -rw-r--r-- | src/bitvec.c | 2 | ||||
| -rw-r--r-- | src/conv.c | 2 | ||||
| -rw-r--r-- | src/crcXXgen.c.tpl | 2 | ||||
| -rw-r--r-- | src/gsm/auth_core.c | 4 | ||||
| -rw-r--r-- | src/gsm/lapd_core.c | 3 | ||||
| -rw-r--r-- | src/gsm/tlv_parser.c | 2 | ||||
| -rw-r--r-- | src/gsmtap_util.c | 6 | ||||
| -rw-r--r-- | src/msgb.c | 6 | ||||
| -rw-r--r-- | src/serial.c | 2 | ||||
| -rw-r--r-- | src/socket.c | 2 | ||||
| -rw-r--r-- | src/timer.c | 2 | 
12 files changed, 19 insertions, 18 deletions
| @@ -180,8 +180,8 @@ uint32_t osmo_revbytebits_8(uint8_t x)  }  /*! \brief reverse bit-order of each byte in a buffer - *  \param buf buffer containing bytes to be bit-reversed - *  \param[in] length of buffer in bytes + *  \param[in] buf buffer containing bytes to be bit-reversed + *  \param[in] len length of buffer in bytes   *   *  This function reverses the bits in each byte of the buffer   */ diff --git a/src/bitvec.c b/src/bitvec.c index 714c11b7..8da5a480 100644 --- a/src/bitvec.c +++ b/src/bitvec.c @@ -132,7 +132,7 @@ unsigned int bitvec_get_nth_set_bit(const struct bitvec *bv, unsigned int n)  /*! \brief set a bit at given position in a bit vector   *  \param[in] bv bit vector on which to operate - *  \param[in] bitnum number of bit to be set + *  \param[in] bitnr number of bit to be set   *  \param[in] bit value to which the bit is to be set   */  int bitvec_set_bit_pos(struct bitvec *bv, unsigned int bitnr, @@ -27,7 +27,7 @@   */  /*! \file conv.c - *  \file Osmocom convolutional encoder and decoder + * Osmocom convolutional encoder and decoder   */  #include "config.h"  #ifdef HAVE_ALLOCA_H diff --git a/src/crcXXgen.c.tpl b/src/crcXXgen.c.tpl index 2a4bf213..7e45c111 100644 --- a/src/crcXXgen.c.tpl +++ b/src/crcXXgen.c.tpl @@ -27,7 +27,7 @@   */  /*! \file crcXXgen.c - *  \file Osmocom generic CRC routines (for max XX bits poly) + * Osmocom generic CRC routines (for max XX bits poly)   */  #include <stdint.h> diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c index 5cf8dfcf..3a0866be 100644 --- a/src/gsm/auth_core.c +++ b/src/gsm/auth_core.c @@ -93,7 +93,7 @@ int osmo_auth_supported(enum osmo_auth_algo algo)  /*! \brief Generate authentication vector   *  \param[out] vec Generated authentication vector   *  \param[in] aud Subscriber-specific key material - *  \param[in] rand Random challenge to be used + *  \param[in] _rand Random challenge to be used   *   * This function performs the core cryptographic function of the AUC,   * computing authentication triples/quintuples based on the permanent @@ -125,7 +125,7 @@ int osmo_auth_gen_vec(struct osmo_auth_vector *vec,   *  \param[in] aud Subscriber-specific key material   *  \param[in] rand_auts RAND value sent by the SIM/MS   *  \param[in] auts AUTS value sent by the SIM/MS - *  \param[in] rand Random challenge to be used to generate vector + *  \param[in] _rand Random challenge to be used to generate vector   *   * This function performs a special variant of the  core cryptographic   * function of the AUC: computing authentication triples/quintuples diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c index 0dc78ebb..b33cf6eb 100644 --- a/src/gsm/lapd_core.c +++ b/src/gsm/lapd_core.c @@ -25,7 +25,7 @@   *  @{   */ -/*! \file lapd.c */ +/*! \file lapd_core.c */  /*!   * Notes on Buffering: rcv_buffer, tx_queue, tx_hist, send_buffer, send_queue @@ -2167,3 +2167,4 @@ int lapd_recv_dlsap(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)  	return rc;  } +/*! @} */ diff --git a/src/gsm/tlv_parser.c b/src/gsm/tlv_parser.c index d18a6bfd..8cb2139d 100644 --- a/src/gsm/tlv_parser.c +++ b/src/gsm/tlv_parser.c @@ -6,7 +6,7 @@  /*! \addtogroup tlv   *  @{   */ -/*! \file tlv.c */ +/*! \file tlv_parser.c */  struct tlv_definition tvlv_att_def;  struct tlv_definition vtvlv_gan_att_def; diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c index 77ab0c6e..82690a9c 100644 --- a/src/gsmtap_util.c +++ b/src/gsmtap_util.c @@ -49,7 +49,7 @@  /*! \brief convert RSL channel number to GSMTAP channel type - *  \param[in] rsl_cantype RSL channel type + *  \param[in] rsl_chantype RSL channel type   *  \param[in] link_id RSL link identifier   *  \returns GSMTAP channel type   */ @@ -216,7 +216,7 @@ int gsmtap_source_add_sink_fd(int gsmtap_fd)  /*! \brief Send a \ref msgb through a GSMTAP source   *  \param[in] gti GSMTAP instance - *  \param[in] msgb message buffer + *  \param[in] msg message buffer   */  int gsmtap_sendmsg(struct gsmtap_inst *gti, struct msgb *msg)  { @@ -339,7 +339,7 @@ int gsmtap_source_add_sink(struct gsmtap_inst *gti)  /*! \brief Open GSMTAP source socket, connect and register osmo_fd   *  \param[in] host host name or IP address in string format   *  \param[in] port UDP port number in host byte order - *  \param[in] osmo_wq_mode Register \ref osmo_wqueue (1) or not (0) + *  \param[in] ofd_wq_mode Register \ref osmo_wqueue (1) or not (0)   *   * Open GSMTAP source (sending) socket, connect it to host/port,   * allocate 'struct gsmtap_inst' and optionally osmo_fd/osmo_wqueue @@ -74,7 +74,7 @@ void msgb_free(struct msgb *m)  /*! \brief Enqueue message buffer to tail of a queue   * \param[in] queue linked list header of queue - * \param[in] msgb message buffer to be added to the queue + * \param[in] msg message buffer to be added to the queue   *   * The function will append the specified message buffer \a msg to the   * queue implemented by \ref llist_head \a queue @@ -89,7 +89,7 @@ void msgb_enqueue(struct llist_head *queue, struct msgb *msg)   * \returns message buffer (if any) or NULL if queue empty   *   * The function will remove the first message buffer from the queue - * implemented by 'ref llist_head \a queue. + * implemented by \ref llist_head \a queue.   */  struct msgb *msgb_dequeue(struct llist_head *queue)  { @@ -105,7 +105,7 @@ struct msgb *msgb_dequeue(struct llist_head *queue)  }  /*! \brief Re-set all message buffer pointers - *  \param[in] m message buffer that is to be resetted + *  \param[in] msg message buffer that is to be resetted   *   * This will re-set the various internal pointers into the underlying   * message buffer, i.e. remvoe all headroom and treat the msgb as diff --git a/src/serial.c b/src/serial.c index a025ae91..66ee7564 100644 --- a/src/serial.c +++ b/src/serial.c @@ -27,7 +27,7 @@   */  /*! \file serial.c - *  \file Osmocom serial port helpers + * Osmocom serial port helpers   */  #include <errno.h> diff --git a/src/socket.c b/src/socket.c index a5530d0e..6ff00f0d 100644 --- a/src/socket.c +++ b/src/socket.c @@ -129,7 +129,7 @@ int osmo_sock_init(uint16_t family, uint16_t type, uint8_t proto,  }  /*! \brief Initialize a socket and fill \ref osmo_fd - *  \param[out] osmocom file descriptor (will be filled in) + *  \param[out] ofd file descriptor (will be filled in)   *  \param[in] family Address Family like AF_INET, AF_INET6, AF_UNSPEC   *  \param[in] type Socket type like SOCK_DGRAM, SOCK_STREAM   *  \param[in] proto Protocol like IPPROTO_TCP, IPPROTO_UDP diff --git a/src/timer.c b/src/timer.c index 98cbf6e6..5988aef9 100644 --- a/src/timer.c +++ b/src/timer.c @@ -128,7 +128,7 @@ int osmo_timer_pending(struct osmo_timer_list *timer)  /*! \brief compute the remaining time of a timer   *  \param[in] timer the to-be-checked timer - *  \param[in] the current time (NULL if not known) + *  \param[in] now the current time (NULL if not known)   *  \param[out] remaining remaining time until timer fires   *  \return 0 if timer has not expired yet, -1 if it has   * | 
