cb_pvc_alloc_struct Structure for X.25

Purpose

Used by the x25_pvc_alloc subroutine to pass the name of the X.25 port and the logical channel number.

Syntax

#define X25FLG_LINK_NAME 0x00000002
#define X25FLG_LCN       0x00000040

struct cb_pvc_alloc_struct
{
  unsigned long flags;
  char *link_name;
  unsigned int lcn;
} ;

Flags

Item Description
X25_FLG_LCN Indicates that the lcn field is used.
X25_FLG_LINK_NAME Indicates that the link_name field is used.

Fields

Item Description
flags Notification to the API that the associated field has been used.
link_name The name of the X.25 port.
lcn Logical channel number of the permanent virtual circuit (PVC) to be allocated to the call.