From: Ronnie Sahlberg Date: Fri, 21 Mar 2014 00:32:19 +0000 (-0700) Subject: PORTMAP: Add some comments about the origin of definitions X-Git-Tag: upstream/1.9.6^2~54 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f3684c0857e5616ecd4031450177ca648a346f6b;p=deb_libnfs.git PORTMAP: Add some comments about the origin of definitions --- 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<>; };