SuperWRT源代码的目录结构

SuperWRT是Terra自行开发的一个无线路由器项目。主要源代码的目录结构如下(部分目录由于安全考虑,暂未公开):


.repo/ doc/ sdk/

sdk:
apps/ boot/ build/ configs/ data/ device/ host/ linux/ rules/

apps:
busybox-1.22.1/ iptables-1.4.21/ lighttpd-1.4.48/ socat-1.7.3.2/ hostapd-2015-03-25/ iw-3.17/ openssl-1.0.2/ tinyalsa-20190922/
libev-4.24/ libnl-tiny-0.1/ iperf-3.6/ json-c-0.12/ readline-6.3/ pcre-8.42/ sqlite-3.22.0/ zlib-1.2.8/
base-files/ cdeath_handler/ debugutils/ pppc/ rtmtools/ svgate/ servd/ sptt/
switchc/ qcawifi/ wifibuddy/ datexd/ libswc/ smodem/ swrt/

libswc:
Makefile sl_crypto.c sl_evdns.h sl_file.h sl_internal_base64.c sl_internal_rsa.c sl_json.h sl_log.h sl_sini.c sl_stdext.h sl_util.c
sl_avltree.c sl_crypto.h sl_ev.h sl_http.c sl_internal_base64.h sl_internal_rsa.h sl_libev.c sl_netlink.c sl_sini.h sl_uart.c sl_util.h
sl_avltree.h sl_debug.h sl_fastcgi.c sl_http.h sl_internal_comm.h sl_internal_sha1.c sl_libev.h sl_netlink.h sl_socket.c sl_uart.h
sl_buf.c sl_ev.c sl_fastcgi.h sl_internal_aes.c sl_internal_md5.c sl_internal_sha1.h sl_list.h sl_rsyncio.c sl_socket.h sl_udp6.c
sl_buf.h sl_evdns.c sl_file.c sl_internal_aes.h sl_internal_md5.h sl_json.c sl_log.c sl_rsyncio.h sl_stdext.c sl_udp6.h

datexd:
batman_adv.h client.c datex_api.c datex.h lib Makefile netlink.c nl80211.h README.txt server.h sinfo.h unix_sock.h util.h
bvis/ client.h datex_api.h gnss/ main.c mvis/ netlink.h packet.h server.c sinfo.c unix_sock.c util.c

wifibuddy:
buddy.c client.c doc/ ifctl.h Makefile nl80211.h sock.c status.c util.c wbuddy.h
buddy.h cscope.out ifctl.c main.c nl80211.c README sock.h status.h util.h wifibuddy_setup.sh

sptt:
alsactl.c audio.c cards/ client.c codec.c coder.c common.h crypto.h gate.c main.c mgmt.c mixer.c node.c packet.h ptt.ini sndev.c sock.c test/
alsactl.h audio.h cards.h client.h codec.h coder.h crypto.c g726/ gate.h Makefile mgmt.h mixer.h node.h ptt.h README.txt sndev.h sock.h

servd:
devmng/ files/ inc.mk lib/ link/ Makefile policy/ README supports/ test/
servd/devmng:
action.c client.h db.txt dev_firmware.c device.h genregdb.awk mdb.c policy.h regdb.h sys_config.c task.h util.c webapi_client.c webapi_sys.c
action.h common.h dev_config.c dev_firmware.h event.c main.c mdb.h README.txt storage.c sys_config.h user.c util.h webapi_dev.c webapi_tools.c
client.c cron.c dev_config.h device.c event.h Makefile policy.c regdb.c storage.h task.c user.h webapi.c webapi.h webapi_user.c
servd/link:
main.c Makefile server/ servs/
servd/link/server:
Makefile sr_client.c sr_client.h sr_common.h sr_dist.c sr_dist.h sr_link.c sr_link.h sr_log.h sr_main.c sr_serv.c sr_serv.h
servd/link/servs:
Makefile s01_link/ s16_devmng/ z02_srvmng/ z20_sock5t/ z26_webportal/

swrt:
doc/ files/ inc/ inc.mk lib/ main.c Makefile sapi/ schk/ sddns/ sethwake/ sfw/ sl2s/ snrd/ spkg/ srcmd/ svld/ swebp/ tools/

linux:
drivers/ kernels/

drivers:
compat-wireless-2016-10-08/ rtmesh/ swd/

swd:
crypto/ doc/ driver/ include/ lic.c lic_gpl.c mac80211/ main.c main_gpl.c Makefile net/ proclib.c README.txt sbi.c sbi_gpl.c
swd/net:
http.c ippkg.c Makefile.inc nscd.c nscd_gpl.c socket.c stc.c stc_gpl.c syslib.c syslib.h table.c table_gpl.c vgate_gpl.c vteth_gpl.c webhack.c webportal.c webportal_gpl.c