On Wed, Jan 31, 2007 at 09:25:54PM +0100, Richard Bos wrote:
It looks to me that the structure is provided by: /usr/include/netinet/udp.h /* UDP header as specified by RFC 768, August 1980. */
struct udphdr { u_int16_t uh_sport; /* source port */ u_int16_t uh_dport; /* destination port */ u_int16_t uh_ulen; /* udp length */ u_int16_t uh_sum; /* udp checksum */ };
On my system struct udphdr is defined as struct udphdr { u_int16_t source; u_int16_t dest; u_int16_t len; u_int16_t check; }; See the #ifdef in udp.h. I don't know why your local builds have _BSD_SOURCE defined. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org