]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: GTP support in ip link
authorWojciech Drewek <wojciech.drewek@intel.com>
Thu, 17 Mar 2022 16:27:54 +0000 (17:27 +0100)
committerDavid Ahern <dsahern@kernel.org>
Sun, 20 Mar 2022 23:40:22 +0000 (17:40 -0600)
commitb25599c57ef283b4d94ea4881d423d761a9ca3dc
tree4a85d7490847b90f62456be8f611c46abfdad5f0
parente48808692b6db3f1d7d31139eb22030228ba6fb7
ip: GTP support in ip link

Support for creating GTP devices through ip link. Two arguments
can be specified by the user when adding device of the GTP type.
 - role (sgsn or ggsn) - indicates whether we are on the GGSN or SGSN
 - hsize - indicates the size of the hash table where PDP sessions
   are stored

IFLA_GTP_FD0 and IFLA_GTP_FD1 arguments would not be provided. Those
are file descriptores to the sockets created in the userspace. Since
we are not going to create sockets in ip link, we don't have to
provide them.

Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/Makefile
ip/iplink.c
ip/iplink_gtp.c [new file with mode: 0644]
man/man8/ip-link.8.in