NFDC-STRATEGY(1)
πΈ NFDC-STRATEGY(1) πΈ
okay so bestie, welcome to the Named Data Networking Forwarding Daemon (NFD) manual page for nfdc-strategy π. it's literally the βshow and manipulate NFD's strategy choicesβ page, and yes, it's giving main character networking energy β¨.
π NAME π
nfdc-strategy β show and manipulate NFD's strategy choices.
π¦ SYNOPSIS π¦
nfdc strategy [list]
nfdc strategy show [prefix] PREFIX
nfdc strategy set [prefix] PREFIX [strategy] STRATEGY
nfdc strategy unset [prefix] PREFIX
β¨ DESCRIPTION β¨
okay so in NFD, packet forwarding behavior is determined by forwarding pipelines and forwarding strategies. The forwarding pipelines define general steps of packet processing. Forwarding strategies provide the intelligence to make the call on whether, when, and where to forward Interests. no cap, that's the whole vibe.
NFD contains multiple forwarding strategy implementations. The strategy choice table determines which strategy is used in forwarding an Interest.
here's the group-chat breakdown of the commands:
nfdc strategy listβ shows a list of strategy choices.nfdc strategy showβ shows the effective strategy choice for a specific name.nfdc strategy setβ sets the strategy for a name prefix. The strategy for the"/"prefix is the default strategy.nfdc strategy unsetβ clears the strategy choice at a name prefix, so that a strategy choice at a shorter prefix or the default strategy will be used. It undoes a priornfdc strategy setcommand on the same name prefix.
β οΈ bestie, it is prohibited to unset the strategy choice for the "/" prefix because there must always be a default strategy. no deleting the main character, periodt.
π OPTIONS π
<PREFIX>β The name prefix of a strategy choice. The strategy choice is effective for all Interests under the name prefix, unless overridden by another strategy choice at a longer prefix.<STRATEGY>β A name that identifies the forwarding strategy. Consult the NFD Developer's Guide for a complete list of all implemented strategies.
For the ASF, BestRoute, and Multicast strategies, the following options may be supplied to configure exponential retransmission suppression by appending them after the strategy name and version number.
retx-suppression-initialβ Starting duration of the suppression interval within which any retransmitted Interests are considered for suppression. The default value is10 ms. Format:retx-suppression-initial~<milliseconds>.retx-suppression-maxβ Maximum duration of the suppression interval. Must not be smaller thanretx-suppression-initial. The default value is250 ms. Format:retx-suppression-max~<milliseconds>.retx-suppression-multiplierβ The suppression interval is increased by this multiplier. The default value is2. Format:retx-suppression-multiplier~<float>.
See nfd-asf-strategy(7) for details on additional parameters for ASF strategy.
π EXIT STATUS π
0β Success.1β An unspecified error occurred.2β Malformed command line.7β Strategy not found (nfdc strategy setonly).
π₯ EXAMPLES π₯
nfdc strategy listβ List all configured strategy choices.nfdc strategy show prefix /localhost/ping/1β Identify which strategy will handle Interests named"/localhost/ping/1".nfdc strategy set prefix / strategy /localhost/nfd/strategy/best-routeβ Set the default strategy to best-route, latest version.nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/multicast/v=4β Set the strategy for the"/ndn"prefix to multicast, version 4.nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/multicast/v=4/retx-suppression-initial~20/retx-suppression-max~500β Set the strategy for the"/ndn"prefix to multicast, version 4, with retransmission suppression initial interval set to20 msand maximum interval set to500 ms.nfdc strategy unset prefix /ndnβ Clear the strategy choice for the"/ndn"prefix.
π SEE ALSO π
π Copyright π
Copyright Β© 2014-2024 Named Data Networking Project.
and that's the whole slay page π
β¨ β it's from the NFD manual, version 24.07, dated 1980-01-01. byeeee bestie π«Άπ
π¦ where this page comes from
- nixos 26.05: nfd 24.07
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms