If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:sarctl

From BoxMatrix


BoxMatrix >> Shell-Commands >> sarctl @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Chipset-Command

Goto:   Examples  -  RTL-Research  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

sarctl configures the RTL86 Segmentation and Reassembly (SAR) subsystem for ATM.
Besides this it provides statistics and debugging functions.

See also the Segmentation and reassembly Wikipedia article.

sarctl is called, by boa and spppd, see the Examples.

fw 7.30 info from the strings:

Usage:

  [getstats [<ch_no>]]
  [resetstats [<ch_no>]]

  [enable]
  [disable]

  [getconfig <ch_no>]
  [setconfig <ch_no> <vpi> <vci> <rfc> <framing> <QoS> <PCR> <SCR> <MBR> <CDVT>]

  [createvc <ch_no> <vpi> <vci> <rfc> <framing> <QoS> <PCR> <SCR> <MBR> <CDVT>]
  [qos <ifname> <QoS> <PCR> <SCR> <MBR>]
  [deletevc <ch_no>]

  [oamsetid <vpi> <vci> <sourceID>]
  [oamstart <vpi> <vci> <scope> <locationID> <sourceID>]
  [oamstop <vpi> <vci> <tag>]
  [oamtest <vpi> <vci> <scope> <locationID>]
  [oamteststop]
  [oamstatus <vpi> <vci> <tag>]
  [oamstatusfe <vpi> <vci>]
   : ch_no      = 0 ~ 15
   : vpi        = 0 ~ 255
   : vci        = 0 ~ 65535
   : rfc        = 1483_br, 1483_rt, 1577, 2364, 2516
   : framing    = llc, vcmux
   : QoS_Type   = ubr, cbr, nrt-vbr, rt-vbr
   : PCR        = 0 ~ 65535
   : SCR        = 0 ~ 65535
   : MBR        = 0 ~ 255
   : CDVT       = 0 ~ 4294967295

  [slow]
  [fast]
  [loopback <1/0>]
  [pvcnumber <vc_num>]

  [debug size <num>]
  [debug status]
  [debug pvc <flag> <options>]
   flag
   : 0  = disabled
   : 1  = both
   : 2  = input
   : 3  = output

   options
   : -c channel
        Specify pvc channel number, default is all channels.
   : -e type
        Specify EtherType value of Ethernet header,
                ex. 0x0800, 0x0806, 0x8864 ...
   : -p protocol
        Specify IP Protocol value of IP header,
                ex. 0x01, 0x06, 0x11 ...
   : -m
        Use human-readable format.

  [debug obaal5 [0/1]]
  [debug obcell [0/1]]
  [debug eoc [0/1]]
  [debug eoc_lbrx [0/1]]
  [debug eoc_lbtx [0/1]]
  [tc <maxtraffic(kBps)>]
  [qos_imq <1/0>]
  [mirror <vpi> <vci> <mirror_flag> [<lan_dev>]]
   : mirror pvc(vpi/vci) traffic to <lan_dev>
   : mirror_flag      = 0: not mirror, 1: mirror sar input, 2: mirror sar output, 3: mirror both
   : vpi/vci is optional
   : dst mac's 3,4th byte of unicast mirror packets will be plus 1
   : for pppoa and ipoa packets, fake pppoe header or mac header
     (dst mac: 00-06-68-89-90-06, src mac: 00-66-88-99-00-66) will be added
  [mirror_ob <mirror_flag>]
   : mirror AAL5 for outband channel.
   : mirror_flag      = 0: not mirror, 1: mirror sar input, 2: mirror sar output, 3: mirror both 

Examples

From fw 7.30 boa:

sarctl boa_pid <pid>

From fw 7.30 spppd:

sarctl ppp_term <args?>

RTL-Research

Note that research on the RTL86 chipset and its Linux and drivers is very difficult and the results are highly unfinished.

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.30 source files:

$ strings /bin/sarctl | grep -e '\.c$' -e '\.cpp$'

<empty>  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-25 07:20 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-25 05:07 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 7520 v2 (arm) /bin 24.9k
FRITZ!Box 7520 v2 (rtl) /bin 24.9k
2 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-25 07:20 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

s