HP B2355-90138 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro ne HP B2355-90138. HP B2355-90138 User's Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - LLA to DLPI Migration Guide

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

Strany 3

111 LLA to DLPI Migration

Strany 4

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

Strany 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

Strany 6

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

Strany 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

Strany 8

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

Strany 9

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

Strany 10

18 Chapter 1LLA to DLPI MigrationReceiving Data

Strany 11 - 1 LLA to DLPI Migration

192 LLA and DLPI ExampleProgramsThis chapter contains two example programs.

Strany 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

Strany 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

Strany 14

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

Strany 15

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

Strany 16 - Transmitting Data

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

Strany 17 - Receiving Data

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

Strany 18 - LLA to DLPI Migration

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

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

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

Strany 21 - DLPI Example Program

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

Strany 22 - 22 Chapter 2

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

Strany 23 - Chapter 2 23

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

Strany 24 - 24 Chapter 2

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

Strany 25 - Chapter 2 25

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

Strany 26 - 26 Chapter 2

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

Strany 27 - Chapter 2 27

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

Strany 28 - 28 Chapter 2

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

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

Strany 30 - 30 Chapter 2

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

Strany 31 - Chapter 2 31

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

Strany 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

Strany 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

Strany 35 - Chapter 2 35

40 Chapter 2LLA and DLPI Example ProgramsLLA Example Program

Strany 36 - 36 Chapter 2

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

Strany 37 - Chapter 2 37

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

Strany 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

Strany 41

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

Komentáře k této Příručce

Žádné komentáře