]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/net/bareudp.h
Merge tag 'efi-fixes-for-v5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-jammy-kernel.git] / include / net / bareudp.h
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
9 struct bareudp_conf {
10 __be16 ethertype;
11 __be16 port;
12 u16 sport_min;
13 bool multi_proto_mode;
14 };
15
16 struct net_device *bareudp_dev_create(struct net *net, const char *name,
17 u8 name_assign_type,
18 struct bareudp_conf *info);
19
20 #endif