1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/net/include
Cenk Gündoğan 710c7e6cf6 transport_layer: Splitting UDP and TCP
Currently, the tcp and udp implementations are bound to each other in a
module called *destiny*. Thus, when using only one of them then the
other one gets also compiled into the binary and initialized,
which results in unnecessary RAM usage and workload for the CPU.

The approach in this PR defines a common module named *socket_base*,
which contains functions used by the posix layer. Compiled by it's own,
those functions return negative error codes, to symbolize upper layers
that they are not supported. When also including the modules *udp* or
*tcp* respectively, functions from *socket_base* get overwritten with the
correct functionality.

Defining *udp* or *tcp* in a Makefile also includes *socket_base*.
Defining *pnet* in a Makefile also includes *socket_base*.
2014-09-11 20:07:46 +02:00
..
ccn_lite core: harmonizes the data type for the process ID 2014-08-01 12:02:54 +02:00
rpl licenses: updated some missing licenses in headers 2014-08-21 23:52:42 +02:00
sixlowpan fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
socket_base transport_layer: Splitting UDP and TCP 2014-09-11 20:07:46 +02:00
etx_beaconing.h core: remove extra thread_create_arg() function 2014-07-09 10:28:23 +02:00
ieee802154_frame.h fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
inet_ntop.h Remove destiny header dependency from net_help 2014-02-08 00:31:02 +01:00
inet_pton.h Remove destiny header dependency from net_help 2014-02-08 00:31:02 +01:00
ipv6.h fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
net_help.h net: handle macro redefinitions for OS X 2014-05-14 19:43:58 +02:00
net_if.h fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
protocol-multiplex.h doc: fix more license headers 2014-08-27 19:20:49 +02:00
rpl.h licenses: updated some missing licenses in headers 2014-08-21 23:52:42 +02:00
sixlowpan.h fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
socket_base.h transport_layer: Splitting UDP and TCP 2014-09-11 20:07:46 +02:00
tcp.h transport_layer: Splitting UDP and TCP 2014-09-11 20:07:46 +02:00
udp.h transport_layer: Splitting UDP and TCP 2014-09-11 20:07:46 +02:00