2002-07-09 16:24:59 +04:00
|
|
|
/*
|
2020-07-03 22:00:37 +03:00
|
|
|
* Copyright 2020, Haiku, Inc. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _NETINET_UDP_H
|
|
|
|
#define _NETINET_UDP_H
|
2002-07-09 16:24:59 +04:00
|
|
|
|
2006-07-03 07:27:04 +04:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2002-07-09 16:24:59 +04:00
|
|
|
struct udphdr {
|
2006-07-03 07:27:04 +04:00
|
|
|
uint16_t uh_sport;
|
|
|
|
uint16_t uh_dport;
|
|
|
|
uint16_t uh_ulen;
|
|
|
|
uint16_t uh_sum;
|
2002-07-09 16:24:59 +04:00
|
|
|
};
|
|
|
|
|
2020-07-03 22:00:37 +03:00
|
|
|
#endif /* _NETINET_UDP_H */
|