From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076331021147.tru64-unix-managers.marc@archive.invalid> From: "Michael A. Crowley" Date: Wed, 03 Apr 1996 18:20:55 +0000 To: tru64-unix-managers Subject: Obtaining LAT node/port, DU 3.2d X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076331021147 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, <ainfo) /* ltainfo: struct ltattyi ltainfo; */ But LIOCTTYI is not defined in DU ioctl.h. In 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 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@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 ---------------------------------------------------------------------