1 /* 2 * Copyright 2020, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _NETINET_UDP_H 6 #define _NETINET_UDP_H 7 8 #include <stdint.h> 9 10 struct udphdr { 11 uint16_t uh_sport; 12 uint16_t uh_dport; 13 uint16_t uh_ulen; 14 uint16_t uh_sum; 15 }; 16 17 #endif /* _NETINET_UDP_H */ 18