#include <rapi.h>
int rapi_sender ( rapi_sid_t SessID, int flags, rapi_addr_t *LocalAddr, rapi_filter_t *Filter, rapi_tspec_t *SndTspec, rapi_adspec_t *SndAdspec, rapi_policy_t *SndPol, int Ttl )
The rapi_sender() API identifies an RSVP sender to potential receivers of the data. This API causes an RSVP path message to be sent to the receiver defined by the SessID value obtained by a rapi_session call.
2 | TC_QOS_POLICE | Turn traffic policing on. |
4 | TC_QOS_NOPOLICE | Turn traffic policing off. |
8 | TC_QOS_SHAPE | Turn traffic shaping on. |
16 | TC_QOS_NOSHAPE | Turn traffic shaping off. |
If the session is using IPSEC, this parameter is required.
None.
Returns 0 if successful.
A RAPI error code is returned if it fails.
A parameter that is not valid was passed to the API.
The session ID passed to the API was valid.
No sender Tspec was defined for the API call.
The RSVP server did not respond to the API request. Make sure the RSVP server is running.
For a description of the RSVP protocol, see RFC 2205 on the RFC Pages for The Internet Engineering Task Force.
Complete documentation of the RAPI APIs can be found at The Open Group.
Top | UNIX-Type APIs | APIs by category |