summaryrefslogtreecommitdiffstats
path: root/net/Kconfig
Commit message (Collapse)AuthorAgeFilesLines
* common: make FILE_LIST feature unconditionalAhmad Fatoum2021-05-121-1/+0
| | | | | | | | | | | | CONFIG_FILE_LIST controls whether the file_list_* family of functions are compiled. common/file-list.o does not register any initcalls and there is no code that is dependent on it being available: it's selected as required. This means linker GC can completely get rid of it if required, so drop the symbol. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210503114901.13095-16-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fastboot net: implement fastboot over UDPEdmund Henniges2020-08-191-0/+10
| | | | | | | | | | | | | | This implements the UDP variant of the fastboot protocol. The only way to start the service for now is to compile with CONFIG_FASTBOOT_NET_ON_BOOT. The service will bind to the network interface that provides the IPv4 gateway. Sending an OKAY packet before performing a restart is necessary since contrary to USB the host will not notice when a UDP server disappears. Signed-off-by: Edmund Henniges <eh@emlix.com> Signed-off-by: Daniel Glöckner <dg@emlix.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: Call net_poll() in a pollerSascha Hauer2020-08-191-0/+1
| | | | | | | | | | | | | | | This adds calling of net_poll() in a poller. With this we can react to incoming packets like ping requests or fastboot requests. We could change to call net_poll() from a poller exclusively, but this would significantly slow down USB network controllers. As described in the patch these take a long time in the packet receive path. To work around this we keep the networking users call net_poll() at a high rate when they are waiting for incoming packets and only every 10ms we call net_poll() from a poller to get incoming traffic when no networking protocol is actively calling net_poll(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: ifup needs to be able to run commandsLucas Stach2017-04-261-0/+1
| | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: Add SNTP supportSascha Hauer2016-01-071-0/+4
| | | | | | | | This adds support for retrieving the time via Simple Network Time Protocol (SNTP). No fancy features are supported, only plainly getting the current time. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: dhcp: Split dhcp funcionality & add dhcp commandWadim Egorov2015-06-051-0/+4
| | | | | | | | | | | | | dhcp/bootp was bound to the command functionality. This patch splits the dhcp command. We are now able to use bootp without a shell. This patch adds also a check for environment variables and globalvar. So only when ENVIRONMENT_VARIABLES and GLOBALVAR is set, all received dhcp data will be stored. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: move CMD_IFUP to commands/KconfigHolger Schurig2014-05-141-7/+0
| | | | | | | | | * this places the command into the "Network commands" section of Kconfig * while at it, improve Kconfig documention Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: NET_DHCP -> CMD_DHCPHolger Schurig2014-05-141-4/+0
| | | | | | | | | | | * this compile option actually turns on a command, so name it accordingly * also move the Kconfig definition into commands/Kconfig, thus placing getopt into the "Network commands" section * while at it, improve Kconfig documention Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: NET_PING -> CMD_PINGHolger Schurig2014-05-141-4/+0
| | | | | | | | | | | * this compile option actually turns on a command, so name it accordingly * also move the Kconfig definition into commands/Kconfig, thus placing getopt into the "Network commands" section * while at it, improve Kconfig documention Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: Add ifup supportSascha Hauer2014-03-071-0/+11
| | | | | | | | The defaultenv-2 has ifup support as a shell script. This patch replaces it with a command which is more robust, can be called from C and now can also bring up all configured interfaces. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce console none supportJean-Christophe PLAGNIOL-VILLARD2013-01-231-0/+1
| | | | | | | | | | | | this will allow to have no console support Use full for bootstrap as we can save 6.5 KiB (barebox.bin) and 3.8 KiB (zbarebox.bin lzo) on at91sam9263 as example vs console simple As on bootstrap we have often very limited size. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cleanup Kconfig filesAlexander Shiyan2012-12-081-1/+1
| | | | | | | | | This patch provides a global cleanup barebox Kconfig files. This includes replacing spaces to tabs, formatting in accordance format, removing extraneous lines and spaces. No functional changes. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: remove old tftp supportSascha Hauer2012-09-281-8/+0
| | | | | | | The old tftp suppoer has been replaced with filesystem based tftp support, so remove the old code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tftp: Add push supportSascha Hauer2010-06-281-0/+4
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Baruch Siach <baruch@tkos.co.il>
* net: add dns supportSascha Hauer2010-06-171-0/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add netconsole supportSascha Hauer2010-06-171-0/+7
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: consider rarp support as outdated. Remove itSascha Hauer2010-06-171-4/+0
| | | | | | | It is disabled in all defconfigs and probably broken for longer. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove sntp support. Has been broken for long enoughSascha Hauer2009-10-131-4/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: refactor dhcp supportSascha Hauer2009-10-131-5/+0
| | | | | | | Remove bootp support. It has been broken for longer and is implemented in an ifdef desert. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* svn_rev_555Sascha Hauer2007-07-051-2/+1
| | | | menu formatting
* svn_rev_346Sascha Hauer2007-07-051-0/+5
|
* svn_rev_109Sascha Hauer2007-07-051-0/+30
do not know anymore