Sage's second patch is basically what my first patch did, except I named my function "decode" instead of "ceph_sockaddr_storage_to_sockaddr_storage" and "encode" instead of "sockaddr_storage_to_ceph_sockaddr_storage".  But if you like the long names, then I'll be totally happy with them.  They work better in cscope.

Also, I didn't want to use #ifdefs for each OS, so I wrote my new methods in such a way that they should work with all OSes.  I just need to add the configure check for HAVE_SS_LEN_IN_SOCKADDR_STORAGE.