Home | History | Annotate | Download | only in pppoatm
      1 /* atmsap.h - ATM Service Access Point addressing definitions */
      2 
      3 /* Written 1996-1998 by Werner Almesberger, EPFL LRC/ICA */
      4 
      5 
      6 #ifndef _ATMSAP_H
      7 #define _ATMSAP_H
      8 
      9 #include <stdint.h>
     10 #include <linux/atmsap.h>
     11 
     12 
     13 /*
     14  * Selected ISO/IEC TR 9577 Network Layer Protocol Identifiers (NLPID)
     15  */
     16 
     17 #define NLPID_IEEE802_1_SNAP	0x80	/* IEEE 802.1 SNAP */
     18 
     19 /*
     20  * Selected Organizationally Unique Identifiers (OUIs)
     21  */
     22 
     23 #define ATM_FORUM_OUI		"\x00\xA0\x3E"	/* ATM Forum */
     24 #define EPFL_OUI		"\x00\x60\xD7"	/* EPF Lausanne, CH */
     25 
     26 /*
     27  * Selected vendor-specific application identifiers (for B-HLI). Such an
     28  * identifier consists of three bytes containing the OUI, followed by four
     29  * bytes assigned by the organization owning the OUI.
     30  */
     31 
     32 #define ANS_HLT_VS_ID		ATM_FORUM_OUI "\x00\x00\x00\x01"
     33 					 /* ATM Name System, af-saa-0069.000 */
     34 #define VOD_HLT_VS_ID		ATM_FORUM_OUI "\x00\x00\x00\x02"
     35 						     /* VoD, af-saa-0049.001 */
     36 #define AREQUIPA_HLT_VS_ID	EPFL_OUI "\x01\x00\x00\x01"	/* Arequipa  */
     37 #define TTCP_HLT_VS_ID		EPFL_OUI "\x01\x00\x00\x03"	/* ttcp_atm */
     38 
     39 
     40 /* Mapping of "well-known" TCP, UDP, etc. port numbers to ATM BHLIs.
     41    btd-saa-api-bhli-01.02 */
     42 
     43 void atm_tcpip_port_mapping(char *vs_id,uint8_t protocol,uint16_t port);
     44 
     45 #endif
     46