require '_h2ph_pre.ph';

unless(defined(&_NETISO_TP_TPDU_H_)) {
    eval 'sub _NETISO_TP_TPDU_H_ () {1;}' unless defined(&_NETISO_TP_TPDU_H_);
    require 'machine/endian.ph';
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0)) {
    }
    eval 'sub tpdu_li () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_li);
    eval 'sub tpdu_type () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_type);
    eval 'sub tpdu_cdt () { ($_tpduf->{_tpduf_cdt});}' unless defined(&tpdu_cdt);
    eval 'sub tpdu_dref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_dref);
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0)) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
    }
    eval 'sub tp0du_eot () { &_tp0_eot;}' unless defined(&tp0du_eot);
    eval 'sub tp0du_mbz () { &_tp0_mbz;}' unless defined(&tp0du_mbz);
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0)) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
    }
    eval 'sub s_eot () { ($st->{st_eot});}' unless defined(&s_eot);
    eval 'sub s_seq () { ($st->{st_seq});}' unless defined(&s_seq);
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0) ) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
    }
    eval 'sub tpdu_CRli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_CRli);
    eval 'sub tpdu_CRtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_CRtype);
    eval 'sub tpdu_CRcdt () { ($_tpduf->{_tpduf_cdt});}' unless defined(&tpdu_CRcdt);
    eval 'sub tpdu_CRdref_0 () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_CRdref_0);
    eval 'sub tpdu_CRsref () { ($_tpdufr->{CRCC}->{_tpdufr_sref});}' unless defined(&tpdu_CRsref);
    eval 'sub tpdu_sref () { ($_tpdufr->{CRCC}->{_tpdufr_sref});}' unless defined(&tpdu_sref);
    eval 'sub tpdu_CRclass () { ($_tpdufr->{CRCC}->{_tpdufr_class});}' unless defined(&tpdu_CRclass);
    eval 'sub tpdu_CRoptions () { ($_tpdufr->{CRCC}->{_tpdufr_opt});}' unless defined(&tpdu_CRoptions);
    eval 'sub tpdu_CCli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_CCli);
    eval 'sub tpdu_CCtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_CCtype);
    eval 'sub tpdu_CCcdt () { ($_tpduf->{_tpduf_cdt});}' unless defined(&tpdu_CCcdt);
    eval 'sub tpdu_CCdref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_CCdref);
    eval 'sub tpdu_CCsref () { ($_tpdufr->{CRCC}->{_tpdufr_sref});}' unless defined(&tpdu_CCsref);
    eval 'sub tpdu_CCclass () { ($_tpdufr->{CRCC}->{_tpdufr_class});}' unless defined(&tpdu_CCclass);
    eval 'sub tpdu_CCoptions () { ($_tpdufr->{CRCC}->{_tpdufr_opt});}' unless defined(&tpdu_CCoptions);
    eval 'sub TPO_USE_EFC () {0x1;}' unless defined(&TPO_USE_EFC);
    eval 'sub TPO_XTD_FMT () {0x2;}' unless defined(&TPO_XTD_FMT);
    eval 'sub TPAO_USE_TXPD () {0x1;}' unless defined(&TPAO_USE_TXPD);
    eval 'sub TPAO_NO_CSUM () {0x2;}' unless defined(&TPAO_NO_CSUM);
    eval 'sub TPAO_USE_RCC () {0x4;}' unless defined(&TPAO_USE_RCC);
    eval 'sub TPAO_USE_NXPD () {0x8;}' unless defined(&TPAO_USE_NXPD);
    eval 'sub tpdu_DRli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_DRli);
    eval 'sub tpdu_DRtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_DRtype);
    eval 'sub tpdu_DRdref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_DRdref);
    eval 'sub tpdu_DRsref () { ($_tpdufr->{DR}->{_tpdufr_sref});}' unless defined(&tpdu_DRsref);
    eval 'sub tpdu_DRreason () { ($_tpdufr->{DR}->{_tpdufr_reason});}' unless defined(&tpdu_DRreason);
    eval 'sub tpdu_DCli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_DCli);
    eval 'sub tpdu_DCtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_DCtype);
    eval 'sub tpdu_DCdref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_DCdref);
    eval 'sub tpdu_DCsref () { ($_tpdufr->{_tpdufr_sref});}' unless defined(&tpdu_DCsref);
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0)) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0)) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
    }
    eval 'sub tpdu_seqeotX () { ($_tpdufr->{_tpdufr_Xseqeot});}' unless defined(&tpdu_seqeotX);
    eval 'sub tpdu_DTli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_DTli);
    eval 'sub tpdu_DTtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_DTtype);
    eval 'sub tpdu_DTdref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_DTdref);
    eval 'sub tpdu_DTseq () { ($_tpdufr->{SEQEOT}->{_tpdufr_seq});}' unless defined(&tpdu_DTseq);
    eval 'sub tpdu_DTeot () { ($_tpdufr->{SEQEOT}->{_tpdufr_eot});}' unless defined(&tpdu_DTeot);
    eval 'sub tpdu_DTseqX () { ($_tpdufr->{SEQEOT31}->{_tpdufr_Xseq});}' unless defined(&tpdu_DTseqX);
    eval 'sub tpdu_DTeotX () { ($_tpdufr->{SEQEOT31}->{_tpdufr_Xeot});}' unless defined(&tpdu_DTeotX);
    eval 'sub tpdu_XPDli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_XPDli);
    eval 'sub tpdu_XPDtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_XPDtype);
    eval 'sub tpdu_XPDdref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_XPDdref);
    eval 'sub tpdu_XPDseq () { ($_tpdufr->{SEQEOT}->{_tpdufr_seq});}' unless defined(&tpdu_XPDseq);
    eval 'sub tpdu_XPDeot () { ($_tpdufr->{SEQEOT}->{_tpdufr_eot});}' unless defined(&tpdu_XPDeot);
    eval 'sub tpdu_XPDseqX () { ($_tpdufr->{SEQEOT31}->{_tpdufr_Xseq});}' unless defined(&tpdu_XPDseqX);
    eval 'sub tpdu_XPDeotX () { ($_tpdufr->{SEQEOT31}->{_tpdufr_Xeot});}' unless defined(&tpdu_XPDeotX);
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0)) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
    }
    eval 'sub tpdu_AKli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_AKli);
    eval 'sub tpdu_AKtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_AKtype);
    eval 'sub tpdu_AKdref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_AKdref);
    eval 'sub tpdu_AKseq () { ($_tpdufr->{SEQEOT}->{_tpdufr_seq});}' unless defined(&tpdu_AKseq);
    eval 'sub tpdu_AKseqX () { ($_tpdufr->{AK31}->{_tpdufr_yrseq});}' unless defined(&tpdu_AKseqX);
    eval 'sub tpdu_AKcdt () { ($_tpduf->{_tpduf_cdt});}' unless defined(&tpdu_AKcdt);
    eval 'sub tpdu_AKcdtX () { ($_tpdufr->{AK31}->{_tpdufr_cdt});}' unless defined(&tpdu_AKcdtX);
    eval 'sub tpdu_XAKli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_XAKli);
    eval 'sub tpdu_XAKtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_XAKtype);
    eval 'sub tpdu_XAKdref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_XAKdref);
    eval 'sub tpdu_XAKseq () { ($_tpdufr->{SEQEOT}->{_tpdufr_seq});}' unless defined(&tpdu_XAKseq);
    eval 'sub tpdu_XAKseqX () { ($_tpdufr->{SEQEOT31}->{_tpdufr_Xseq});}' unless defined(&tpdu_XAKseqX);
    eval 'sub tpdu_ERli () { ($_tpduf->{_tpduf_li});}' unless defined(&tpdu_ERli);
    eval 'sub tpdu_ERtype () { ($_tpduf->{_tpduf_type});}' unless defined(&tpdu_ERtype);
    eval 'sub tpdu_ERdref () { ($_tpduf->{_tpduf_dref});}' unless defined(&tpdu_ERdref);
    eval 'sub tpdu_ERreason () { ($_tpdufr->{_tpdu_ERreason});}' unless defined(&tpdu_ERreason);
}
1;
