Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Worker.N
openairinterface5G
Commits
fcabaf09
Commit
fcabaf09
authored
11 years ago
by
gauthier
Browse files
Options
Downloads
Patches
Plain Diff
removed IPv6 socket
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4916
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
56fb6614
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair3/RAL-LTE/LTE_RAL_UE/SRC/lteRALue_main.c
+6
-35
6 additions, 35 deletions
openair3/RAL-LTE/LTE_RAL_UE/SRC/lteRALue_main.c
with
6 additions
and
35 deletions
openair3/RAL-LTE/LTE_RAL_UE/SRC/lteRALue_main.c
+
6
−
35
View file @
fcabaf09
...
...
@@ -26,7 +26,7 @@
Forums : http://forums.eurecom.fsr/openairinterface
Address : Eurecom, 450 route des Chappes, 06410 Biot Sophia Antipolis, France
*******************************************************************************/
/*! \file lt
m
RALue_main.c
/*! \file lt
e
RALue_main.c
* \brief This file contains the main() function for the LTE-RAL-UE
* \author WETTERWALD Michelle, GAUTHIER Lionel, MAUREL Frederic
* \date 2013
...
...
@@ -45,6 +45,7 @@
#include
<stdlib.h>
#include
<time.h>
//-----------------------------------------------------------------------------
#include
"assertions.h"
#include
"lteRALue.h"
#include
"LAYER2/MAC/extern.h"
#include
"intertask_interface.h"
...
...
@@ -56,32 +57,6 @@ extern unsigned char NB_UE_INST;
extern
OAI_Emulation
oai_emulation
;
/*
//int netl_s, s_nas;
//struct sockaddr_un ralu_socket;
int wait_start_mihf;
int listen_mih;
struct ral_lte_priv rl_priv;
struct ral_lte_priv *ralpriv;
//ioctl
struct nas_ioctl gifr;
*/
//---------------------------------------------------------------------------
void
IAL_NAS_ioctl_init
(
void
){
//---------------------------------------------------------------------------
/*
// Get an UDP IPv6 socket ??
fd=socket(AF_INET6, SOCK_DGRAM, 0);
if (fd<0) {
LOG_E(RAL_UE, "Error opening socket for ioctl\n");
exit(1);
}
strcpy(gifr.name, "oai0");
*/
}
//---------------------------------------------------------------------------
void
mRAL_get_IPv6_addr
(
void
)
{
//---------------------------------------------------------------------------
...
...
@@ -253,14 +228,10 @@ int mRAL_initialize(void) {
LOG_D
(
RAL_UE
,
" Connect to the MIH-F for module id instance %d...
\n
"
,
mod_id
,
instance
);
g_ue_ral_obj
[
mod_id
].
mih_sock_desc
=
-
1
;
if
(
mRAL_mihf_connect
(
instance
)
<
0
)
{
LOG_E
(
RAL_UE
,
" %s : Could not connect to MIH-F...
\n
"
,
__FUNCTION__
);
// TO DO RETRY LATER
//exit(-1);
}
else
{
itti_subscribe_event_fd
(
TASK_RAL_UE
,
g_ue_ral_obj
[
mod_id
].
mih_sock_desc
);
hashtable_insert
(
g_ue_ral_fd2instance
,
g_ue_ral_obj
[
mod_id
].
mih_sock_desc
,
(
void
*
)
instance
);
}
AssertFatal
(
mRAL_mihf_connect
(
instance
)
>=
0
,
"%s : Could not connect to MIH-F...
\n
"
,
__FUNCTION__
);
itti_subscribe_event_fd
(
TASK_RAL_UE
,
g_ue_ral_obj
[
mod_id
].
mih_sock_desc
);
hashtable_insert
(
g_ue_ral_fd2instance
,
g_ue_ral_obj
[
mod_id
].
mih_sock_desc
,
(
void
*
)
instance
);
mRAL_send_link_register_indication
(
instance
,
&
g_ue_ral_obj
[
mod_id
].
transaction_id
);
g_ue_ral_obj
[
mod_id
].
transaction_id
+=
1
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment