Skip to content
Success

Changes

Summary

  1. gtp_new(): use talloc instead of calloc/free (details)
  2. gtp: Rework gtp_resp() into gtp_resp_pdp() (details)
Commit 446dd65de1787052a64b846125e29e774d82c99f by lynxis
gtp_new(): use talloc instead of calloc/free

Required for SGSN Context Req fsm which is using talloc.
Adds a new api to set the libgtp talloc context via gtp_set_talloc_ctx()

Change-Id: I7c4a29c4bb1ef3c7bf506e59e99b3a804cabe34b
The file was modifiedgtp/gsn.c
The file was modifiedgtp/gtp.c
The file was modifiedTODO-RELEASE
The file was modifiedinclude/osmocom/gtp/gtp.h
The file was modifiedgtp/gtp_internal.h
Commit 4b8ebcd784e9335a94ff7c970e607eb7f8afdb81 by lynxis
gtp: Rework gtp_resp() into gtp_resp_pdp()

gtp_resp() requires a PDP context. To support more generic messages
without a PDP context, rename gtp_resp() into gtp_resp_pdp() and
create a more generic function to transmit a GTP response.

Will be used by the SGSN Context Req/Resp/Ack code.

Change-Id: Id9ff95e0e2a10a22e65ecf42b2a2b06a0f2d1a45
The file was modifiedgtp/gtp.c