Sources for "ping" bundled with Mojave 10.14.6?
Apple puts all opensource content on https://opensource.apple.com.

I didn't find the 10.14.6-related sources there but ping version included in 10.14.5 is available here. At first glance Apple seems to have added some stuff, but you may need to run a diff to see all the changes.