Network configuration |
modules/ISDN.ycp |
ISDN data | |
|
|
This module has an unstable interface. |
Representation of the configuration of ISDN.
Input and output routines.
Imports
Includes
Global VariablesGlobal Functions
Local VariablesLocal Functions |
hold current device settings
handled items are line specific PROTOCOL D-channel protocol AREACODE international area code DIALPREFIX dialprefixfor PBX setups hw specific PARA_IO IO address for legacy ISA PARA_MEMBASE memory base address for legacy ISA PARA_IRQ IRQ number for legacy ISA PARA_TYPE card type PARA_SUBTYPE card sub type NAME full card name DRIVER driver module name STARTMODE "auto"|"manual"|"hotplug" DEBUG debuglevel UNIQUE unique hw id
ISDN database based on CDB
map with two keys, of maps: Cards: map, keyed by integers, of maps: CardID: integer (the key) VendorRef: integer bus: string (ISA) class: string (ISDN Single/Multiple Basic Rate) device: integer driver: list of driver maps features: integer lines: integer longname: string name: string revision: integer subdevice: integer subvendor: integer vendor: integer Vendors: map, keyed by integers, of maps: VendorID: integer (the key) name: string refcnt: integer shortname: string
hold current interface settings
handled items are IPADDR local IP address REMOTE_ADDR remote IP address DEFAULTROUTE default route yes/no DYNAMICIP dynamic IP assignment yes/no PROTOCOL encapsulation "rawip" | "syncppp" MSN own phone number CHARGEHUP try to hangup on idle just before next charge CALLBACK callback mode CBDELAY callback delay STARTMODE auto | manual | hotplug USERCONTROL controllable bt user yes/no MULTILINK channel bundling yes/no PROVIDER default provider filename IPPPD_OPTIONS additional ipppd options
Flag for Fritz!card DSL configuration
Which operation is pending?
If the interface or provider configuration is skipped
Hardware information
- See
-
ReadHardware
Config information
- See
-
ReadDevices
deleted devices
configured ISDN net devices
Abort function return boolean return true if abort
Data was modified?
Data was modified?
- Return value:
-
true if modified
- Parameters:
-
num iface
- Return value:
-
name of interface
Locate interfaces of the given key and value
- Parameters:
-
key interface key val interface value
- Return value:
-
of devices with key=val
Read all ISDN settings from the SCR
- Return value:
-
true on success
Only write configuration without starting any init scripts and SuSEconfig
- Return value:
-
true on success
Update the SCR according to network settings
- Parameters:
-
start
- Return value:
-
true on success if start is true, load drivers and interfaces
Test the given card settings
- Parameters:
-
dev
- Return value:
-
true on success
default settings of hw device
- Parameters:
-
cfg
default settings of interface
- Parameters:
-
cfg
copy detected hw settings to current item
- Parameters:
-
hw
Select the given hardware item or clean up structures
- Parameters:
-
which item to be chosen
- Parameters:
-
settings
List of configured interface entries
- Return value:
-
Build a textual summary and a list of unconfigured cards
- Parameters:
-
split
- Return value:
-
summary of the current configuration
Count of valid interface entries
- Return value:
-
count
If not allready done set a valid interface
- Return value:
-
true if the selection was successful false if here aren't any interfaces
Displays a popup to select one interface to be the current interface
- Parameters:
-
auto if true and only one interface exist take it without a extra dialog
- Return value:
-
true if the selection war successful false if here aren't any interfaces