Commit Graph

7 Commits

Author SHA1 Message Date
Oliver Smith 72ddb01219 Add QEMU tests
Add tests to ensure libgtpnl + kernel driver work as expected.

Right now a kernel needs to be built from source, using Pablo's tree:
https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git/

Make sure to enable:
  CONFIG_GTP=y
  CONFIG_NET_NS=y
  CONFIG_VETH=y

$ cp bzImage tests/qemu/_linux
$ ./configure --enable-qemu-tests
$ make
$ make check

Once patches are upstreamed, it will be possible to use a pre-built
kernel from jenkins with: make -C tests qemu-download-kernel

Related: OS#1952
Change-Id: Ibf75514b866fffb11e90529e4705f126b23d7415
2024-02-16 15:15:24 +01:00
Oliver Smith b4e23a4fed gitignore: add gtp-link, gtp-tunnel
Change-Id: I9f9c9f64d96e25d99c5631ec40c1439f76678905
2023-10-19 15:54:51 +02:00
Pau Espin 118dd3ab17 .gitignore: Ignore new autofoo tmp files
Change-Id: Iaf853783679815e74b6b8e5f3e8631c53ed20613
2021-02-04 12:44:56 +01:00
Oliver Smith 01b2d940a0 contrib: integrate RPM spec
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with
CentOS 8 etc.

Related: OS#4550
Change-Id: I5376fde96c7442eb70f49a2ce38f57a817a94f81
2020-05-19 15:19:35 +02:00
Harald Welte 1ec4817dda add 'm4' subdirectory to .gitignore
Change-Id: I0207549ed00ad9c95ed64978046bb53ffe2634fe
2017-11-12 23:29:49 +09:00
Harald Welte 977c233b74 Add Debian packaging information 2017-10-30 23:22:52 +01:00
Pablo Neira Ayuso 14506665d9 add libgtpnl
This patch adds the libgtpnl library. Harald mentioned that he wanted
that the specific code that is added is well encapsulated, so let's
start a small library to interact with the GTP kernel module via netlink
interface.

This was done a bit while in the rush, so the interfaces are not nice
at all and the tools need to be ported on top of this library.

This library will be used to integrate openggsn with the GTP kernel
module.
2014-02-20 19:41:29 +01:00