HP B2355-90138 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Nie HP B2355-90138. HP B2355-90138 User's Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - LLA to DLPI Migration Guide

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

Strona 3

111 LLA to DLPI Migration

Strona 4

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

Strona 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

Strona 6

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

Strona 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

Strona 8

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

Strona 9

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

Strona 10

18 Chapter 1LLA to DLPI MigrationReceiving Data

Strona 11 - 1 LLA to DLPI Migration

192 LLA and DLPI ExampleProgramsThis chapter contains two example programs.

Strona 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

Strona 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

Strona 14

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

Strona 15

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

Strona 16 - Transmitting Data

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

Strona 17 - Receiving Data

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

Strona 18 - LLA to DLPI Migration

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

Strona 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);

Strona 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;

Strona 21 - DLPI Example Program

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

Strona 22 - 22 Chapter 2

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

Strona 23 - Chapter 2 23

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

Strona 24 - 24 Chapter 2

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

Strona 25 - Chapter 2 25

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

Strona 26 - 26 Chapter 2

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

Strona 27 - Chapter 2 27

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

Strona 28 - 28 Chapter 2

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

Strona 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);}/*

Strona 30 - 30 Chapter 2

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

Strona 31 - Chapter 2 31

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

Strona 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

Strona 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

Strona 35 - Chapter 2 35

40 Chapter 2LLA and DLPI Example ProgramsLLA Example Program

Strona 36 - 36 Chapter 2

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

Strona 37 - Chapter 2 37

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

Strona 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

Strona 41

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

Komentarze do niniejszej Instrukcji

Brak uwag