def modifyComplete(LowLayerCompatibility_presence=0, HighLayerCompatibility_presence=0, ReverseCallSetupDirection_presence=0):
 a = TpPd(pd=3)
 b = MessageType(mesType=31)
 c = BearerCapability()
 packet = ((a / b) / c)
 if (LowLayerCompatibility_presence is 1):
  d = LowLayerCompatibilityHdr(ieiLLC=124, eightBitLLC=0)
  packet = (packet / d)
 if (HighLayerCompatibility_presence is 1):
  e = HighLayerCompatibilityHdr(ieiHLC=125, eightBitHLC=0)
  packet = (packet / e)
 if (ReverseCallSetupDirection_presence is 1):
  f = ReverseCallSetupDirection(ieiRCSD=163)
  packet = (packet / f)
 return packet

def modifyComplete ( LowLayerCompatibility_presence = 0 , HighLayerCompatibility_presence = 0 , ReverseCallSetupDirection_presence = 0 ) : a = TpPd ( pd = 3 ) b = MessageType ( mesType = 31 ) c = BearerCapability ( ) packet = ( ( a / b ) / c ) if ( LowLayerCompatibility_presence is 1 ) : d = LowLayerCompatibilityHdr ( ieiLLC = 124 , eightBitLLC = 0 ) packet = ( packet / d ) if ( HighLayerCompatibility_presence is 1 ) : e = HighLayerCompatibilityHdr ( ieiHLC = 125 , eightBitHLC = 0 ) packet = ( packet / e ) if ( ReverseCallSetupDirection_presence is 1 ) : f = ReverseCallSetupDirection ( ieiRCSD = 163 ) packet = ( packet / f ) return packet
modify complete section 9 .