gtp: add helper function to build GTP packets from an IPv4 packet
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 May 2024 23:13:18 +0000 (01:13 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 May 2024 23:36:00 +0000 (01:36 +0200)
commitb77732f05ebbc8d1452577a67f28c0cf3ee59684
tree7391210e2715516fbe3c1bb10a4d8613b2e0a6bd
parent559101a707842b4fc39cddef03f5dbcaa7820c6d
gtp: add helper function to build GTP packets from an IPv4 packet

Add routine to attach an IPv4 route for the encapsulated packet, deal
with Path MTU and push GTP header.

This helper function will be used to deal with IPv6-in-IPv4-GTP.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
drivers/net/gtp.c