Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit d33bd757 authored by Wojciech Drewek's avatar Wojciech Drewek Committed by Tony Nguyen
Browse files

gtp: Implement GTP echo request


Adding GTP device through ip link creates the situation where
GTP instance is not able to send GTP echo requests.
Echo requests are used to check if GTP peer is still alive.
With this patch, gtp_genl_ops are extended by new cmd (GTP_CMD_ECHOREQ)
which allows to send echo request in the given version of GTP
protocol (v0 or v1), from the given ms address to he given
peer. TID is not inclued because in all path management
messages it should be equal to 0.

When GTP echo response is detected, multicast message is
send to everyone in the gtp_genl_family. Message contains
GTP version, ms address and peer address.

Suggested-by: default avatarHarald Welte <laforge@gnumonks.org>
Signed-off-by: default avatarWojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: default avatarHarald Welte <laforge@gnumonks.org>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 9af41cc3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment