A Discrete-Event Network Simulator
API
check-style-clang-format Namespace Reference

Functions

Tuple[str, bool, List[str]] check_formatting_file (str filename, bool fix, bool verbose, str clang_format_path)
 CHECK STYLE FUNCTIONS. More...
 
Tuple[bool, str, List[str]] check_include_prefixes_line (str line, str filename, int line_number)
 
Tuple[str, bool, List[str]] check_manually_file (str filename, bool fix, bool verbose, bool respect_clang_format_guards, Callable[[str, str, int], Tuple[bool, str, List[str]]] check_style_line_function)
 
bool check_style_clang_format (List[str] paths, bool enable_check_include_prefixes, bool enable_check_formatting, bool enable_check_whitespace, bool enable_check_tabs, bool fix, bool verbose, int n_jobs=1)
 CHECK STYLE MAIN FUNCTIONS. More...
 
bool check_style_files (str style_check_str, Callable[..., Tuple[str, bool, List[str]]] check_style_file_function, List[str] filenames, bool fix, bool verbose, int n_jobs, **kwargs)
 
Tuple[bool, str, List[str]] check_tabs_line (str line, str filename, int line_number)
 
Tuple[bool, str, List[str]] check_whitespace_line (str line, str filename, int line_number)
 
str find_clang_format_path ()
 
Tuple[List[str], List[str], List[str], List[str]] find_files_to_check_style (List[str] paths)
 
bool should_analyze_directory (str dirpath)
 AUXILIARY FUNCTIONS. More...
 
bool should_analyze_file (str path, List[str] files_to_check, List[str] file_extensions_to_check)
 

Variables

 action
 
bool all_checks_successful
 
 args = parser.parse_args()
 
string CLANG_FORMAT_GUARD_OFF = "// clang-format off"
 
string CLANG_FORMAT_GUARD_ON = "// clang-format on"
 
list CLANG_FORMAT_VERSIONS
 PARAMETERS. More...
 
 default
 
list DIRECTORIES_TO_SKIP
 
list FILE_EXTENSIONS_TO_CHECK_FORMATTING
 
list FILE_EXTENSIONS_TO_CHECK_INCLUDE_PREFIXES = FILE_EXTENSIONS_TO_CHECK_FORMATTING
 
list FILE_EXTENSIONS_TO_CHECK_TABS
 
list FILE_EXTENSIONS_TO_CHECK_WHITESPACE
 
list FILES_TO_CHECK_WHITESPACE
 
list FILES_TO_SKIP
 
 help
 
 nargs
 
 parser
 MAIN. More...
 
int TAB_SIZE = 4
 
 type
 

Function Documentation

◆ check_formatting_file()

Tuple[str, bool, List[str]] check-style-clang-format.check_formatting_file ( str  filename,
bool  fix,
bool  verbose,
str  clang_format_path 
)

CHECK STYLE FUNCTIONS.

Check / fix the coding style of a file with clang-format.

@param filename Name of the file to be checked.
@param fix Whether to fix (True) or just check (False) the style of the file (True).
@param verbose Show the lines that are not compliant with the style.
@param clang_format_path Path to clang-format.
@return Tuple [Filename,
               Whether the file is compliant with the style (before the check),
               Verbose information].

Definition at line 443 of file check-style-clang-format.py.

◆ check_include_prefixes_line()

Tuple[bool, str, List[str]] check-style-clang-format.check_include_prefixes_line ( str  line,
str  filename,
int  line_number 
)
Check / fix #include headers from the same module with the "ns3/" prefix in a line.

@param line The line to check.
@param filename Name of the file to be checked.
@param line_number The number of the line checked.
@return Tuple [Whether the line is compliant with the style (before the check),
               Fixed line,
               Verbose information].

Definition at line 566 of file check-style-clang-format.py.

◆ check_manually_file()

Tuple[str, bool, List[str]] check-style-clang-format.check_manually_file ( str  filename,
bool  fix,
bool  verbose,
bool  respect_clang_format_guards,
Callable[[str, str, int], Tuple[bool, str, List[str]]]  check_style_line_function 
)
Check / fix a file manually using a function to check / fix each line.

@param filename Name of the file to be checked.
@param fix Whether to fix (True) or just check (False) the style of the file (True).
@param verbose Show the lines that are not compliant with the style.
@param respect_clang_format_guards Whether to respect clang-format guards.
@param check_style_line_function Function used to check each line.
@return Tuple [Filename,
               Whether the file is compliant with the style (before the check),
               Verbose information].

Definition at line 501 of file check-style-clang-format.py.

◆ check_style_clang_format()

bool check-style-clang-format.check_style_clang_format ( List[str]  paths,
bool  enable_check_include_prefixes,
bool  enable_check_formatting,
bool  enable_check_whitespace,
bool  enable_check_tabs,
bool  fix,
bool  verbose,
int   n_jobs = 1 
)

CHECK STYLE MAIN FUNCTIONS.

Check / fix the coding style of a list of files.

@param paths List of paths to the files to check.
@param enable_check_include_prefixes Whether to enable checking #include headers from the same module with the "ns3/" prefix.
@param enable_check_formatting Whether to enable checking code formatting.
@param enable_check_whitespace Whether to enable checking trailing whitespace.
@param enable_check_tabs Whether to enable checking tabs.
@param fix Whether to fix (True) or just check (False) the file.
@param verbose Show the lines that are not compliant with the style.
@param n_jobs Number of parallel jobs.
@return Whether all files are compliant with all enabled style checks.

Definition at line 276 of file check-style-clang-format.py.

References check_style_files(), find_clang_format_path(), and find_files_to_check_style().

+ Here is the call graph for this function:

◆ check_style_files()

bool check-style-clang-format.check_style_files ( str  style_check_str,
Callable[..., Tuple[str, bool, List[str]]]  check_style_file_function,
List[str]  filenames,
bool  fix,
bool  verbose,
int  n_jobs,
**  kwargs 
)
Check / fix style of a list of files.

@param style_check_str Description of the check to be performed.
@param check_style_file_function Function used to check the file.
@param filename Name of the file to be checked.
@param fix Whether to fix (True) or just check (False) the file (True).
@param verbose Show the lines that are not compliant with the style.
@param n_jobs Number of parallel jobs.
@param kwargs Additional keyword arguments to the check_style_file_function.
@return Whether all files are compliant with the style.

Definition at line 375 of file check-style-clang-format.py.

Referenced by check_style_clang_format().

+ Here is the caller graph for this function:

◆ check_tabs_line()

Tuple[bool, str, List[str]] check-style-clang-format.check_tabs_line ( str  line,
str  filename,
int  line_number 
)
Check / fix tabs in a line.

@param line The line to check.
@param filename Name of the file to be checked.
@param line_number The number of the line checked.
@return Tuple [Whether the line is compliant with the style (before the check),
               Fixed line,
               Verbose information].

Definition at line 650 of file check-style-clang-format.py.

◆ check_whitespace_line()

Tuple[bool, str, List[str]] check-style-clang-format.check_whitespace_line ( str  line,
str  filename,
int  line_number 
)
Check / fix whitespace in a line.

@param line The line to check.
@param filename Name of the file to be checked.
@param line_number The number of the line checked.
@return Tuple [Whether the line is compliant with the style (before the check),
               Fixed line,
               Verbose information].

Definition at line 617 of file check-style-clang-format.py.

◆ find_clang_format_path()

str check-style-clang-format.find_clang_format_path ( )
Find the path to one of the supported versions of clang-format.
If no supported version of clang-format is found, raise an exception.

@return Path to clang-format.

Definition at line 234 of file check-style-clang-format.py.

Referenced by check_style_clang_format().

+ Here is the caller graph for this function:

◆ find_files_to_check_style()

Tuple[List[str], List[str], List[str], List[str]] check-style-clang-format.find_files_to_check_style ( List[str]  paths)
Find all files to be checked in a given list of paths.

@param paths List of paths to the files to check.
@return Tuple [List of files to check include prefixes,
               List of files to check formatting,
               List of files to check trailing whitespace,
               List of files to check tabs].

Definition at line 173 of file check-style-clang-format.py.

References should_analyze_directory(), and should_analyze_file().

Referenced by check_style_clang_format().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ should_analyze_directory()

bool check-style-clang-format.should_analyze_directory ( str  dirpath)

AUXILIARY FUNCTIONS.

Check whether a directory should be analyzed.

@param dirpath Directory path.
@return Whether the directory should be analyzed.

Definition at line 134 of file check-style-clang-format.py.

Referenced by find_files_to_check_style().

+ Here is the caller graph for this function:

◆ should_analyze_file()

bool check-style-clang-format.should_analyze_file ( str  path,
List[str]  files_to_check,
List[str]  file_extensions_to_check 
)
Check whether a file should be analyzed.

@param path Path to the file.
@param files_to_check List of files that shall be checked.
@param file_extensions_to_check List of file extensions that shall be checked.
@return Whether the file should be analyzed.

Definition at line 149 of file check-style-clang-format.py.

Referenced by find_files_to_check_style().

+ Here is the caller graph for this function:

Variable Documentation

◆ action

◆ all_checks_successful

bool check-style-clang-format.all_checks_successful
Initial value:
2  paths=args.paths,
3  enable_check_include_prefixes=(not args.no_include_prefixes),
4  enable_check_formatting=(not args.no_formatting),
5  enable_check_whitespace=(not args.no_whitespace),
6  enable_check_tabs=(not args.no_tabs),
7  fix=args.fix,
8  verbose=args.verbose,
9  n_jobs=args.jobs,
10  )
bool check_style_clang_format(List[str] paths, bool enable_check_include_prefixes, bool enable_check_formatting, bool enable_check_whitespace, bool enable_check_tabs, bool fix, bool verbose, int n_jobs=1)
CHECK STYLE MAIN FUNCTIONS.

Definition at line 757 of file check-style-clang-format.py.

◆ args

check-style-clang-format.args = parser.parse_args()

Definition at line 754 of file check-style-clang-format.py.

Referenced by MpiTestSuite.MpiTestSuite(), ns3::NodeContainer.NodeContainer(), ns3::ObjectFactory.ObjectFactory(), ns3::NodeContainer.Add(), ns3::TrafficControlHelper.AddChildQueueDisc(), ns3::TrafficControlHelper.AddChildQueueDiscs(), ns3::TrafficControlHelper.AddInternalQueues(), ns3::TrafficControlHelper.AddPacketFilter(), ns3::SpectrumChannelHelper.AddPropagationLoss(), ns3::YansWifiChannelHelper.AddPropagationLoss(), ns3::TrafficControlHelper.AddQueueDiscClasses(), ns3::SpectrumChannelHelper.AddSpectrumPropagationLoss(), ns3::WifiHelper.ConfigEhtOptions(), ns3::WifiHelper.ConfigHeOptions(), ns3::WifiHelper.ConfigHtOptions(), ns3::WifiHelper.ConfigVhtOptions(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.create(), ns3.Create(), ns3.CreateObject(), ns3.CreateObjectWithAttributes(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.emplace(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.emplace_back(), ns3::CommandLine.HandleHardOptions(), ns3::DesMetrics.Initialize(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.insert_iterator(), ns3.MakeEnumChecker(), ns3::WifiPhyStateHelper.NotifyListeners(), ns3::TracedCallback< Ts >.operator()(), ns3.operator<<(), ns3::CommandLine.Parse(), ns3::Simulator.Schedule(), ns3::Simulator.ScheduleDestroy(), ns3::Simulator.ScheduleNow(), ns3::Simulator.ScheduleWithContext(), ns3::TupleValue< Args >.Set(), ns3::ObjectFactory.Set(), ns3::WifiTxTimer.Set(), ns3::WifiMacHelper.SetAckManager(), ns3::AdhocAlohaNoackIdealPhyHelper.SetAntenna(), ns3::SpectrumAnalyzerHelper.SetAntenna(), ns3::WaveformGeneratorHelper.SetAntenna(), ns3::TrickleTimer.SetArguments(), ns3::Watchdog.SetArguments(), ns3::Timer.SetArguments(), ns3::WifiMacHelper.SetAssocManager(), ns3::SimpleNetDeviceHelper.SetChannel(), ns3::SpectrumChannelHelper.SetChannel(), ns3::WifiMacHelper.SetEmlsrManager(), ns3::WifiPhyHelper.SetErrorRateModel(), ns3::WifiPhyHelper.SetFrameCaptureModel(), ns3::WifiPhyHelper.SetInterferenceHelper(), ns3::UanHelper.SetMac(), ns3::WifiMacHelper.SetMacQueueScheduler(), ns3::MeshHelper.SetMacType(), ns3::GroupMobilityHelper.SetMemberMobilityModel(), ns3::GroupMobilityHelper.SetMemberPositionAllocator(), ns3::MobilityHelper.SetMobilityModel(), ns3::WifiMacHelper.SetMultiUserScheduler(), ns3::WifiHelper.SetObssPdAlgorithm(), ns3::SpectrumPhyHelper.SetPhy(), ns3::UanHelper.SetPhy(), ns3::MobilityHelper.SetPositionAllocator(), ns3::WifiPhyHelper.SetPreambleDetectionModel(), ns3::SpectrumChannelHelper.SetPropagationDelay(), ns3::YansWifiChannelHelper.SetPropagationDelay(), ns3::WifiMacHelper.SetProtectionManager(), ns3::CsmaHelper.SetQueue(), ns3::SimpleNetDeviceHelper.SetQueue(), ns3::PointToPointHelper.SetQueue(), ns3::TrafficControlHelper.SetQueueLimits(), ns3::GroupMobilityHelper.SetReferenceMobilityModel(), ns3::GroupMobilityHelper.SetReferencePositionAllocator(), ns3::WifiHelper.SetRemoteStationManager(), ns3::MeshHelper.SetRemoteStationManager(), ns3::TrafficControlHelper.SetRootQueueDisc(), ns3::MeshHelper.SetStackInstaller(), ns3::UanHelper.SetTransducer(), ns3::WifiRadioEnergyModelHelper.SetTxCurrentModel(), ns3::WifiMacHelper.SetType(), ns3::HeaderSerializationTestCase.TestHeaderSerialization(), LengthTestCase.TestTryParseReturnsTrue(), ns3::WifiTxTimer.Timeout(), and ns3::DesMetrics.TraceWithContext().

◆ CLANG_FORMAT_GUARD_OFF

string check-style-clang-format.CLANG_FORMAT_GUARD_OFF = "// clang-format off"

Definition at line 58 of file check-style-clang-format.py.

◆ CLANG_FORMAT_GUARD_ON

string check-style-clang-format.CLANG_FORMAT_GUARD_ON = "// clang-format on"

Definition at line 57 of file check-style-clang-format.py.

◆ CLANG_FORMAT_VERSIONS

list check-style-clang-format.CLANG_FORMAT_VERSIONS
Initial value:
1 = [
2  17,
3  16,
4  15,
5  14,
6 ]

PARAMETERS.

Definition at line 50 of file check-style-clang-format.py.

◆ default

check-style-clang-format.default

Definition at line 750 of file check-style-clang-format.py.

◆ DIRECTORIES_TO_SKIP

list check-style-clang-format.DIRECTORIES_TO_SKIP
Initial value:
1 = [
2  "__pycache__",
3  ".git",
4  "bindings",
5  "build",
6  "cmake-cache",
7  "testpy-output",
8 ]

Definition at line 60 of file check-style-clang-format.py.

◆ FILE_EXTENSIONS_TO_CHECK_FORMATTING

list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_FORMATTING
Initial value:
1 = [
2  ".c",
3  ".cc",
4  ".h",
5 ]

Definition at line 75 of file check-style-clang-format.py.

◆ FILE_EXTENSIONS_TO_CHECK_INCLUDE_PREFIXES

list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_INCLUDE_PREFIXES = FILE_EXTENSIONS_TO_CHECK_FORMATTING

Definition at line 81 of file check-style-clang-format.py.

◆ FILE_EXTENSIONS_TO_CHECK_TABS

list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_TABS
Initial value:
1 = [
2  ".c",
3  ".cc",
4  ".h",
5  ".md",
6  ".py",
7  ".rst",
8  ".sh",
9  ".yml",
10 ]

Definition at line 118 of file check-style-clang-format.py.

◆ FILE_EXTENSIONS_TO_CHECK_WHITESPACE

list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_WHITESPACE
Initial value:
1 = [
2  ".c",
3  ".cc",
4  ".click",
5  ".cmake",
6  ".conf",
7  ".css",
8  ".dot",
9  ".gnuplot",
10  ".gp",
11  ".h",
12  ".html",
13  ".js",
14  ".json",
15  ".m",
16  ".md",
17  ".mob",
18  ".ns_params",
19  ".ns_movements",
20  ".params",
21  ".pl",
22  ".plt",
23  ".py",
24  ".rst",
25  ".seqdiag",
26  ".sh",
27  ".txt",
28  ".yml",
29 ]

Definition at line 83 of file check-style-clang-format.py.

◆ FILES_TO_CHECK_WHITESPACE

list check-style-clang-format.FILES_TO_CHECK_WHITESPACE
Initial value:
1 = [
2  "Makefile",
3  "ns3",
4 ]

Definition at line 113 of file check-style-clang-format.py.

◆ FILES_TO_SKIP

list check-style-clang-format.FILES_TO_SKIP
Initial value:
1 = [
2  "valgrind.h",
3 ]

Definition at line 71 of file check-style-clang-format.py.

◆ help

◆ nargs

check-style-clang-format.nargs

Definition at line 705 of file check-style-clang-format.py.

◆ parser

check-style-clang-format.parser
Initial value:
1 = argparse.ArgumentParser(
2  description="Check and apply the ns-3 coding style recursively to all files in the given PATHs. "
3  "The script checks the formatting of the file with clang-format. "
4  'Additionally, it checks #include headers from the same module with the "ns3/" prefix, '
5  "the presence of trailing whitespace and tabs. "
6  'Formatting, local #include "ns3/" prefixes and tabs checks respect clang-format guards. '
7  'When used in "check mode" (default), the script checks if all files are well '
8  "formatted and do not have trailing whitespace nor tabs. "
9  "If it detects non-formatted files, they will be printed and this process exits with a "
10  'non-zero code. When used in "fix mode", this script automatically fixes the files.'
11  )

MAIN.

Definition at line 689 of file check-style-clang-format.py.

Referenced by ns3::QKDKeyManagerSystemApplication.PacketReceived(), ns3::QKDSDNController.PacketReceived(), ns3::QKDApp004.PacketReceivedFromKMS(), ns3::QKDApp014.PacketReceivedFromKMS(), ns3::QKDKeyManagerSystemApplication.PacketReceivedKMSs(), ns3::QKDKeyManagerSystemApplication.PacketReceivedSDN(), ns3::QKDApp004.SignalingPacketReceivedFromApp(), and ns3::QKDApp014.SignalingPacketReceivedFromApp().

◆ TAB_SIZE

int check-style-clang-format.TAB_SIZE = 4

Definition at line 128 of file check-style-clang-format.py.

◆ type

check-style-clang-format.type

Definition at line 704 of file check-style-clang-format.py.

Referenced by ns3::Address.Address(), ns3::CtrlTriggerHeader.CtrlTriggerHeader(), ns3::TestSuite.TestSuite(), ns3::Tlv.Tlv(), ns3::UanHeaderCommon.UanHeaderCommon(), ns3::WifiMacHeader.WifiMacHeader(), ns3::TrafficControlHelper.AddChildQueueDisc(), ns3::TrafficControlHelper.AddChildQueueDiscs(), ns3::ConnectionManager.AddConnection(), ns3::TrafficControlHelper.AddInternalQueues(), ns3::TrafficControlHelper.AddPacketFilter(), ns3::TrafficControlHelper.AddQueueDiscClasses(), ns3::CidFactory.Allocate(), ns3::QKDConnectionRegister.AssignKeyAssociation(), ns3::RawTextConfigLoad.Attributes(), ns3::XmlConfigLoad.Attributes(), ns3::tests::HashTestCase.Check(), ns3::Address.CheckCompatible(), nlohmann::detail::dtoa_impl.compute_boundaries(), ns3::ConnectionManager.CreateConnection(), ns3::UanTxModeFactory.CreateMode(), TestPrimary20CoveredByPpdu.CreatePpdu(), ns3::RawTextConfigLoad.Default(), ns3::XmlConfigLoad.Default(), ns3::aodv::TypeHeader.Deserialize(), ns3::SfVectorTlvValue.Deserialize(), ns3::CsParamVectorTlvValue.Deserialize(), ns3::ClassificationRuleVectorTlvValue.Deserialize(), ns3::GtpcIes.DeserializeBearerContextHeader(), ns3::GtpcIes.DeserializeBearerQos(), ns3::GtpcIes.DeserializeBearerTft(), ns3::GtpcIes.DeserializeCause(), ns3::GtpcIes.DeserializeEbi(), ns3::GtpcIes.DeserializeFteid(), ns3::GtpcIes.DeserializeImsi(), ns3::GtpcIes.DeserializeUliEcgi(), ns3::BaseStationNetDevice.DoReceive(), ns3::SubscriberStationNetDevice.DoReceive(), SpectrumWifiPhyMultipleInterfacesTest.DoRun(), TestNonHtDuplicatePhyReception.DoRun(), WifiPrimaryChannelsTest.DoRun(), Ns3WimaxFragmentationTestCase.DoRun(), SpectrumWifiPhyMultipleInterfacesTest.DoSetup(), TestNonHtDuplicatePhyReception.DoSetup(), ns3::WifiDefaultAssocManager.DoStartScanning(), ns3::ofi::EricssonAction.Execute(), ns3::ofi::Action.Execute(), ns3::ofi::VPortAction.Execute(), ns3::ofi.ExecuteActions(), ns3::ofi.ExecuteVPortActions(), ns3::TapBridge.Filter(), ns3::Ipv6EndPoint.ForwardIcmp(), ns3::TapBridge.ForwardToBridgedDevice(), ns3::Ipv4RawSocketImpl.ForwardUp(), ns3::Ipv6RawSocketImpl.ForwardUp(), ns3::WifiNetDevice.ForwardUp(), nlohmann::detail.from_json(), nlohmann::detail.from_json_tuple_impl(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.get_ref_impl(), ns3::QKDKeyManagerSystemApplication.GetApplicationConnectionDetailsBySaeIDsAndType(), ns3.GetBlockAckRequestSize(), ns3.GetBlockAckSize(), ns3::ConnectionManager.GetConnections(), ns3::Ipv6ExtensionFragment.GetFragments(), ns3::SpectrumWifiPhy.GetHeRuBands(), ns3::ConnectionManager.GetNPackets(), ns3::ofi::Controller.GetPacketType(), ns3::InetSocketAddress.GetType(), ns3::Inet6SocketAddress.GetType(), ns3::Ipv4Address.GetType(), ns3::Ipv6Address.GetType(), ns3::Mac16Address.GetType(), ns3::Mac48Address.GetType(), ns3::Mac64Address.GetType(), ns3::Mac8Address.GetType(), ns3::PacketSocketAddress.GetType(), ns3::CtrlTriggerHeader.GetTypeString(), ns3::RawTextConfigLoad.Global(), ns3::XmlConfigLoad.Global(), ns3::Icmpv6L4Protocol.HandleNA(), ns3::Icmpv6L4Protocol.HandleNS(), ns3::Icmpv6L4Protocol.HandleRA(), ns3::Radvd.HandleRead(), ns3::Icmpv6L4Protocol.HandleRedirection(), ns3::Icmpv6L4Protocol.HandleRS(), nlohmann::detail.hash(), ns3::ArpQueueDiscItem.Hash(), ns3::Ipv6RawSocketImpl.Icmpv6FilterSetBlock(), ns3::Ipv6RawSocketImpl.Icmpv6FilterSetPass(), ns3::Ipv6RawSocketImpl.Icmpv6FilterWillBlock(), ns3::Ipv6RawSocketImpl.Icmpv6FilterWillPass(), ns3::Address.IsMatchingType(), ns3::ofi::EricssonAction.IsValidType(), ns3::ofi::Action.IsValidType(), ns3::ofi::VPortAction.IsValidType(), ns3::QKDConnectionRegister.LookupApplicationBySaeIDsAndType(), ns3::OpenFlowSwitchNetDevice.MakeOpenflowReply(), std::hash< ns3::WifiContainerQueueId >.operator()(), ns3.operator<<(), ns3::RawTextConfigLoad.ParseLine(), PhySyncDetection(), LteRadioLinkFailureTestCase.PhySyncDetectionCallback(), ns3::CommandLine.PrintAttributes(), PrintAttributeValueWithName(), ns3::QKDKeyManagerSystemApplication.ProcessOpenConnectRequest(), ns3::MinstrelHtWifiManager.RateInit(), ns3::Icmpv6L4Protocol.Receive(), ns3::Ping.Receive(), ns3::ofi::DropController.ReceiveFromSwitch(), ns3::ofi::LearningController.ReceiveFromSwitch(), ns3::OpenFlowSwitchNetDevice.ReceiveStatsRequest(), ns3::Address.Register(), ns3::QKDKeyManagerSystemApplication.RegisterApplicationEntry(), test-ns3.run_program(), SpectrumWifiPhyFilterTest.RunOne(), TestPrimary20CoveredByPpdu.RunOne(), ns3::OpenFlowSwitchNetDevice.SendErrorMsg(), ns3::Icmpv4L4Protocol.SendMessage(), ns3::UanMacRcGw.SendPacket(), ns3::UanMacRc.SendPacket(), ns3::aodv::RoutingProtocol.SendReplyByIntermediateNode(), ns3::Ipv6RawSocketImpl.SendTo(), ns3::WifiMacHelper.SetAckManager(), ns3::CtrlBAckResponseHeader.SetAckType(), ns3::WifiActionHeader.SetAction(), ns3::SpectrumAnalyzerHelper.SetAntenna(), ns3::WaveformGeneratorHelper.SetAntenna(), ns3::WifiMacHelper.SetAssocManager(), ns3::dsr::DsrRouteCache.SetCacheType(), ns3::SimpleNetDeviceHelper.SetChannel(), ns3::SpectrumChannelHelper.SetChannel(), ns3::WifiTxVector.SetEhtPpduType(), ns3::WifiMacHelper.SetEmlsrManager(), ns3::LteHelper.SetEnbAntennaModelType(), ns3::LteHelper.SetEnbComponentCarrierManagerType(), ns3::WifiPhyHelper.SetErrorRateModel(), ns3::LteHelper.SetFadingModel(), ns3::LteHelper.SetFfrAlgorithmType(), ns3::WifiPhyHelper.SetFrameCaptureModel(), ns3::LteHelper.SetHandoverAlgorithmType(), ns3::WifiPhyHelper.SetInterferenceHelper(), ns3::UanHelper.SetMac(), ns3::WifiMacHelper.SetMacQueueScheduler(), ns3::GroupMobilityHelper.SetMemberMobilityModel(), ns3::GroupMobilityHelper.SetMemberPositionAllocator(), ns3::LteControlMessage.SetMessageType(), ns3::MobilityHelper.SetMobilityModel(), ns3::WifiMacHelper.SetMultiUserScheduler(), ns3::WifiHelper.SetObssPdAlgorithm(), ns3::SllHeader.SetPacketType(), ns3::LteHelper.SetPathlossModelType(), ns3::MobilityHelper.SetPositionAllocator(), ns3::WifiPhyHelper.SetPreambleDetectionModel(), ns3::WifiMacHelper.SetProtectionManager(), ns3::ServiceFlow.SetQosParamSetType(), ns3::CsmaHelper.SetQueue(), ns3::SimpleNetDeviceHelper.SetQueue(), ns3::PointToPointHelper.SetQueue(), ns3::TrafficControlHelper.SetQueueLimits(), ns3::GroupMobilityHelper.SetReferenceMobilityModel(), ns3::GroupMobilityHelper.SetReferencePositionAllocator(), ns3::WifiHelper.SetRemoteStationManager(), ns3::MeshHelper.SetRemoteStationManager(), ns3::TrafficControlHelper.SetRootQueueDisc(), ns3::LteHelper.SetSchedulerType(), ns3::QKDPostprocessingApplication.SetSiftingSocket(), ns3::QKDKeyManagerSystemApplication.SetSocket(), ns3::QKDSDNController.SetSocket(), ns3::QKDPostprocessingApplication.SetSocket(), ns3::LteHelper.SetSpectrumChannelType(), ns3::MeshHelper.SetStackInstaller(), ns3::UanHelper.SetTransducer(), ns3::NetDeviceQueueInterface.SetTxQueuesType(), ns3::CtrlBAckRequestHeader.SetType(), ns3::CtrlBAckResponseHeader.SetType(), ns3::UlJob.SetType(), ns3::WifiMacHelper.SetType(), ns3::CtrlTriggerHeader.SetType(), ns3::ServiceFlow.SetType(), ns3::LlcSnapHeader.SetType(), ns3::dsr::DsrOptionHeader.SetType(), ns3::DhcpHeader.SetType(), ns3::Icmpv4Header.SetType(), ns3::Icmpv6Header.SetType(), ns3::Icmpv6OptionHeader.SetType(), ns3::Ipv6OptionHeader.SetType(), ns3::PbbMessage.SetType(), ns3::PbbTlv.SetType(), ns3::UanHeaderCommon.SetType(), ns3::OfdmDlBurstProfile.SetType(), ns3::ManagementMessageType.SetType(), ns3::OfdmUlBurstProfile.SetType(), ns3::MacHeaderType.SetType(), ns3::GenericMacHeader.SetType(), ns3::BandwidthRequestHeader.SetType(), ns3::WifiMacHeader.SetType(), ns3::FdNetDeviceHelper.SetTypeId(), ns3::WifiMac.SetTypeOfStation(), ns3::LteHelper.SetUeAntennaModelType(), ns3::LteHelper.SetUeComponentCarrierManagerType(), ns3::QKDApp004.Setup(), ns3::QKDApp014.Setup(), ns3::SPFVertex.SetVertexType(), simclick_sim_send(), nlohmann::detail.to_json(), ns3::PhyEntity.Transmit(), ns3::ofi::EricssonAction.Validate(), ns3::ofi::Action.Validate(), ns3::ofi::VPortAction.Validate(), ns3::ofi.ValidateActions(), and ns3::ofi.ValidateVPortActions().