require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_NETINET_TCPIP_H_)) {
    eval 'sub _NETINET_TCPIP_H_ () {1;}' unless defined(&_NETINET_TCPIP_H_);
    eval 'sub ti_x1 () { ($ti_i->{ih_x1});}' unless defined(&ti_x1);
    eval 'sub ti_pr () { ($ti_i->{ih_pr});}' unless defined(&ti_pr);
    eval 'sub ti_len () { ($ti_i->{ih_len});}' unless defined(&ti_len);
    eval 'sub ti_src () { ($ti_i->{ih_src});}' unless defined(&ti_src);
    eval 'sub ti_dst () { ($ti_i->{ih_dst});}' unless defined(&ti_dst);
    eval 'sub ti_sport () { ($ti_t->{th_sport});}' unless defined(&ti_sport);
    eval 'sub ti_dport () { ($ti_t->{th_dport});}' unless defined(&ti_dport);
    eval 'sub ti_seq () { ($ti_t->{th_seq});}' unless defined(&ti_seq);
    eval 'sub ti_ack () { ($ti_t->{th_ack});}' unless defined(&ti_ack);
    eval 'sub ti_x2 () { ($ti_t->{th_x2});}' unless defined(&ti_x2);
    eval 'sub ti_off () { ($ti_t->{th_off});}' unless defined(&ti_off);
    eval 'sub ti_flags () { ($ti_t->{th_flags});}' unless defined(&ti_flags);
    eval 'sub ti_win () { ($ti_t->{th_win});}' unless defined(&ti_win);
    eval 'sub ti_sum () { ($ti_t->{th_sum});}' unless defined(&ti_sum);
    eval 'sub ti_urp () { ($ti_t->{th_urp});}' unless defined(&ti_urp);
}
1;
