commit | 4870b995ec0bf1b01d91b08d396ff0bffc2d0ab3 | [log] [tgz] |
---|---|---|
author | Daniel Willmann <dwillmann@sysmocom.de> | Thu Feb 04 18:00:36 2016 +0100 |
committer | Daniel Willmann <dwillmann@sysmocom.de> | Thu Feb 18 13:21:35 2016 +0100 |
tree | a5a967df439f689dc0650468bbf34b8e2c8d49a6 | |
parent | 49f99cd265a89ba155afdcb8daade73c60824de6 [diff] |
ranap_common: Add helper function to get IP from transport layer addr
diff --git a/include/osmocom/ranap/ranap_common.h b/include/osmocom/ranap/ranap_common.h index 229d134..b7682e5 100644 --- a/include/osmocom/ranap/ranap_common.h +++ b/include/osmocom/ranap/ranap_common.h
@@ -634,3 +634,4 @@ void ranap_set_log_area(int log_area); int ranap_parse_lai(struct gprs_ra_id *ra_id, const RANAP_LAI_t *lai); +int ranap_ip_from_transp_layer_addr(const BIT_STRING_t *in, uint32_t *ip);