PERFORCE change 125432 for review

Fredrik Lindberg fli at FreeBSD.org
Mon Aug 20 10:13:57 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=125432

Change 125432 by fli at 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) */


More information about the p4-projects mailing list