gtp: add helper function to build GTP packets from an IPv6 packet
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 May 2024 23:13:32 +0000 (01:13 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 May 2024 23:36:00 +0000 (01:36 +0200)
commit045a7c15e7910bcce379386390c0353c944e386a
treeef76147f4dfa47ea543d5ae2ca801c14c0146d96
parentb77732f05ebbc8d1452577a67f28c0cf3ee59684
gtp: add helper function to build GTP packets from an IPv6 packet

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

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

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