1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* * netinet/udp.h */ #ifndef _NETINET_UDP_H #define _NETINET_UDP_H /* * We would include linux/udp.h, but it brings in too much other stuff */ struct udphdr { __u16 source; __u16 dest; __u16 len; __u16 check; }; #endif /* _NETINET_UDP_H */