![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 0003 #ifndef __NET_BAREUDP_H 0004 #define __NET_BAREUDP_H 0005 0006 #include <linux/netdevice.h> 0007 #include <linux/types.h> 0008 #include <net/rtnetlink.h> 0009 0010 static inline bool netif_is_bareudp(const struct net_device *dev) 0011 { 0012 return dev->rtnl_link_ops && 0013 !strcmp(dev->rtnl_link_ops->kind, "bareudp"); 0014 } 0015 0016 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |