require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETINET_UDP_VAR_H_)) {
    eval 'sub _NETINET_UDP_VAR_H_ () {1;}' unless defined(&_NETINET_UDP_VAR_H_);
    if(defined(&CTASSERT)) {
    }
    eval 'sub ui_x1 () { ($ui_i->{ih_x1});}' unless defined(&ui_x1);
    eval 'sub ui_pr () { ($ui_i->{ih_pr});}' unless defined(&ui_pr);
    eval 'sub ui_len () { ($ui_i->{ih_len});}' unless defined(&ui_len);
    eval 'sub ui_src () { ($ui_i->{ih_src});}' unless defined(&ui_src);
    eval 'sub ui_dst () { ($ui_i->{ih_dst});}' unless defined(&ui_dst);
    eval 'sub ui_sport () { ($ui_u->{uh_sport});}' unless defined(&ui_sport);
    eval 'sub ui_dport () { ($ui_u->{uh_dport});}' unless defined(&ui_dport);
    eval 'sub ui_ulen () { ($ui_u->{uh_ulen});}' unless defined(&ui_ulen);
    eval 'sub ui_sum () { ($ui_u->{uh_sum});}' unless defined(&ui_sum);
    eval 'sub UDP_STAT_IPACKETS () {0;}' unless defined(&UDP_STAT_IPACKETS);
    eval 'sub UDP_STAT_HDROPS () {1;}' unless defined(&UDP_STAT_HDROPS);
    eval 'sub UDP_STAT_BADSUM () {2;}' unless defined(&UDP_STAT_BADSUM);
    eval 'sub UDP_STAT_BADLEN () {3;}' unless defined(&UDP_STAT_BADLEN);
    eval 'sub UDP_STAT_NOPORT () {4;}' unless defined(&UDP_STAT_NOPORT);
    eval 'sub UDP_STAT_NOPORTBCAST () {5;}' unless defined(&UDP_STAT_NOPORTBCAST);
    eval 'sub UDP_STAT_FULLSOCK () {6;}' unless defined(&UDP_STAT_FULLSOCK);
    eval 'sub UDP_STAT_PCBHASHMISS () {7;}' unless defined(&UDP_STAT_PCBHASHMISS);
    eval 'sub UDP_STAT_OPACKETS () {8;}' unless defined(&UDP_STAT_OPACKETS);
    eval 'sub UDP_NSTATS () {9;}' unless defined(&UDP_NSTATS);
    eval 'sub UDPCTL_CHECKSUM () {1;}' unless defined(&UDPCTL_CHECKSUM);
    eval 'sub UDPCTL_SENDSPACE () {2;}' unless defined(&UDPCTL_SENDSPACE);
    eval 'sub UDPCTL_RECVSPACE () {3;}' unless defined(&UDPCTL_RECVSPACE);
    eval 'sub UDPCTL_LOOPBACKCKSUM () {4;}' unless defined(&UDPCTL_LOOPBACKCKSUM);
    eval 'sub UDPCTL_STATS () {5;}' unless defined(&UDPCTL_STATS);
    if(defined(&_KERNEL)) {
    }
}
1;
