Date: Wed, 20 Jun 2007 10:28:18 GMT From: Fredrik Lindberg <fli@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 122019 for review Message-ID: <200706201028.l5KASIdn080853@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122019 Change 122019 by fli@fli_genesis on 2007/06/20 10:27:30 - __packed instead of __attribute__((packed)) - Whitespace fixes. - Add a neccessary struct forward declaration. Affected files ... .. //depot/projects/soc2007/fli-mdns_sd/mdnsd/stack_mdns.h#4 edit Differences ... ==== //depot/projects/soc2007/fli-mdns_sd/mdnsd/stack_mdns.h#4 (text+ko) ==== @@ -86,11 +86,11 @@ unsigned int h_cd:1; /* Checking disabled, q/r=0 ignore on recv */ unsigned int h_rcode:4; /* Resp. code, q/r=0 ignore on recv */ #endif - unsigned int h_qcount:16; /* number of question entries */ - unsigned int h_acount:16; /* number of answer entries */ + unsigned int h_qcount:16; /* number of question entries */ + unsigned int h_acount:16; /* number of answer entries */ unsigned int h_nscount:16; /* number of authority entries */ - unsigned int h_rcount:16; /* number of resource entries */ -} __attribute__((packed)); + unsigned int h_rcount:16; /* number of resource entries */ +} __packed; /* * Question section "header", starts at the end @@ -100,7 +100,7 @@ /* Qname ..//.. */ uint16_t qs_type; uint16_t qs_class; -} __attribute__((packed)); +} __packed; /* * Resource record "header", starts at the end of the @@ -113,8 +113,9 @@ uint32_t rs_ttl; uint16_t rs_rdlen; /* Rdata ..//.. */ -} __attribute__((packed)); +} __packed; +struct mdns_pkgchain; struct mdns_packet * pkg_alloc(struct mdns_pkgchain *); #endif /* _STACK_MDNS_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706201028.l5KASIdn080853>