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:csockpingtest

From BoxMatrix


BoxMatrix >> Shell-Commands >> csockpingtest @ 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

AVM-Command

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

Details

csockpingtest tests the csockping_* functions of libewnwlinux.so.

It sends a ICMP v4 datagram to a specified target address and awaits a response.

Unlinke ping this is a oneshot test and it does not use DNS to resolve the target.
The target must be an IP or a nonsense IP will be used, see the Examples.

fw 7.90 help:

root@fritz:/var/mod/root# csockpingtest -?

usage: csockpingtest [options]

options:
  -?                 - print this help
  -t INTEGER         - timeout per echo request in milliseconds. (1500)
  -D STRING          - switch debug handles on. (FUNC)

csockpingtest -t timeout in milliseconds

Examples

fw 7.90 examples:

root@fritz:/var/mod/root# csockpingtest 127.0.0.1

csockping_result_cb for 127.0.0.1: <got reply> 0.500 ms

root@fritz:/var/mod/root# csockpingtest localhost

Jan  3 1970 13:16:26 csockpingtest: [ERROR] 5(unspecified) (icmp) 'icmp4': failed to send ICMP-datagram from unspecified to 118.255.1.236:0 - Network unreachable (128)
csockping_result_cb for 118.255.1.236: <timeout> 0.000 ms

118.255.1.236 is the SOFTBANK Corp. in Minatoku, Tokyo, Japan. :)

Source

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

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

sharedlibs/ewnwlinux/csockpingtest.c  

Dependencies

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

Relation Typ Object Mod Firmware Info Origin
Depends on lib ld.so 3 7.90 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 12 7.90 Networking, I/O and helper functions AVM
Depends on lib libavmwdt.so 12 7.90 AVM-Watchdogs management API AVM
Depends on lib libc.so 12 7.90 Standard C library Linux
Depends on lib libdl.so 7 7.90 Dynamic linking library Linux
Depends on lib libewnwlinux.so 12 7.90 Linux networking functions AVM
Depends on lib libpthread.so 7 7.90 POSIX threading library Linux
Depends on lib librt.so 7 7.90 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 12 7.90 supervisor notification library AVM
Depends on lib libz.so 12 7.90 Zlib compressor / decompressor Linux
10 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-27 05:16 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 5590 Fiber (arm) 7.90 /bin 9.3k
FRITZ!Box 6591 Cable (arm) 7.90 /bin 13.5k
FRITZ!Box 6591 Cable (atom) 7.90 /bin 13.5k
FRITZ!Box 6660 Cable (arm) 7.90 /bin 13.5k
FRITZ!Box 6660 Cable (atom) 7.90 /bin 13.5k
FRITZ!Box 6690 Cable (arm) 7.90 /bin 13.5k
FRITZ!Box 6690 Cable (atom) 7.90 /bin 13.5k
FRITZ!Box 6850 LTE 7.90 /bin 9.4k
FRITZ!Box 6850 5G 7.90 /bin 9.4k
FRITZ!Box 7530 AX 7.90 /bin 9.6k
FRITZ!Box 7590 7.90 /bin 9.9k
FRITZ!Box 7590 AX 7.90 /bin 9.9k
12 models use this command

Symbols

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

Firmware Symbol
7.90 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

c