|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] [RFC PATCH v2 1/5] net: macaddr tweaks. |
Date: | Wed, 07 Oct 2009 15:14:52 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
+typedef uint8_t macaddr_t[6];Let's make it a stronger type and avoid introducing more _t types. I'd suggest:
Oh yes, killing that _t was on the todo list anyway, forgot it. Will do for the next respin.
typedef struct MacAddress { uint8_t addr[6]; } MacAddress
Why the extra struct? cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |