Help for this page

Select Code to Download


  1. or download this
    /* RASENTRY 'dwfOptions' bit flags.
    */
    ...
    #define RASEO_RequirePAP                0x00040000
    #define RASEO_RequireSPAP               0x00080000
    #define RASEO_Custom                    0x00100000
    
  2. or download this
    $RASOPTIONS = "RASEO_IpHeaderCompression+RASEO_RemoteDefaultGateway+RA
    +SEO_SwCompression";
    
  3. or download this
    my $RASOPTIONS = 0x00000008 | 0x00000010 | 0x00000200;
    
  4. or download this
      0x00000008    0000 0000 0000 0000 0000 0000 0000 1000
    | 0x00000010    0000 0000 0000 0000 0000 0000 0001 0000
    | 0x00000200    0000 0000 0000 0000 0000 0010 0000 0000
    = 0x00000218    0000 0000 0000 0000 0000 0010 0001 1000
    
  5. or download this
    # Set options 
    # RASEO_IpHeaderCompression
    ...
    if( $options == (0x00000008 | 0x00000010 | 0x00000200) ) {
       # do it
    }
    
  6. or download this
    use constant RASEO_IpHeaderCompression = 0x00000008;