203e13d97de840e01eded6a267fef9f245cf3a15 |
|
22-Jul-2016 |
Elliott Hughes <enh@google.com> |
Always include <sys/cdefs.h>. I made a mistake caught by code review earlier, so let's try to be safer by default. This patch also moves all our "forwarding" headers to the guardless just-include-the-other-thing style that we usually use. (Where we have a comment explaining where the header comes from, I've kept that.) Change-Id: I37342cf5e2563c6a269b2ba61a697069b1c7913b
|
f8a2243ebeb3ce60e412cd7b71b31c7b31313d58 |
|
22-Sep-2015 |
Elliott Hughes <enh@google.com> |
<netinet/udp.h> should include <linux/udp.h>. The comment about "other stuff" referred to pre-uapi headers. Everything in the current <linux/udp.h> should be exposed to userspace. The only problem is that BSD and Linux use different names for the members of struct udphdr. We can move the Linux udphdr out of the way and use an anonymous union to get the best of both worlds. (Though unfortunately this means that code that includes <linux/udp.h> directly instead of using <netinet/udp.h> now won't have any definition of struct udphdr. We've taken the stance in the past that you shouldn't include a linux/ header if there's a standard equivalent --- you should rely on us transitively including it for you.) Change-Id: Ie625892441b0edd8df3b76d3fcf2cbe299077bc4
|
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1767f908af327fa388b1c66883760ad851267013 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|