Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2007 17:13:56 GMT
From:      Fredrik Lindberg <fli@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125432 for review
Message-ID:  <200708201713.l7KHDucI049370@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125432

Change 125432 by fli@fli_nexus on 2007/08/20 17:13:16

	Remove name field from resource retrieval messages, it
	can be obtained from name retrieval messages.

Affected files ...

.. //depot/projects/soc2007/fli-mdns_sd/shared/mdnsd_ipc.h#3 edit

Differences ...

==== //depot/projects/soc2007/fli-mdns_sd/shared/mdnsd_ipc.h#3 (text+ko) ====

@@ -400,25 +400,22 @@
  *   MIM_IDENT_RES - Information on a resource, response to MIM_IDENT_RES_LIST
  *
  * Message structure
- * 0           23   31       47       63       79       95               127
- * +------------+----+--------+--------+--------+--------+----------------+
- * |   zero     |rlen|   len  |  elen  |  class |  type  |      ttl       |
- * +------------+----+--------+--------+--------+--------+----------------+
- * 127            159
+ * 0       15       31       47       63               95
+ * +--------+--------+--------+--------+----------------+
+ * |   len  |  elen  |  class |  type  |      ttl       |
+ * +--------+--------+--------+--------+----------------+
+ * 95              127 
  * +----------------+----//----+----//----+----//----+----//----+
  * |   ident length | rec name | unexp res| exp res  |ident ptr |
  * +----------------+----//----+----//----+----//----+----//----+
  */
 struct mipc_dbi_res_get {
-	unsigned int	mirg_zero:24;
-	unsigned int	mirg_rlen:8;	/* Name length (in characters) */
 	uint16_t	mirg_len;	/* Unencoded resource (in characters) */
 	uint16_t	mirg_elen;	/* Encoded resource length */
 	uint16_t	mirg_class; /* Resource class */
 	uint16_t	mirg_type;  /* Resource type */
 	uint32_t	mirg_ttl;   /* TTL (in seconds)) */
 	uint32_t	mirg_ilen;  /* Pointer identifer length */
-	/* Record name, wide character encoded */
 	/* Unencoded (unexpanded) resource data */
 	/* Expanded, encoded resource data (binary) */
 	/* Pointer identifier (if applicable) */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708201713.l7KHDucI049370>