Sukchan Lee
2223dfef0e
remove hard-corded code
2017-10-20 17:19:27 +09:00
Sukchan Lee
7b046c75b2
add usrsctp_finish
2017-10-20 16:32:57 +09:00
Sukchan Lee
3bf6326763
create testsctp.c and testusrsctp.c
2017-10-20 16:15:32 +09:00
Sukchan Lee
c2d962d4d1
rollback privous commit
2017-10-20 15:52:30 +09:00
Sukchan Lee
34270825a7
fix the bug usrsctp_finish()
2017-10-20 15:46:06 +09:00
Sukchan Lee
d971a9c9ae
testepc is passed in Userland SCTP
2017-10-20 15:14:14 +09:00
Sukchan Lee
d40ba2a67c
Oops! re-add net_read() in testcode
2017-10-20 13:47:43 +09:00
Sukchan Lee
7b1949da6c
Merge branch 'r0.2' of https://github.com/acetcom/nextepc into r0.2
2017-10-20 13:19:20 +09:00
Sukchan Lee
2a3fe018e8
S1Setup Test is passed in Userland SCTP
2017-10-20 13:18:58 +09:00
Sukchan Lee
36985520f9
send/recv function is tested for only 1 eNB.
2017-10-19 13:42:07 +09:00
Sukchan Lee
cca9f6d521
recv function is tested for Userland SCTP library
2017-10-19 12:50:39 +09:00
Sukchan Lee
da1a50e9d3
Merge branch 'master' into r0.2
2017-10-19 10:15:13 +09:00
Sukchan Lee
c460386d39
Merge pull request #6 from laf0rge/laforge/s1ap-ppid-fix
...
net_accept(): Inherit PPID from listening socket
2017-10-19 09:50:42 +09:00
1c64000431
net_accept(): Inherit PPID from listening socket
...
When we call accept() on a listening socket, we need to inherit
the sctp PPID from the master socket to the new socket of the
just-accepted connection. Otherwise any sent packets (such as S1AP)
will be sent to PPID=0 rather than the configured PPID (e.g. 18 for
S1AP).
2017-10-18 23:18:53 +02:00
Sukchan Lee
1df4fc9a41
continue to porting Userland SCTP
...
connection is done.
will implement send/recv function
2017-10-19 01:09:06 +09:00
Sukchan Lee
bb806e492e
Finally, I've remove net_sock_t->app_index in core_net.h
...
Now, we are done to porting SCTP using Userland SCTP
2017-10-18 14:36:12 +09:00
Sukchan Lee
c3ffd52771
mme_enb_t context structure is changed using hash table.
...
I'll remove net_sock_t->app_index if poosible.
2017-10-18 14:05:22 +09:00
Sukchan Lee
10b23bb64e
fix compile error for usrsctp
2017-10-17 22:18:48 +09:00
Sukchan Lee
ea253016fc
autoconf update for supporting Userland SCTP(libusrsctp)
2017-10-17 20:44:05 +09:00
Sukchan Lee
a020b587c1
Merge branch 'master' into r0.2
2017-10-17 16:19:20 +09:00
Sukchan Lee
0eb9ae4792
fix the compile error
2017-10-17 23:04:24 +09:00
Sukchan Lee
f275617225
Merge pull request #1 from laf0rge/master
...
Add .gitingore file to have clean 'git status' output
2017-10-17 16:16:14 +09:00
92ecad5118
Add .gitingore file to have clean 'git status' output
2017-10-17 08:12:58 +02:00
Sukchan Lee
d486e84816
improve netconfig
...
modify GTP packet sending function interface
2017-10-17 13:53:55 +09:00
Sukchan Lee
b287a3b022
fix the bug multiple tun driver
2017-10-17 13:14:10 +09:00
Sukchan Lee
83a21c5840
configuration is changed
2017-10-17 13:04:45 +09:00
Sukchan Lee
b9f4dcf4ea
MAC OSX is needed to enable IP fowwarding
2017-10-17 07:44:48 +09:00
Sukchan Lee
a20c96bc21
fix the Makefile errata
2017-10-17 01:25:28 +09:00
Sukchan Lee
291a5ce514
merge MacOSX and FreeBSD code related tun ip config
2017-10-17 01:03:34 +09:00
Sukchan Lee
cdbc8d1ab0
MAC OSX ping loopback test done
2017-10-17 00:56:00 +09:00
Sukchan Lee
689c3b95e7
routing table is automatically added in FreeBSD
2017-10-17 08:24:30 +09:00
Sukchan Lee
b8a37b0ea1
net_tun library is updated for supporting FreeBSD and MacOSX
...
In FreeBSD and MacOSX, tun driver is automatically configured.
2017-10-17 07:03:37 +09:00
Sukchan Lee
86908cdbe9
ping src:45.45.0.2 dst:45.45.0.1 is only enabled in Linux platform
...
Linux Kernel reply the icmp message.
FreeBSD/MacOSX is not working.
More study is needed about TUN
2017-10-15 20:43:05 +09:00
Sukchan Lee
0f08c2a624
Ping loopback is added in Linux platform
2017-10-15 20:33:51 +09:00
Sukchan Lee
47bad3794e
PGW IP assign rule is updated
2017-10-15 20:33:20 +09:00
Sukchan Lee
fb566fd94c
fix the compile error for high GCC version
2017-10-15 01:18:45 +09:00
Sukchan Lee
3bbbd1b5b1
fix the bug for One SGW IP assign
2017-10-15 01:07:27 +09:00
Sukchan Lee
172266b0c5
GTP Loopback Test Module is Added.
...
1. ping(src:45.45.0.1, dst:45.45.0.1)
2. MME emulates GTP-U instead of eNB, and send GTP-U to the SGW
3. SGW relay to PGW using GTP-U
4. PGW TUN reponse ping reply
5. PGW sends GTP-U to the SGW
6. SGW sends GTP-U to the MME
7. GTP-U decapsulates and sends ping packet to the kernel
2017-10-15 00:45:49 +09:00
Sukchan Lee
1f14b132c2
Merge branch 'r0.2' of https://github.com/acetcom/nextepc into r0.2
2017-10-13 21:51:50 +09:00
Sukchan Lee
3613b27ca7
MME/PGW Configuration is also changed to support One SGW IP assign
...
Control Plane Test Done.
Data Plan Test is Needed.
2017-10-13 21:31:49 +09:00
Sukchan Lee
4672ee559f
One IP assign for SGW
...
Configuration is changed
Remove S11_XXXX, S1U_XXXX, S5C_XXXX, S5U_XXXX
Introduce GTPC_IPV4, GTPU_IPV4
2017-10-13 21:13:39 +09:00
Sukchan Lee
02773eff40
FreeBSD Porting done.
2017-10-13 18:12:15 +09:00
Sukchan Lee
5d6e63c20e
Reduce SGW IP assign to One.
...
Initially, I've started to update Control Plane related to this issue.
Context Accessing is re-arraged based Thread for finding GTP Node Context.
[MME]
mme_sgw_t : SM thread(Control-Plane)
[SGW]
sgw_mme_t : Net thread(Data-Plane)
sgw_pgw_t : SM thread(Control-Plane)
[PGW]
pgw_sgw_t : Net thread(Data-Plane)
2017-10-13 14:41:55 +09:00
Sukchan Lee
ee4dd7732e
Porting to FreeBSD (Stage-1)
...
I'd just fix the compile error at this point.
2017-10-12 23:01:51 +09:00
Sukchan Lee
8d343221d2
update VERSION to 0.2.0
2017-10-11 15:50:00 +09:00
Sukchan Lee
7c20ac5c64
update VERSION to 0.1.1
2017-10-11 15:46:45 +09:00
Sukchan Lee
dac66d0b80
BUILT_SOURCE is missing.
...
fdd.tab.h is a file generated from lex & yacc. If we do not tell it to
automake, the dependency issue occurs in `make -j 8`.
2017-10-11 06:25:21 +00:00
Sukchan Lee
4245502ae2
Fix the bug under mongo c driver v1.5
...
I misunderstand the interface when querying with projection
when the version of Mongo C Driver is lower than 1.5.
For reference, in case of Ubuntu 16.04, Mongo C Driver v1.3.1
will be installed, so when using 'Dedicated Bearer', v0.1.1
should be used because it does not work normally.
2017-10-11 06:08:19 +00:00
Sukchan Lee
60d228a88c
fix errta in README
2017-10-09 11:07:58 +09:00
Sukchan Lee
d6bd86d6e7
update README
2017-10-09 11:03:15 +09:00