PTPd

# PTPd 2.2.x → 2.3.0 migration guide

Old option (2.2.2) | New option (2.3.0) | Meaning
--- | --- | ---
-H | -H --long-help | show detailed help page
-g | -s --slaveonly | run as slave only
-G | -M --masteronly | Master, passive when not best GM
-W | -m --masterslave | Master, slave when not best GM
-b NAME | -i --interface | Interface to use
-c | -C --foreground | Don't run in background
-C | -V --verbose | Run in verbose foreground mode
-f FILE | -f --log-file -S --statistics-file | Log file Statistics file
-S | --global:use_syslog=N | DON'T send messages to syslog
-T NUM | --ptpengine:multicast_ttl | set multicast time to live
-D | (always in .csv format) | display stats in .csv format
-P |  | display each received packet in detail
-R FILE | --global:quality_file | record data about sync packets in a seperate file
-x | (no alternative) | do not reset the clock if off by more than one second
-O NUM | --servo:max_offset see also ptpengine:sync_outlier_filter_* | do not reset the clock if offset is more than NUMBER nanoseconds
-t | -n --noadjust | Do not adjust the clock
-M NUM | setup by ptpengine:delay_outlier_filter_* options | do not accept delay values of more than NUMBER nanoseconds
-a NUM,NUM | --servo:kp --servo:ki | specify clock servo Proportional and Integral components → converted from attenuations to gains
-w NUM | --servo:delayfilter_stiffness | specify one way delay filter stiffness
-u | -u --unicast | Unicast mode
-U | -y --hybrid | Hybrid mode
-e | --ptpengine:transport=ethernet | run in ethernet mode
-h | -E --e2e | run in End to End mode
-z | -P --p2p | run in Peer-delay mode
-l NUM,NUM | --ptpengine:inbound_latency --ptpengine:outbound_latency | inbound, outbound latency in nsec.
-o NUM | --ptpengine:utc_offset | current UTC offset
-i NUM | -d --domain | PTP domain number (between 0-3)
-n NUM | --ptpengine:log_announce_interval | announce interval
-N NUM | --ptpengine:announce_receipt_timeout | announce receipt timeout
-y NUM | --ptpengine:log_sync_interval | sync interval
-m NUM | --ptpengine:foreignrecord_capacity | max number of foreign master records
-v NUM | --ptpengine:ptp_allan_variance | Master mode: specify system clock Allen variance
-r NUM | --ptpengine:ptp_clock_accuracy | Master mode: specify system clock accuracy
-s NUM | --ptpengine:clock_class | Master mode: specify system clock class
-p NUM | --ptpengine:priority1 | Master mode: specify priority1 attribute
-q NUM | --ptpengine:priority2 | Master mode: specify priority2 attribute
-Y 0[,0] | -a --delay-override -r --delay-interval | Initial and Master_Overide delayreq intervals
-B | -D<DD...> --debug | Enable debug messages
-j | --ptpengine:igmp_refresh=N | Do not refresh the IGMP Multicast menbership at each protol reset
-L | -L --ignore-lock see --ptpengine:pid_as_clock_idendity see --auto-lock | Allow multiple instances
-V 0 | --global:status_update_interval --global:statistics_log_interval | Seconds between log messages