def _get_extensions(self, params):
        """
        Gets what extensions are supported by the remote party.
        """
        for k, v in params:
            if k == SCTP_PRSCTP_SUPPORTED:
                self._remote_partial_reliability = True
            elif k == SCTP_SUPPORTED_CHUNK_EXT:
                self._remote_extensions = list(v)
def _get_extensions ( self , params ) : for k , v in params : if k == SCTP_PRSCTP_SUPPORTED : self . _remote_partial_reliability = True elif k == SCTP_SUPPORTED_CHUNK_EXT : self . _remote_extensions = list ( v )
Gets what extensions are supported by the remote party.