summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-02 20:18:11 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-02 20:23:34 +0100
commit667e83d71eebba70817ab035ef207a52785bc129 (patch)
treee55d35f34e6a1e2094966a442f60b64ae385bba7
parentd7b0577d7d30139491b5cfeffb467440f9e88818 (diff)
fix some typos
Sponsored-by: On-Waves ehi
-rw-r--r--include/osmocom/core/timer.h8
-rw-r--r--include/osmocom/vty/ports.h2
-rw-r--r--src/gsm/tlv_parser.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/include/osmocom/core/timer.h b/include/osmocom/core/timer.h
index d7343576..6730bfe1 100644
--- a/include/osmocom/core/timer.h
+++ b/include/osmocom/core/timer.h
@@ -37,16 +37,16 @@
* Timer management:
* - Create a struct osmo_timer_list
* - Fill out timeout and use add_timer or
- * use schedule_timer to schedule a timer in
+ * use osmo_timer_schedule to schedule a timer in
* x seconds and microseconds from now...
- * - Use del_timer to remove the timer
+ * - Use osmo_timer_del to remove the timer
*
* Internally:
* - We hook into select.c to give a timeval of the
* nearest timer. On already passed timers we give
* it a 0 to immediately fire after the select
- * - update_timers will call the callbacks and remove
- * the timers.
+ * - osmo_timers_update will call the callbacks and
+ * remove the timers.
*
*/
/*! \brief A structure representing a single instance of a timer */
diff --git a/include/osmocom/vty/ports.h b/include/osmocom/vty/ports.h
index a58c73b5..f4bc4853 100644
--- a/include/osmocom/vty/ports.h
+++ b/include/osmocom/vty/ports.h
@@ -11,5 +11,5 @@
#define OSMO_VTY_PORT_SGSN 4245
#define OSMO_VTY_PORT_GBPROXY 4246
#define OSMO_VTY_PORT_BB 4247
-/* 4249-2451 used by control interface */
+/* 4249-4251 used by control interface */
#define OSMO_VTY_PORT_BTSMGR 4252
diff --git a/src/gsm/tlv_parser.c b/src/gsm/tlv_parser.c
index 5eee53a6..19d0c84d 100644
--- a/src/gsm/tlv_parser.c
+++ b/src/gsm/tlv_parser.c
@@ -70,7 +70,7 @@ int tlv_parse_one(uint8_t *o_tag, uint16_t *o_len, const uint8_t **o_val,
return 1;
}
- /* FIXME: use tables for knwon IEI */
+ /* FIXME: use tables for known IEI */
switch (def->def[tag].type) {
case TLV_TYPE_T:
/* GSM TS 04.07 11.2.4: Type 1 TV or Type 2 T */
@@ -143,7 +143,7 @@ tlv: /* GSM TS 04.07 11.2.4: Type 4 TLV */
return len;
}
-/*! \brief Parse an entire buffer of TLV encoded Information Eleemnts
+/*! \brief Parse an entire buffer of TLV encoded Information Elements
* \param[out] dec caller-allocated pointer to \ref tlv_parsed
* \param[in] def structure defining the valid TLV tags / configurations
* \param[in] buf the input data buffer to be parsed