mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
net: UDP tunnel encapsulation module for tunnelling different protocols like MPLS, IP, NSH etc.
The Bareudp tunnel module provides a generic L3 encapsulation tunnelling module for tunnelling different protocols like MPLS, IP,NSH etc inside a UDP tunnel. Signed-off-by: Martin Varghese <martin.varghese@nokia.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
48851e9e80
commit
571912c69f
19
include/net/bareudp.h
Normal file
19
include/net/bareudp.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
|
||||
#ifndef __NET_BAREUDP_H
|
||||
#define __NET_BAREUDP_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/skbuff.h>
|
||||
|
||||
struct bareudp_conf {
|
||||
__be16 ethertype;
|
||||
__be16 port;
|
||||
u16 sport_min;
|
||||
};
|
||||
|
||||
struct net_device *bareudp_dev_create(struct net *net, const char *name,
|
||||
u8 name_assign_type,
|
||||
struct bareudp_conf *info);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user