sink(1)

Name

sink - data sink for gentalk

Syntax

sink devname call_index netid verbose checkflag [logfile]

Description

sink expects to be invoked by the incoming call handler, x25daemon. It opens the X.25 circuit and checks all incoming data packets for a specific data pattern, counts them, and then tosses them. Upon error or unexpected condition on the X.25 circuit, a report is produced in /tmp/sinklog.

devname and netid are the device name and netid (from /etc/packetnets) to be used for this call. The call index is a unique number used for identifying the call. All three of these values are determined by x25daemon.

If checkflag is set to 0, no data pattern checking is performed. If 1, data packets are expected to contain the pattern generated by gentalk.

If verbose is set to 0, diagnostics are turned off; otherwise, they are turned on.

The following /etc/x25incalls entry properly invokes sink:

CUD=\1\0\0\0S:PASS:API:YES:/usr/lib/x25/utils/sink $dev $index $netid 1 1
The use of B in Call User Data is consistent with the gentalk default CUD. /etc/x25incalls is delivered with this line already in it.
Revision 6.1.0 (February 2003)

Copyright © 1997-2003 The Software Group Limited. All Rights Reserved.
® Netcom is a registered trademark of The Software Group Limited.