Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/net/     Datei vom 24.10.2025 mit Größe 333 B image not shown  

Quelle  bareudp.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __NET_BAREUDP_H
#define __NET_BAREUDP_H

#include <linux/netdevice.h>
#include <linux/types.h>
#include <net/rtnetlink.h>

static inline bool netif_is_bareudp(const struct net_device *dev)
{
 return dev->rtnl_link_ops &&
        !strcmp(dev->rtnl_link_ops->kind, "bareudp");
}

#endif

Messung
CHZG
969810097

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland