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 21