require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_NETINET_TCP_SEQ_H_)) {
    eval 'sub _NETINET_TCP_SEQ_H_ () {1;}' unless defined(&_NETINET_TCP_SEQ_H_);
    eval 'sub SEQ_LT {
        my($a,$b) = @_;
	    eval q(((($a)-($b)) < 0));
    }' unless defined(&SEQ_LT);
    eval 'sub SEQ_LEQ {
        my($a,$b) = @_;
	    eval q(((($a)-($b)) <= 0));
    }' unless defined(&SEQ_LEQ);
    eval 'sub SEQ_GT {
        my($a,$b) = @_;
	    eval q(((($a)-($b)) > 0));
    }' unless defined(&SEQ_GT);
    eval 'sub SEQ_GEQ {
        my($a,$b) = @_;
	    eval q(((($a)-($b)) >= 0));
    }' unless defined(&SEQ_GEQ);
    eval 'sub tcp_rcvseqinit {
        my($tp) = @_;
	    eval q(($tp)-> &rcv_adv = ($tp)-> &rcv_nxt = ($tp)-> &irs + 1);
    }' unless defined(&tcp_rcvseqinit);
    eval 'sub tcp_sendseqinit {
        my($tp) = @_;
	    eval q(($tp)-> &snd_una = ($tp)-> &snd_nxt = ($tp)-> &snd_max = ($tp)-> &snd_up = ($tp)-> &iss);
    }' unless defined(&tcp_sendseqinit);
    eval 'sub TCP_ISSINCR () {(125*1024);}' unless defined(&TCP_ISSINCR);
    if(defined(&_KERNEL)) {
    }
}
1;
