From f3684c0857e5616ecd4031450177ca648a346f6b Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 20 Mar 2014 17:32:19 -0700 Subject: [PATCH] PORTMAP: Add some comments about the origin of definitions --- portmap/portmap.x | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/portmap/portmap.x b/portmap/portmap.x index 6f4bc39..abe31b9 100644 --- a/portmap/portmap.x +++ b/portmap/portmap.x @@ -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<>; }; -- 2.34.1