⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sorttest.cc

📁 Click is a modular router toolkit. To use it you ll need to know how to compile and install the sof
💻 CC
📖 第 1 页 / 共 2 页
字号:
// -*- c-basic-offset: 4 -*-/* * sorttest.{cc,hh} -- regression test element for Vector * Eddie Kohler * * Copyright (c) 2008 Regents of the University of California * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, subject to the conditions * listed in the Click LICENSE file. These conditions include: you must * preserve this copyright notice, and you cannot mention the copyright * holders in advertising related to the Software without their permission. * The Software is provided WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED. This * notice is a summary of the Click LICENSE file; the license in that file is * legally binding. */#include <click/config.h>#include "sorttest.hh"#include <click/glue.hh>#include <click/error.hh>#include <click/confparse.hh>#if CLICK_USERLEVEL# include "elements/userlevel/fromfile.hh"#endifCLICK_DECLSSortTest::SortTest(){}SortTest::~SortTest(){}static const char *classes[] = {"ToyTCP","SetIPDSCP","DupPath","CheckIPHeader","Classifier","ARPFaker","ForceICMP","Error","RoundRobinUnqueue","CheckTCPHeader","IPAddrRewriter","ProtocolTranslator64","Pct","DecIP6HLIM","ProgressBar","EtherSpanTree","TCPIPSend","Paint","Tee","ICMPRewriter","AnonymizeIPAddr","SpinlockAcquire","AggregateFirst","Counter","Null1","IP6Fragmenter","IPMirror","PullTee","AggregateCounter","SortedIPLookup","AddressTranslator","ThreadMonitor","KernelTun","ChatterSocket","LookupIP6Route","Print80211","TimeFilter","SetUDPChecksum","PaintTee","TCPAck","RatedUnqueue","PrioSched","RandomSwitch","IPPrint","AggregateFilter","BandwidthRatedUnqueue","StrideSwitch","Unqueue2","IP6Mirror","IPsecAuthSHA1","Switch","CPUQueue","Unqueue","RatedSource","ICMPPingEncap","NotifierQueue","LinearIPLookup","AdaptiveRED","ICMPSendPings","SetIP6DSCP","DelayShaper","SetRandIPAddress","FromNetFlowSummaryDump","SetCRC32","HashSwitch","TimeRange","RandomSource","Meter","IP6Print","RFC2507Decomp","IPEncap","DecIPTTL","HostEtherFilter","ICMPPingRewriter","IPClassifier","DiscardNoFree","TCPReflector","CopyTCPSeq","CheckPacket","FastTCPFlows","PacketTest","PollDevice","RoundRobinSwitch","BandwidthShaper","Null5","SetAnnoByte","PullSwitch","GetIPAddress","IPRewriterPatterns","ScheduleLinux","Null2","GetIP6Address","Print","StaticThreadSched","Discard","FromHost","CompareBlock","TimedSource","CheckPaint","ICMPError","DelayUnqueue","KernelTap","ProtocolTranslator46","TimeSortedSched","ToIPFlowDumps","AlignmentInfo","EtherEncap","KernelHandlerProxy","BandwidthMeter","SetIPChecksum","DevirtualizeInfo","LinuxIPLookup","SendPattern","CheckCRC32","MarkIPCE","AggregateLast","BufferConverter","LookupIPRouteMP","Null8","IP6NDAdvertiser","FastUDPFlows","UDPIPEncap","BandwidthRatedSplitter","RIPSend","IPInputCombo","CheckPattern","IPReassembler","ToDevice","FromDevice","ForceTCP","ControlSocket","FromIPSummaryDump","PrintAiro","StrideSched","Null3","Idle","Queue","Null","PerfCountAccum","PullNull","CheckICMPHeader","CheckLength","RoundRobinSched","Strip","TCPRewriter","IPsecESPUnencap","FixIPSrc","ICMPPingSource","ForceUDP","QuitWatcher","Burster","IPFilter","UnstripIPHeader","ToHost","ICMPPingResponder","IPOutputCombo","FastUDPSourceIP6","ToHostSniffers","Unstrip","Null4","SimpleQueue","SetTCPChecksum","SetCycleCount","MarkIPHeader","IPsecDES","RadixIPLookup","IPFragmenter","Scramble","RandomSample","TimedSink","LookupIPRoute2","FastUDPSource","BigHashMapTest","RoundTripCycleCount","IPsecESPEncap","SpinlockRelease","IPGWOptions","StaticSwitch","SerialLink","Shaper","MSQueue","B8B10","DebugBridge","DropBroadcasts","SetTimestamp","RandomBitErrors","RED","AggregateIPFlows","FrontDropQueue","ToIPSummaryDump","CheckUDPHeader","PokeHandlers","ARPQuerier","SetIP6Address","Suppressor","CPUSwitch","SortedTaskSched","WebGen","StaticPullSwitch","QueueYankTest","SetIPAddress","CheckIP6Header","StoreIPAddress","ToDevice","BIM","Null6","PushNull","ICMP6Error","FromDump","ARPResponder","RFC2507Comp","FromDevice","ForceIP","TimestampAccum","AggregateIP","FTPPortMapper","DynamicUDPIPEncap","EtherMirror","IPRewriter","ScheduleInfo","TCPDemux","TCPConn","RatedSplitter","EnsureEther","SetPacketType","IPRateMonitor","DriverManager","RoundRobinIPMapper","AverageCounter","EtherSwitch","PrintOld","IP6NDSolicitor","MixedQueue","CycleCountAccum","PaintSwitch","TCPBuffer","ToDump","Null7","StaticIPLookup","FromDAGDump","StripToNetworkHeader","DRRSched","SetPerfCount","AddressInfo","InfiniteSource","StripIPHeader","MarkIP6Header","Align","CopyFlowID","PerfCountInfo","AggregateLength","TrieIPLookup","CheckIPHeader2","Block","SpinlockInfo"};static const char * const sorted_classes[] = {"ARPFaker","ARPQuerier","ARPResponder","AdaptiveRED","AddressInfo","AddressTranslator","AggregateCounter","AggregateFilter","AggregateFirst","AggregateIP","AggregateIPFlows","AggregateLast","AggregateLength","Align","AlignmentInfo","AnonymizeIPAddr","AverageCounter","B8B10","BIM","BandwidthMeter","BandwidthRatedSplitter","BandwidthRatedUnqueue","BandwidthShaper","BigHashMapTest","Block","BufferConverter","Burster","CPUQueue","CPUSwitch","ChatterSocket","CheckCRC32","CheckICMPHeader","CheckIP6Header","CheckIPHeader","CheckIPHeader2","CheckLength","CheckPacket","CheckPaint","CheckPattern","CheckTCPHeader","CheckUDPHeader","Classifier","CompareBlock","ControlSocket","CopyFlowID","CopyTCPSeq","Counter","CycleCountAccum","DRRSched","DebugBridge","DecIP6HLIM","DecIPTTL","DelayShaper","DelayUnqueue","DevirtualizeInfo","Discard","DiscardNoFree","DriverManager","DropBroadcasts","DupPath","DynamicUDPIPEncap","EnsureEther","Error","EtherEncap","EtherMirror","EtherSpanTree","EtherSwitch","FTPPortMapper","FastTCPFlows","FastUDPFlows","FastUDPSource","FastUDPSourceIP6","FixIPSrc","ForceICMP","ForceIP","ForceTCP","ForceUDP","FromDAGDump","FromDevice","FromDevice","FromDump","FromHost","FromIPSummaryDump","FromNetFlowSummaryDump","FrontDropQueue","GetIP6Address","GetIPAddress","HashSwitch","HostEtherFilter","ICMP6Error","ICMPError","ICMPPingEncap","ICMPPingResponder","ICMPPingRewriter","ICMPPingSource","ICMPRewriter","ICMPSendPings",

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -