implement KCN support in ping.  only NetBSD is supported for now though.