Obtaining LAT node/port, DU 3.2d

From: Michael A. Crowley <mcrowley_at_mhc.mtholyoke.edu>
Date: Wed, 3 Apr 1996 13:20:55 -0500 (EST)

In trying to modify the logdaemon package
(ftp://ftp.win.tue.nl/pub/security/logdaemon-5.0.tar.Z) to
display the LAT node/port number, I've been unable
to figure out how to obtain those strings.

In Ultrix, the ioctl call was:
   ioctl(0, LIOCTTYI, &ltainfo) /* ltainfo: struct ltattyi ltainfo; */
But LIOCTTYI is not defined in DU ioctl.h.

In <lat/streams/latioc.h> there are structures defined that would
hold the node/port strings, but I'm not sure how to get those loaded.

There was a summary a while back by by Peter Murray, 7 Mar 94:
---------------------------------------------
Many thanks to Matt Thomas from DEC who's short-and-to-the-point message
said:

> Try including <dec/lat/lat.h>

That worked like a charm. Thanks, Matt.
---------------------------------------------

Unfortunately in 3.2d, I don't seem to have that file.


Any help would be appreciated on finding and using the right files
and functions for all of this.

-Mike
---------------------------------------------------------------------
Michael A. Crowley mcrowley_at_mtholyoke.edu
Director of Network and Technical Services 413-538-2140
Mount Holyoke College, Dwight Hall fax: 413-538-2331
50 College St, South Hadley, MA 01075
---------------------------------------------------------------------
Received on Thu Apr 04 1996 - 00:35:34 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT