net: UDP tunnel encapsulation module for tunnelling different protocols like MPLS...
[linux-2.6-block.git] / include / net / bareudp.h
CommitLineData
571912c6
MV
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef __NET_BAREUDP_H
4#define __NET_BAREUDP_H
5
6#include <linux/types.h>
7#include <linux/skbuff.h>
8
9struct bareudp_conf {
10 __be16 ethertype;
11 __be16 port;
12 u16 sport_min;
13};
14
15struct net_device *bareudp_dev_create(struct net *net, const char *name,
16 u8 name_assign_type,
17 struct bareudp_conf *info);
18
19#endif