Files
KirkOS/ext2_root/usr/include/netinet/udp.h
T
kaguya 9a9b91c940 user: implement mlibc as the libc, finally.
It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
2026-05-02 03:31:49 -04:00

32 lines
655 B
C

#ifndef _NETINET_UDP_H
#define _NETINET_UDP_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
__extension__ struct udphdr {
__extension__ union {
struct {
uint16_t uh_sport;
uint16_t uh_dport;
uint16_t uh_ulen;
uint16_t uh_sum;
};
struct {
uint16_t source;
uint16_t dest;
uint16_t len;
uint16_t check;
};
};
};
#ifdef __cplusplus
}
#endif
#endif /* _NETINET_UDP_H */