Commit Graph

25 Commits

Author SHA1 Message Date
EunBong Song
d0f74f5346 dhcpd: Prevent buffer overflow in dhcpd_addoption. offset represents distance from start of option buffer. So this should be changed current option pointer minus start of buffer. 2017-08-25 06:50:37 -06:00
Sebastien Lorquet
2cbad44f1d This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h" 2016-07-11 10:11:18 -06:00
Gregory Nutt
a50383db3d apps/graphics and netutils: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-14 17:53:47 -06:00
Gregory Nutt
586b0aa7e0 Change names of *dbg() * *err() 2016-06-11 15:51:27 -06:00
Gregory Nutt
344c92e2a4 Replace all occurrences of vdbg with vinfo 2016-06-11 11:55:38 -06:00
Gregory Nutt
5642e02f77 Fix some incorrect usage of INADDR_ANY 2016-02-09 11:24:30 -06:00
Gregory Nutt
85b5341d7b DHCPD no longer calls directly into the OS, but uses network IOCTL commands to modify the ARP table. 2016-02-08 12:07:47 -06:00
Gregory Nutt
f10f2de2e4 Eliminate some warnings 2015-09-08 09:20:49 -06:00
Gregory Nutt
ae57fd7ee2 Fix some warnings/errors detected by nuttx/tools/testbuilds.sh 2015-07-10 18:41:56 -06:00
Gregory Nutt
55bfbed33f Fixes for more issues found by cppcheck 2014-11-25 15:26:30 -06:00
Gregory Nutt
af6272a227 SAMA5D4-EK EMAC1: Correct name of EMAC1 configuration variable 2014-11-18 11:02:22 -06:00
Gregory Nutt
24aa151b00 Ooops.. Fix oversight in last commit 2014-11-18 07:43:34 -06:00
Gregory Nutt
424c885f55 DHCPD: Remove dhcpd_addoption_n. It uses C features not supported by all compilers 2014-11-18 07:25:01 -06:00
Gregory Nutt
e59819bbed DHCPD: Add support for the dhcp options for netmask, router and dns. From Brennan Ashton 2014-11-18 07:20:18 -06:00
Gregory Nutt
97d6f97df7 NET: in-progress change... don't use 2014-07-04 16:38:51 -06:00
Gregory Nutt
44ea3903f9 DHCPD: Missed name change uip_lock->net_lock 2014-06-30 19:31:27 -06:00
Gregory Nutt
86a4890fca Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_ 2014-05-30 12:13:06 -06:00
Gregory Nutt
b9cf7acb1a More trailing whilespace removal 2014-04-13 16:24:28 -06:00
Gregory Nutt
217aa7835e DHCPD: Correct value of PAD option is 0, not 1. From Brennan Ashton 2014-03-31 12:33:52 -06:00
Gregory Nutt
9b172004c0 dhcpd_allocipaddr() should not call ntohl(). The return value is already in host order. From Brennan Ashton 2014-03-03 17:46:56 -06:00
Gregory Nutt
09f534db73 DHCPD: Fix calculation of lease address. Bad logic causes repeated assignment of the same IP address. SourceForge bug #21 from Paolo Messina. 2013-09-06 08:10:54 -06:00
patacongo
217e8451f9 Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
ba73620d39 Correct and error in recv() and recvfrom() return value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4402 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 18:13:30 +00:00
patacongo
1329f14683 STM32 Ethernet bugfixes; STM3240G-EVAL DHCPD configuration; fixes for IP address order bugs in DHCPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4168 42af7a65-404d-4744-a932-0658087f49c3
2011-12-13 17:25:23 +00:00
patacongo
5b96d86bfb Move nuttx/netutils to apps/netutils
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3401 42af7a65-404d-4744-a932-0658087f49c3
2011-03-19 21:04:13 +00:00