XTD(1M) INTERACTIVE UNIX System XTD(1M)
NAME
xtd - extract and print xt driver link structure
SYNOPSIS
xtd [-f] [-n ...]
DESCRIPTION
The xtd command is a debugging tool for the xt(7) driver.
It performs an XTIOCDATA ioctl(2) call on its standard input
file to extract the Link data structure for the attached
group of channels. This call will fail if data extraction
has not been configured in the driver or the standard input
is not attached to an xt(7) channel. The data are printed
one item per line on the standard output. The output should
probably be formatted via pr -3.
The optional flags affect output as follows:
-n n is a number in the range 0 to 7. Channel n is
included in the list of channels to be printed.
The default prints all channels, whereas the
occurrence of one or more channel numbers implies
a subset.
-f Causes a ``formfeed'' character to be put out at
the end of the output for the benefit of page-
display programs.
EXIT STATUS
Returns 0 upon successful completion; 1 otherwise.
SEE ALSO
pr(1), xts(1M), xtt(1M), xt(7).
ioctl(2), xtproto(5) in the INTERACTIVE SDS Guide and
Programmer's Reference Manual.
Rev. Base System Page 1