Vxworks 6.9 Ping

I’ve started working with VXWorks now a bit, so I feel like providing some information in working in that sort of system/environment. Some of these will be short docs and some will be more in depth. Here we’ll look at the ping command.

ping("host to ping", "number of packets to receive", "options flag")

Setting options greater than 1 for printing out ping information. The list of options flags are below.

  • PING_OPT_SILENT 0x1
    • Work silently
  • PING_OPT_DONTROUTE 0x2
    • Don’t route
  • PING_OPT_DEBUG 0x3
    • Print debugging messages
  • PING_OPT_NOHOST 0x4
    • Suppress just lookup