PORTMAP: Add some comments about the origin of definitions
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 21 Mar 2014 00:32:19 +0000 (17:32 -0700)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 21 Mar 2014 00:32:19 +0000 (17:32 -0700)
portmap/portmap.x

index 6f4bc39f8f2fa2f87c52c49a17858c058d1d0edd..abe31b986855c6253de1f744640e486bfa7be8e2 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * From RFC1833
+ * and http://tools.ietf.org/html/draft-ietf-oncrpc-rpcbind-00
  */
 
 const PMAP_PORT = 111;      /* portmapper port number */
@@ -67,6 +68,10 @@ struct pmap3_call_result {
 
 struct pmap3_netbuf {
        unsigned int maxlen;
+       /* This pretty much contains a sockaddr_storage.
+        * Beware differences in endianess for ss_family
+        * and whether or not ss_len exists.
+        */
        opaque buf<>;
 };