tfLqmSendLinkQualityReport

Jump to: navigation, search

Table of Contents >> Optional Protocols >> PPP Interface


#include <trsocket.h>


int tfLqmSendLinkQualityReport (ttUserInterface interfaceHandle);


Function Description

The PPP LQM specification (RFC 1989) allows the Link-Quality-Report message to be sent more frequently than the negotiated reporting period, and tfLqmSendLinkQualityReport() gives you direct control over when Link-Quality-Report messages are sent. You may want to use tfLqmSendLinkQualityReport() if your link quality monitoring function is not being called frequently enough, and you want to get feedback on what the current link quality is.


Parameters

  • interfaceHandle
    The PPP interface to send the Link-Quality-Report message on.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    Invalid parameter.
  • TM_ENETDOWN
    The PPP interface is not open/connected.
  • TM_EOPNOTSUPP
    Could not send the Link-Quality-Report message because LQM is disabled on the link (i.e. the peer does not support LQM).
  • TM_ENOBUFS
    Insufficient memory to complete the operation.


Table of Contents >> Optional Protocols >> PPP Interface