usb_moded  0.86.0+mer57
Data Fields
modedata_t Struct Reference

#include <usb_moded-dyn-config.h>

Data Fields

gchar * mode_name
 
gchar * mode_module
 
int appsync
 
int network
 
int mass_storage
 
gchar * network_interface
 
gchar * sysfs_path
 
gchar * sysfs_value
 
gchar * sysfs_reset_value
 
gchar * android_extra_sysfs_path
 
gchar * android_extra_sysfs_value
 
gchar * android_extra_sysfs_path2
 
gchar * android_extra_sysfs_value2
 
gchar * android_extra_sysfs_path3
 
gchar * android_extra_sysfs_value3
 
gchar * android_extra_sysfs_path4
 
gchar * android_extra_sysfs_value4
 
gchar * idProduct
 
gchar * idVendorOverride
 
int nat
 
int dhcp_server
 

Detailed Description

Struct keeping all the data needed for the definition of a dynamic mode

Definition at line 100 of file usb_moded-dyn-config.h.

Field Documentation

◆ android_extra_sysfs_path

gchar* modedata_t::android_extra_sysfs_path

Path for static value that never changes that needs to be set by sysfs :(

Definition at line 111 of file usb_moded-dyn-config.h.

◆ android_extra_sysfs_path2

gchar* modedata_t::android_extra_sysfs_path2

Path for static value that never changes that needs to be set by sysfs :(

Definition at line 113 of file usb_moded-dyn-config.h.

◆ android_extra_sysfs_path3

gchar* modedata_t::android_extra_sysfs_path3

Path for static value that never changes that needs to be set by sysfs :(

Definition at line 115 of file usb_moded-dyn-config.h.

◆ android_extra_sysfs_path4

gchar* modedata_t::android_extra_sysfs_path4

Path for static value that never changes that needs to be set by sysfs :(

Definition at line 117 of file usb_moded-dyn-config.h.

◆ android_extra_sysfs_value

gchar* modedata_t::android_extra_sysfs_value

Static value that never changes that needs to be set by sysfs :(

Definition at line 112 of file usb_moded-dyn-config.h.

◆ android_extra_sysfs_value2

gchar* modedata_t::android_extra_sysfs_value2

Static value that never changes that needs to be set by sysfs :(

Definition at line 114 of file usb_moded-dyn-config.h.

◆ android_extra_sysfs_value3

gchar* modedata_t::android_extra_sysfs_value3

Static value that never changes that needs to be set by sysfs :(

Definition at line 116 of file usb_moded-dyn-config.h.

◆ android_extra_sysfs_value4

gchar* modedata_t::android_extra_sysfs_value4

Static value that never changes that needs to be set by sysfs :(

Definition at line 118 of file usb_moded-dyn-config.h.

◆ appsync

int modedata_t::appsync

Requires appsync or not

Definition at line 104 of file usb_moded-dyn-config.h.

◆ dhcp_server

int modedata_t::dhcp_server

if a DHCP server needs to be configured and started or not

Definition at line 122 of file usb_moded-dyn-config.h.

◆ idProduct

gchar* modedata_t::idProduct

Product id to assign to a specific profile

Definition at line 119 of file usb_moded-dyn-config.h.

◆ idVendorOverride

gchar* modedata_t::idVendorOverride

Temporary vendor override for special modes used by odms in testing/manufacturing

Definition at line 120 of file usb_moded-dyn-config.h.

◆ mass_storage

int modedata_t::mass_storage

Use mass-storage functions

Definition at line 106 of file usb_moded-dyn-config.h.

◆ mode_module

gchar* modedata_t::mode_module

Needed module for given mode

Definition at line 103 of file usb_moded-dyn-config.h.

◆ mode_name

gchar* modedata_t::mode_name

Mode name

Definition at line 102 of file usb_moded-dyn-config.h.

◆ nat

int modedata_t::nat

If NAT should be set up in this mode or not

Definition at line 121 of file usb_moded-dyn-config.h.

◆ network

int modedata_t::network

Bring up network or not

Definition at line 105 of file usb_moded-dyn-config.h.

◆ network_interface

gchar* modedata_t::network_interface

Which network interface to bring up if network needs to be enabled

Definition at line 107 of file usb_moded-dyn-config.h.

◆ sysfs_path

gchar* modedata_t::sysfs_path

Path to set sysfs options

Definition at line 108 of file usb_moded-dyn-config.h.

◆ sysfs_reset_value

gchar* modedata_t::sysfs_reset_value

Value to reset the the sysfs to default

Definition at line 110 of file usb_moded-dyn-config.h.

◆ sysfs_value

gchar* modedata_t::sysfs_value

Option name/value to write to sysfs

Definition at line 109 of file usb_moded-dyn-config.h.


The documentation for this struct was generated from the following file: