Commit Graph

118 Commits

Author SHA1 Message Date
Alexander Couzens 56521e1410 l2tpd: add logging to stderr 2016-11-05 18:46:34 +01:00
Alexander Couzens eba878e472 l2tpd/Makefile: add EXTRA_CFLAGS 2016-11-05 18:46:34 +01:00
Alexander Couzens bfe924c91f l2tpd: init talloc and use it for l2tpd_instance l2i 2016-11-05 18:46:34 +01:00
Alexander Couzens cac30c474c l2tpd: move ofd setup before osmo_sock_init_ofd() 2016-11-05 18:46:34 +01:00
Alexander Couzens 047e96a805 init logging system 2016-11-05 18:46:34 +01:00
Alexander Couzens 9586b78d02 l2tpd_fsm: make fsm itself and states public 2016-11-05 18:46:34 +01:00
Alexander Couzens ea516e972d l2tpd: fix compiler errors and misused format string 2016-11-05 18:46:34 +01:00
Alexander Couzens 1a2dc58e38 fixme: use local version until osmo_sockaddr_equal is upstream
work around old libosmocore version
2016-11-05 18:46:34 +01:00
Alexander Couzens 002f9e06f4 lookup the l2tpd connection using the src ip 2016-11-05 18:46:34 +01:00
Alexander Couzens f1c1de8dd0 generalize l2tp_rcvmsg: dont to any difference between ip and udp
this should handle the upper layer
2016-11-05 18:46:34 +01:00
Alexander Couzens bb5b5f5b3b l2tpd_data: init l2connetion fsm 2016-11-05 18:46:34 +01:00
Alexander Couzens 775c56353f l2tpd_cc_find_by_sockaddr: add sockaddr length to function signature
osmo_sockaddr_equal requires an sockaddr length
2016-11-05 18:46:34 +01:00
Alexander Couzens 3563192ccb l2tp_data: give l2tp_recvmsg socketaddr of the incoming packet 2016-11-05 18:46:34 +01:00
Alexander Couzens 486b7acbfc l2tp_data: add l2tpd_cc_find_by_sockaddr() 2016-11-05 18:46:34 +01:00
Alexander Couzens a3ea0eef15 WIP: l2tpd: make it compile again
fix all compiler warnings & errors but -Wunsed-function
2016-11-05 18:46:34 +01:00
Harald Welte a8c771859b WIP l2tpd: More progress on the implementation
still far from being complete, but architecture is slowly getting there.

We now have data structures for bulk AVP parsing and allocate + fill
local data structures for connections and sessions.
2016-10-17 02:11:32 +02:00
Harald Welte d450c71498 WIP: L2TP daemon to interoperate with Ericsson SIU 2016-10-14 16:47:46 +02:00
Harald Welte a5e825505c initial import of E/// information on SIU 2016-07-18 09:05:19 +02:00