From owner-freebsd-atm Mon Jul 8 13:46: 2 2002 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1090C37B400 for ; Mon, 8 Jul 2002 13:46:01 -0700 (PDT) Received: from mail.matriplex.com (ns1.matriplex.com [208.131.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A73A43E4A for ; Mon, 8 Jul 2002 13:46:00 -0700 (PDT) (envelope-from rh@matriplex.com) Received: from mail.matriplex.com (mail.matriplex.com [208.131.42.9]) by mail.matriplex.com (8.9.2/8.9.2) with ESMTP id NAA71884; Mon, 8 Jul 2002 13:45:48 -0700 (PDT) (envelope-from rh@matriplex.com) Date: Mon, 8 Jul 2002 13:45:48 -0700 (PDT) From: Richard Hodges To: Vincent Jardin Cc: freebsd-atm@FreeBSD.ORG Subject: Re: HARP/ B-LLI In-Reply-To: <20020708204431.0C2F215039F@venus.vincentjardin.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 8 Jul 2002, Vincent Jardin wrote: > I am trying to use the HARP stack in order to open an AAL5/PVC socket with > LLC/SNAP. While I am trying to fill the sockaddr_atm structure for the > connect() function, I am wondering how the following fields should be filled > and what are they for ? > * B-LLI Layer 2 SVE > * B-LLI Layer 3 SVE > * B_HLI SVE For connecting to another CLIP host, you might use: satm->satm_addr.t_atm_sap_layer2.SVE_tag = T_ATM_PRESENT; satm->satm_addr.t_atm_sap_layer2.ID_type = T_ATM_SIMPLE_ID; satm->satm_addr.t_atm_sap_layer2.ID.simple_ID = T_ATM_BLLI2_I8802; satm->satm_addr.t_atm_sap_layer3.SVE_tag = T_ATM_ABSENT; satm->satm_addr.t_atm_sap_appl.SVE_tag = T_ATM_ABSENT; Does this help? -Richard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message