libosmocore/include/osmocom/gsm
Oliver Smith 894be2d9da gsm23003: add osmo_imei_str_valid()
Verify 14 digit and 15 digit IMEI strings. OsmoHLR will use the 14
digit version to check IMEIs before writing them to the DB.

Place the Luhn checksum code in a dedicated osmo_luhn() function, so
it can be used elsewhere.

Related: OS#2541
Change-Id: Id2d2a3a93b033bafc74c62e15297034bf4aafe61
2019-01-14 14:39:57 +00:00
..
protocol add osmo_lu_type_names[], osmo_lu_type_name() 2019-01-08 14:07:07 +00:00
a5.h [doc] gea has separate group; A5 is not part of crypto but a5 group 2017-10-17 07:53:02 +02:00
abis_nm.h abis_nm: Introduce abis_nm_dump_foh() 2018-03-17 11:28:31 +00:00
apn.h cosmetic apn: correct whitespace error 2018-12-07 11:53:23 +00:00
bitvec_gsm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
bts_features.h features: define osmo_bts_*_feature() as static inline 2018-03-05 17:37:46 +00:00
comp128.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
comp128v23.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gan.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gea.h [doc] gea has separate group; A5 is not part of crypto but a5 group 2017-10-17 07:53:02 +02:00
gsm48.h add osmo_mi_name(), for MI-to-string like "IMSI-123456" 2019-01-08 14:07:07 +00:00
gsm48_arfcn_range_encode.h port arfcn range encode support from osmo-bsc 2019-01-12 09:51:05 +00:00
gsm48_ie.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm48_rest_octets.h port rest octets encoding code from osmo-bsc 2019-01-12 09:51:08 +00:00
gsm0341.h [doc] make sure all SMS related code is part of the 'sms' group 2017-10-17 07:53:02 +02:00
gsm0411_smc.h SMS: Add value_string for TS 04.11 CP and RP state 2018-01-24 16:50:59 +01:00
gsm0411_smr.h SMS: Add value_string for TS 04.11 CP and RP state 2018-01-24 16:50:59 +01:00
gsm0411_utils.h [doc] make sure all SMS related code is part of the 'sms' group 2017-10-17 07:53:02 +02:00
gsm0480.h libosmogsm: (re)introduce gsm48_push_l3hdr() 2018-08-05 23:21:43 +07:00
gsm0502.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0808.h LCLS: use proper types for value_string wrappers 2019-01-09 16:17:17 +00:00
gsm0808_utils.h LCLS: enc/dec entire parameter set instead of GCR 2018-12-23 10:20:05 +00:00
gsm23003.h gsm23003: add osmo_imei_str_valid() 2019-01-14 14:39:57 +00:00
gsm29118.h gsm29118: add generator functions for GSM29118 messages 2018-12-07 18:35:10 +01:00
gsm29205.h LCLS, TS 29.205: add GCR routines 2018-12-14 13:15:39 +00:00
gsm_utils.h osmo_rat_type: add OSMO_RAT_EUTRAN_SGS 2019-01-04 04:38:54 +01:00
gsup.h Cosmetic: GSUP: note "on wire" for imei_result 2019-01-09 14:53:34 +00:00
gsup_sms.h GSUP/SMS: introduce READY-FOR-SM message 2018-12-18 21:52:06 +07:00
ipa.h re-introduce ipa_ccm_idtag_parse_off() 2018-08-01 17:42:06 +02:00
kasumi.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
l1sap.h l1sap: Add fields for higher-precision timing offset values 2018-02-27 17:30:08 +01:00
lapd_core.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
lapdm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
meas_rep.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
mncc.h use __FILE__, not __BASE_FILE__ 2018-08-20 20:23:18 +00:00
oap.h Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
oap_client.h oap_client: Rename symbols with osmo_ prefix 2018-07-30 12:50:51 +02:00
prim.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
rsl.h [doc] Rename "RSL" to "A-bis RSL" in documentation. 2017-10-16 15:32:06 +02:00
rxlev_stat.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
sysinfo.h extend osmo_sysinfo_type with missing SYSINFO_TYPE 2017-07-15 22:49:19 +02:00
tlv.h TLV: add convenience function for 1-byte values 2018-12-20 09:52:15 +00:00