Re: HARP/ B-LLI

Richard Hodges <[email protected]> Mon, 8 Jul 2002 13:45:48 -0700 (PDT)
Newsgroups gmane.os.freebsd.devel.atm
Message-ID <[email protected]>
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 [email protected]
with "unsubscribe freebsd-atm" in the body of the message