Cross compiled by llvm-mingw (nfq2/winnative/build.sh). Upstream sources are not changed: a force-included header emulates the cygwin environment, compat.c replaces the cygwin runtime (utf-8 file api, path conversion, command line and @file parsing identical to cygwin, signals, wordexp). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
192 B
C
10 lines
192 B
C
// winnative: BSD style udp header
|
|
#pragma once
|
|
#include <netinet/in.h>
|
|
struct udphdr
|
|
{
|
|
uint16_t uh_sport;
|
|
uint16_t uh_dport;
|
|
uint16_t uh_ulen;
|
|
uint16_t uh_sum;
|
|
} __attribute__((packed));
|