Probably this comment is completely missing the point, but the documentation you cite says that you can happily use the dotted stringified notation for saddr and daddr. Do you really need to bother with this conversion?
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
Don't fool yourself.