Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Impressum sja1105_vl.h

  Sprache: C
 

/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright 2020 NXP
 */

#ifndef _SJA1105_VL_H
#define _SJA1105_VL_H

#include "sja1105.h"

#if IS_ENABLED(CONFIG_NET_DSA_SJA1105_VL)

int sja1105_vl_redirect(struct sja1105_private *priv, int port,
   struct netlink_ext_ack *extack, unsigned long cookie,
   struct sja1105_key *key, unsigned long destports,
   bool append);

int sja1105_vl_delete(struct sja1105_private *priv, int port,
        struct sja1105_rule *rule,
        struct netlink_ext_ack *extack);

int sja1105_vl_gate(struct sja1105_private *priv, int port,
      struct netlink_ext_ack *extack, unsigned long cookie,
      struct sja1105_key *key, u32 index, s32 prio,
      u64 base_time, u64 cycle_time, u64 cycle_time_ext,
      u32 num_entries, struct action_gate_entry *entries);

int sja1105_vl_stats(struct sja1105_private *priv, int port,
       struct sja1105_rule *rule, struct flow_stats *stats,
       struct netlink_ext_ack *extack);

#else

static inline int sja1105_vl_redirect(struct sja1105_private *priv, int port,
          struct netlink_ext_ack *extack,
          unsigned long cookie,
          struct sja1105_key *key,
          unsigned long destports,
          bool append)
{
 NL_SET_ERR_MSG_MOD(extack, "Virtual Links not compiled in");
 return -EOPNOTSUPP;
}

static inline int sja1105_vl_delete(struct sja1105_private *priv,
        int port, struct sja1105_rule *rule,
        struct netlink_ext_ack *extack)
{
 NL_SET_ERR_MSG_MOD(extack, "Virtual Links not compiled in");
 return -EOPNOTSUPP;
}

static inline int sja1105_vl_gate(struct sja1105_private *priv, int port,
      struct netlink_ext_ack *extack,
      unsigned long cookie,
      struct sja1105_key *key, u32 index, s32 prio,
      u64 base_time, u64 cycle_time,
      u64 cycle_time_ext, u32 num_entries,
      struct action_gate_entry *entries)
{
 NL_SET_ERR_MSG_MOD(extack, "Virtual Links not compiled in");
 return -EOPNOTSUPP;
}

static inline int sja1105_vl_stats(struct sja1105_private *priv, int port,
       struct sja1105_rule *rule,
       struct flow_stats *stats,
       struct netlink_ext_ack *extack)
{
 NL_SET_ERR_MSG_MOD(extack, "Virtual Links not compiled in");
 return -EOPNOTSUPP;
}

#endif /* IS_ENABLED(CONFIG_NET_DSA_SJA1105_VL) */

#endif /* _SJA1105_VL_H */

Messung V0.5 in Prozent
C=93 H=93 G=92

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-06-07) ¤

*© Formatika GbR, Deutschland






Wurzel

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=434850
#Domains=655579