DLC_ALTER

This sections explains the ioctl subroutine argument structure for altering an LS.

The ioctl subroutine argument structure for altering an LS (dlc_alter_arg) has the following specifics:

  • The following alter flags are not supported:
    Item Description
    SM1, SM2 Sets SDLC control mode.
  • A protocol-specific data area must be appended to the generic alter link station argument structure (dlc_alter_arg). This structure provides DLCTOKEN with additional protocol-specific alter parameters.
    
    #define TRL_ALTER_PRTY 0x80000000 /* alter packet priority     */
    #define TRL_ALTER_DYNA 0x40000000 /* alter dynamic window incr.*/
       struct trl_start_psd
    {
       ulong_t   flags;      /* specific alter flags               */
       uchar_t   pkt_prty;   /* ring access packet priority value  */
       uchar_t   dyna_wnd;   /* dynamic window increment value     */
       ushort_t  reserved;   /* currently not used                 */
    };
    
    
    #define TRL_ALTER_PRTY 0x80000000 /* alter packet priority     */
    #define TRL_ALTER_DYNA 0x40000000 /* alter dynamic window incr.*/
       struct trl_start_psd
    {
       __ulong32_t   flags;      /* specific alter flags               */
       uchar_t       pkt_prty;   /* ring access packet priority value  */
       uchar_t       dyna_wnd;   /* dynamic window increment value     */
       ushort_t      reserved;   /* currently not used                 */
    };
    

    Specific alter flags are as follows:

    Item Description
    TRL_ALTER_PRTY Specifies alter priority. If this flag is set to 1, the pkt_prty value field replaces the current priority value being used by the LS. The LS must be started for this alter command to be valid.
    TRL_ALTER_DYNA Specifies alter dynamic window. If this flag is set to 1, the dyna_wnd value field replaces the current dynamic window value being used by the LS. The LS must be started for this alter command to be valid.

    The protocol-specific parameters are as follows:

    Item Description
    pkt_prty Specifies the new priority reservation value for transmit packets.
    dyna_wnd Specifies the new dynamic window value to control network congestion.