HP B2355-90138 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Nein HP B2355-90138 herunter. HP B2355-90138 User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - LLA to DLPI Migration Guide

LLA to DLPI Migration GuideEdition 4B2355-90138HP 9000 NetworkingE0497Printed in: United States© Copyright 1997 Hewlett-Packard Company.

Seite 3

111 LLA to DLPI Migration

Seite 4

12 Chapter 1LLA to DLPI MigrationAs part of Hewlett-Packard’s movement toward industry standardnetworking, HP has discontinued the LLA/9000 product wi

Seite 5 - Contents

Chapter 1 13LLA to DLPI MigrationDevice FilesDevice FilesDevice files are used to identify the LAN driver, Ethernet/IEEE 802.3interface card, and proto

Seite 6

14 Chapter 1LLA to DLPI Migrationioctl Requestsioctl RequestsAll general control requests (i.e. protocol logging, destination addresses,multicast addr

Seite 7 - Printing History

Chapter 1 15LLA to DLPI Migrationioctl RequestsLOG_READ_TIMEOUT Not definedLLA_SIGNAL_MASK Not definedFRAME_HEADER Frame headers are delivered with each

Seite 8

16 Chapter 1LLA to DLPI MigrationTransmitting DataTransmitting DataLLA requires the user to log a destination address (LOG_DEST_ADDR)and a destination

Seite 9

Chapter 1 17LLA to DLPI MigrationReceiving DataReceiving DataLLA does not automatically return LLC header information whenpackets are read by the user

Seite 10

18 Chapter 1LLA to DLPI MigrationReceiving Data

Seite 11 - 1 LLA to DLPI Migration

192 LLA and DLPI ExampleProgramsThis chapter contains two example programs.

Seite 12

2Legal NoticesThe information in this document is subject to change without notice.Hewlett-Packard makes no warranty of any kind with regard to thisma

Seite 13 - Device Files

20 Chapter 2LLA and DLPI Example ProgramsThe first example shows a data transfer program using DLPI. Thesecond example shows the same type of program u

Seite 14

Chapter 2 21LLA and DLPI Example ProgramsDLPI Example ProgramDLPI Example Program/********************************************************************

Seite 15

22 Chapter 2LLA and DLPI Example ProgramsDLPI Example Programstruct strbuf data_buf = { AREA_SIZE, /* maxlen = AREA_SIZE */ 0,

Seite 16 - Transmitting Data

Chapter 2 23LLA and DLPI Example ProgramsDLPI Example Program /* did we get a control part */ if(ctrl_buf.len) {

Seite 17 - Receiving Data

24 Chapter 2LLA and DLPI Example ProgramsDLPI Example Program data_buf.len = length; /* call putmsg and check for an error */

Seite 18 - LLA to DLPI Migration

Chapter 2 25LLA and DLPI Example ProgramsDLPI Example Programintattach() { int fd; /* file descriptor */ int ppa

Seite 19 - Programs

26 Chapter 2LLA and DLPI Example ProgramsDLPI Example Program attach_req->dl_ppa = ppa; put_ctrl(fd, sizeof(dl_attach_req_t), 0);

Seite 20 - LLA and DLPI Example Programs

Chapter 2 27LLA and DLPI Example ProgramsDLPI Example Program dl_subs_bind_req_t *subs_bind_req = (dl_subs_bind_req_t*)ctrl_area;

Seite 21 - DLPI Example Program

28 Chapter 2LLA and DLPI Example ProgramsDLPI Example Program char *rdlsap; int msg_res; msg_res = get_msg(fd); che

Seite 22 - 22 Chapter 2

Chapter 2 29LLA and DLPI Example ProgramsDLPI Example Program/********************************************************************* main*******

Seite 23 - Chapter 2 23

3©copyright 1980, 1984, 1986 Novell, Inc. ©copyright 1986-1992 SunMicrosystems, Inc. ©copyright 1985-86, 1988 Massachusetts Institute ofTechnology. ©c

Seite 24 - 24 Chapter 2

30 Chapter 2LLA and DLPI Example ProgramsDLPI Example Program } /* We're finished with PART 1. Now call cleanup to unbind,

Seite 25 - Chapter 2 25

Chapter 2 31LLA and DLPI Example ProgramsDLPI Example Program data_area[0] = i; /* Initialize data area */

Seite 26 - 26 Chapter 2

32 Chapter 2LLA and DLPI Example ProgramsLLA Example ProgramLLA Example Program/**********************************************************************

Seite 27 - Chapter 2 27

Chapter 2 33LLA and DLPI Example ProgramsLLA Example Program /* * Read a packet from the device. */ /* call read and check

Seite 28 - 28 Chapter 2

34 Chapter 2LLA and DLPI Example ProgramsLLA Example Program intfd; /* file descriptor */ char *mac_name; /* open t

Seite 29 - Chapter 2 29

Chapter 2 35LLA and DLPI Example ProgramsLLA Example Program /* Copy the address to ret_addr */ memcpy(ret_addr, (caddr_t)ctrl_buf.value.s, 6);}/*

Seite 30 - 30 Chapter 2

36 Chapter 2LLA and DLPI Example ProgramsLLA Example Program/**************************************************************************** Close th

Seite 31 - Chapter 2 31

Chapter 2 37LLA and DLPI Example ProgramsLLA Example Program int dest_addr_len; /* length of dest_addr */{ int i; prin

Seite 32 - LLA Example Program

38 Chapter 2LLA and DLPI Example ProgramsLLA Example Program /* Set the destination MAC and SAP address to the local address. This w

Seite 33 - Chapter 2 33

Chapter 2 39LLA and DLPI Example ProgramsLLA Example Program /* The following bind is not needed because we are running in loopback

Seite 35 - Chapter 2 35

40 Chapter 2LLA and DLPI Example ProgramsLLA Example Program

Seite 36 - 36 Chapter 2

Index41DDLPI example program, 20Eexample programs, 20LLLA example program, 20LLA ioctls vs DLPI primitives,14LLA migration, 12Mmigrating to DLPI, 12

Seite 37 - Chapter 2 37

Contents51. LLA to DLPI MigrationDevice Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13ioctl R

Seite 39 - Chapter 2 39

7Printing HistoryThe manual printing date and part number indicate its current edition.The printing date will change when a new edition is printed. Mi

Seite 41

9PrefaceLink Level Access for the HP 9000 (LLA/9000) is a Hewlett-Packard datacommunications and data management product supported on earlierHP-UX rel

Kommentare zu diesen Handbüchern

Keine Kommentare