Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 1 | nfd |
| 2 | === |
| 3 | |
Davide Pesavento | 9f6a7d9 | 2020-10-06 15:21:48 -0400 | [diff] [blame] | 4 | Synopsis |
| 5 | -------- |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 6 | |
Davide Pesavento | 9f6a7d9 | 2020-10-06 15:21:48 -0400 | [diff] [blame] | 7 | **nfd** [**-h**] [**-V**] [**-c** *file*] [**-m**] |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 8 | |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 9 | Description |
| 10 | ----------- |
| 11 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 12 | NFD forwarding daemon. |
| 13 | |
Davide Pesavento | 59769b1 | 2017-11-12 23:52:06 -0500 | [diff] [blame] | 14 | Options |
| 15 | ------- |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 16 | |
Davide Pesavento | 59769b1 | 2017-11-12 23:52:06 -0500 | [diff] [blame] | 17 | ``-c <path/to/nfd.conf>`` or ``--config <path/to/nfd.conf>`` |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 18 | Specify the path to nfd configuration file (default: ``${SYSCONFDIR}/ndn/nfd.conf``). |
| 19 | |
Davide Pesavento | 59769b1 | 2017-11-12 23:52:06 -0500 | [diff] [blame] | 20 | ``-m`` or ``--modules`` |
| 21 | List available logging modules. |
| 22 | |
| 23 | ``-h`` or ``--help`` |
| 24 | Print help message and exit. |
| 25 | |
| 26 | ``-V`` or ``--version`` |
| 27 | Show version information and exit. |
| 28 | |
| 29 | Exit status |
| 30 | ----------- |
| 31 | |
| 32 | 0: No error. |
| 33 | |
| 34 | 1: An unspecified error occurred. |
| 35 | |
| 36 | 2: Malformed command line, e.g., invalid, missing, or unknown argument. |
| 37 | |
| 38 | 4: Insufficient privileges. |
| 39 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 40 | Examples |
| 41 | -------- |
| 42 | |
| 43 | Start NFD forwarding daemon as super user and use a configuration file from the current |
| 44 | working directory. |
| 45 | |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 46 | :: |
| 47 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 48 | sudo nfd --config nfd.conf |