Go to the source code of this file.
      
        
          | #define OPENNSL_F_FAST_BOOT   0x00000001  /* Fast boot mode */ | 
        
      
 
 
      
        
          | unsigned int opennsl_driver_boot_flags_get  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
To get platform boot flags. 
- Returns
 - unsigned int Boot flags 
 
Referenced by main().
 
 
      
        
          | int opennsl_driver_exit  | 
          ( | 
           | ) | 
           | 
        
      
 
Function to free up the resources and exit the driver. 
- Returns
 - OPENNSL_E_XXX OpenNSL API return code 
 
Referenced by main().
 
 
Function to initialize the switch. 
- Parameters
 - 
  
    | init | [IN] pointer to structure that contains path to platform customization config file, boot flags. | 
  
   
- Returns
 - OPENNSL_E_XXX OpenNSL API return code 
 
Referenced by main().
 
 
      
        
          | void platform_phy_cleanup  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | char* readline  | 
          ( | 
          const char *  | 
          prompt | ) | 
           | 
        
      
 
Get a line from a user with editing. 
- Parameters
 - 
  
  
 
- Returns
 - char* NULL, if the line is empty empty string, if the line is blank text of the line read, otherwise.