udp/session: refactor to support dgram mode 34/11634/18
authorFlorin Coras <fcoras@cisco.com>
Mon, 9 Apr 2018 16:24:52 +0000 (09:24 -0700)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 18 Apr 2018 07:23:46 +0000 (07:23 +0000)
commit7fb0fe1f6972a7a35146fa9115b866ba29a6fbb7
tree46f1236450ae918383bf56204b98a68199d28501
parent684d08c7e5378af5310346e9219a79ef1d901084
udp/session: refactor to support dgram mode

- adds session layer support for datagram based protocols
- updates udp to work in pure connectionless and datagram mode. The
  existing connected mode is now 'accessible' for apps as a dummy UDPC,
  as in, connected udp, protocol.
- updates udp_echo, echo client, echo server code to work in datagram
  mode.

Change-Id: I2960c0d2d246cb166005f545794ec31fe0d546dd
Signed-off-by: Florin Coras <fcoras@cisco.com>
21 files changed:
src/svm/svm_fifo.c
src/svm/svm_fifo.h
src/tests/vnet/session/udp_echo.c
src/vnet/session-apps/echo_client.c
src/vnet/session-apps/echo_client.h
src/vnet/session-apps/echo_server.c
src/vnet/session/application.c
src/vnet/session/application_interface.h
src/vnet/session/session.api
src/vnet/session/session.c
src/vnet/session/session.h
src/vnet/session/session_api.c
src/vnet/session/session_cli.c
src/vnet/session/session_node.c
src/vnet/session/stream_session.h
src/vnet/session/transport.c
src/vnet/session/transport.h
src/vnet/session/transport_interface.h
src/vnet/udp/udp.c
src/vnet/udp/udp.h
src/vnet/udp/udp_input.c