Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/linux/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  if_eql.h   Sprache: C

 
/*
 * Equalizer Load-balancer for serial network interfaces.
 *
 * (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
 * NCM: Network and Communications Management, Inc.
 *
 *
 * This software may be used and distributed according to the terms
 * of the GNU General Public License, incorporated herein by reference.
 * 
 * The author may be reached as simon@ncm.com, or C/O
 *    NCM
 *    Attn: Simon Janes
 *    6803 Whittier Ave
 *    McLean VA 22101
 *    Phone: 1-703-847-0040 ext 103
 */

#ifndef _LINUX_IF_EQL_H
#define _LINUX_IF_EQL_H


#include <linux/timer.h>
#include <linux/spinlock.h>
#include <net/net_trackers.h>
#include <uapi/linux/if_eql.h>

typedef struct slave {
 struct list_head list;
 struct net_device *dev;
 netdevice_tracker dev_tracker;
 long   priority;
 long   priority_bps;
 long   priority_Bps;
 long   bytes_queued;
} slave_t;

typedef struct slave_queue {
 spinlock_t  lock;
 struct list_head all_slaves;
 int   num_slaves;
 struct net_device *master_dev;
} slave_queue_t;

typedef struct equalizer {
 slave_queue_t  queue;
 int   min_slaves;
 int   max_slaves;
 struct timer_list timer;
} equalizer_t;  

#endif /* _LINUX_EQL_H */

Messung V0.5
C=93 H=100 G=96

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.