Section: 24.5 Home PLMN ProSe Function Address
Content: The Home PLMN ProSe Function address is in the form of a Fully Qualified Domain Name as defined in IETF RFC 1035 [19] and IETF RFC 1123 [20]. This address consists of six labels. Each label shall consist of the alphabetic characters (A-Z and a-z), digits (0-9) and the hyphen (-) in accordance with IETF RFC 1035 [19]. Each label shall begin and end with either an alphabetic character or a digit in accordance with IETF RFC 1123 [20]. The case of alphabetic characters is not significant. For 3GPP systems, if not pre-configured on the UE or provisioned by the network, the UE shall derive the Home PLMN ProSe Function address from the IMSI as described in the following steps: 1. Take the first 5 or 6 digits, depending on whether a 2 or 3-digit MNC is used (see 3GPP TS 31.102[ Characteristics of the Universal Subscriber Identity Module (USIM) application ]  [27]) and separate them into MCC and MNC; if the MNC is 2-digit MNC then a zero shall be added at the beginning. 2. Use the MCC and MNC derived in step 1 to create the "mnc<MNC>.mcc<MCC>.pub.3gppnetwork.org" domain name. 3. Add the label "prose-function." to the beginning of the domain. An example of a Home PLMN ProSe Function address is: IMSI in use: 234150999999999; where: - MCC = 234; - MNC = 15; and - MSIN = 0999999999, which gives the following Home PLMN ProSe Function address: "prose-function.mnc015.mcc234.pub.3gppnetwork.org".