CONTENTS Title Page Copyright Page Preface 1 VAXELN Routine Description Conventions 1.1 Routine Description Format and Conventions 1.1.1 Sample Routine Description DO REALTIME 1 1.1.2 Sample Routine Description Explanation 1.2 Language Conventions 1.2.1 Ada Conventions 1.2.1.1 Using the VAXELN_SERVICES Package 1.2.1.2 Using the Dollar Sign Character ( $ ) 1.2.2 C Conventions 1.2.3 Pascal Conventions 1.3 Return Values 1.3.1 Condition Values Returned 1.3.2 Condition Values Signaled 1.4 Routine Argument Data 1.4.1 VAXELN Usage 1.4.2 VAX Data Types 1.4.3 Access Types 1.4.4 Passing Mechanisms 1.5 Notes on the VAX Procedure Calling and Condition Handling Standard 1.5.1 Vector Support 1.5.2 Condition Handling 1.5.3 Debugging 1.5.4 Language Support 1.5.5 Default Output 2 VAXELN Service Routine Summary 3 VAXELN Service Routine Descriptions AUTH ADD USER AUTH MODIFY USER AUTH REMOVE USER AUTH SHOW USER COPY FILE CREATE DIRECTORY DELETE FILE DIRECTORY CLOSE DIRECTORY LIST DIRECTORY OPEN DISMOUNT TAPE VOLUME DISMOUNT VOLUME DLL CLEAR LINE DLL CLEAR NODE DLL GET LINE DLL GET NODE DLL LOAD DLL SET LINE DLL SET NODE DLL TRIGGER FTP CREATE DIRECTORY FTP DELETE FILE FTP DIRECTORY LIST FTP GET FILE FTP PUT FILE FTP REMOVE DIRECTORY FTP RENAME FILE INET ADDR INET CANCEL IF CHANGES INET CHECK ROUTE INET DELETE ARP ENTRY INET DELETE ROUTE INET FIND ARP ENTRY INET HTONL INET HTONS INET LNAOF INET MAKEADDR INET NETOF INET NETWORK INET NTOA INET NTOHL INET NTOHS INET RECEIVE IF CHANGES INET SET ARP ENTRY INET SET INTERFACE INET SET ROUTE INET SHOW ARP ENTRIES INET SHOW INTERFACE INET SHOW IP STATISTICS INET SHOW ROUTES INET SHOW TCP CONNECTIONS INET SHOW TCP STATISTICS INET SHOW UDP STATISTICS INET SIGNAL IF CHANGES INIT TAPE VOLUME INIT VOLUME LAT CLEAR COUNTERS LAT CONNECT PORT LAT CREATE PORT LAT CREATE SERVICE LAT DELETE PORT LAT DELETE SERVICE LAT DISCONNECT PORT LAT MAP PORT LAT SET NODE LAT SET PORT LAT SET SERVICE LAT SHOW CHAR LAT SHOW COUNTERS LAT SHOW PORT LAT SHOW PORT MAPPING LAT SHOW SERVERS LAT START NODE LAT STOP NODE LAT WAIT FOR CONNECTION MOUNT TAPE VOLUME MOUNT VOLUME NETMAN START NETWORK NETMAN STOP NETWORK NI ALLOCATE BUFFER NI CONNECT NI DISCONNECT NI GET ATTRIBUTES NI GET CONFIGURATION NI RECEIVE NI TRANSMIT NI TRANSMIT STATUS PROTECT FILE RENAME FILE SET DEFAULT FILESPEC STI ACCEPT STI BIND STI CLOSE STI CONNECT STI GETPEERNAME STI GET SDC STI GETSOCKNAME STI GETSOCKOPT STI LISTEN STI RECV STI RECVFROM STI RECVMSG STI SELECT STI SEND STI SENDMSG STI SENDTO STI SETSOCKOPT STI SHUTDOWN STI SOCKET STI SOCKET CONTROL A VAXELN Data Types A.1 address A.2 auth_fields A.3 auth_show_user_routine A.4 bad_list A.5 boolean A.6 byte_unsigned A.7 char_string A.8 cond_value A.9 copy_options A.10 delete_route_options A.11 dll_get_line_routine A.12 dll_get_node_routine A.13 ethernet_address A.14 fds_bitmask A.15 ftp_directory_list_routine A.16 ftp_get_file_options A.17 ftp_put_file_options A.18 function_descriptor A.19 inet_show_arp_entry A.20 inet_show_interface_entry A.21 inet_show_route_entry A.22 inet_show_tcp_connections_entry A.23 internet_address A.24 ip_statistics A.25 lat_groups A.26 lat_link_name A.27 lat_link_name_list A.28 lat_node_char A.29 lat_node_ident A.30 lat_node_name A.31 lat_port_name A.32 lat_service_ident A.33 lat_service_name A.34 lat_service_rating A.35 lat_show_counters_routine A.36 lat_show_port_routine A.37 lat_show_server_routine A.38 lat_string A.39 longword_signed A.40 longword_unsigned A.41 mask_longword A.42 msghdr A.43 net_node_address A.44 net_node_name A.45 net_node_name_address A.46 ni_attributes A.47 ni_configuration A.48 ni_datalink_address A.49 ni_format_and_mux A.50 ni_group_sap_list A.51 ni_multicast_list A.52 object_identifier A.53 port_identifier A.54 procedure A.55 protection_code A.56 route_status A.57 set_arp_options A.58 set_interface_fields A.59 set_interface_options A.60 set_route_options A.61 socket_address A.62 tcp_statistics A.63 timeval A.64 time_value A.65 udp_statistics A.66 uic A.67 varying_char_string A.68 word_signed A.69 word_unsigned TABLES 1-1 Optional Argument Usage 1-2 VAX Data Types Used in VAXELN 1-3 Access Methods 1-4 Passing Mechanisms 2-1 VAXELN Service Routine Summary 3-1 AUTH MODIFY USER Options and Corresponding Boolean Field, Mask, and Set Element Names 3-2 COPY FILE Options and Corresponding Boolean Field and Mask Names 3-3 DLL CLEAR LINE Options and Corresponding Boolean Field and Mask Names 3-4 DLL CLEAR NODE Options and Corresponding Boolean Field and Mask Names 3-5 DLL GET NODE Options and Corresponding Boolean Field and Mask Names 3-6 DLL LOAD Options and Corresponding Boolean Field and Mask Names 3-7 DLL SET LINE Options and Corresponding Boolean Field and Mask Names 3-8 DLL SET NODE Options and Corresponding Boolean Field and Mask Names 3-9 DLL TRIGGER Options and Corresponding Boolean Field and Mask Names 3-10 FTP GET FILE Options and Corresponding Boolean Field and Mask Names 3-11 FTP PUT FILE Options and Corresponding Boolean Field and Mask Names 3-12 Status Information Returned by the INET CHECK ROUTE Routine 3-13 INET DELETE ROUTE Options and Corresponding Boolean Field and Mask Names 3-14 INET SET ARP ENTRY Options and Corresponding Boolean Field and Mask Names 3-15 INET SET INTERFACE Options and Corresponding Boolean Field and Mask Names 3-16 INET SET ROUTE Options and Corresponding Boolean Field and Mask Names 3-17 Volume Protection Values in C and FORTRAN 3-18 Volume Protection Values in Ada 3-19 Volume Protection Values in Pascal 3-20 LAT MAP PORT Options and Corresponding Boolean Field, Mask, and Set Element Names 3-21 LAT SET NODE Options and Corresponding Boolean Field, Mask, and Set Element Names 3-22 LAT SET PORT Options and Corresponding Boolean Field, Mask, and Set Element Names 3-23 LAT SET SERVICE Options and Corresponding Boolean Field, Mask, and Set Element Names 3-24 NETMAN START NETWORK Options and Corresponding Boolean Field and Mask Names 3-25 Description of NI CONNECT form Argument Values 3-26 Description of NI RECEIVE form Argument Values 3-27 Description of NI TRANSMIT form Argument Values 3-28 Protection Values in Ada A-1 Contents of the Line Information Data Structure A-2 Information Returned by the INET SHOW ARP ENTRIES Routine A-3 Information Returned by the INET SHOW ROUTES Routine