summaryrefslogtreecommitdiffstats
path: root/libnetutils/packet.c
Commit message (Collapse)AuthorAgeFilesLines
* libnetutil: Check dhcp respose packet lengthtintin2018-01-141-0/+14
| | | | | | | | | | Bug: 67474440 Test: Manual Change-Id: I84b533f0101a56ec01e64c7591f3c7e82f513b2e Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit 61f25d4a3657e79659963d12005afa8c30883015) CVE-2017-13208
* Add missing <malloc.h> and <string.h> includes.Elliott Hughes2015-01-281-0/+1
| | | | Change-Id: Ia41756e607663d056e7d2fdd7ecbec7e5841a913
* Libnetutils: Remove unused functions & variablesAndreas Gampe2014-11-241-1/+1
| | | | | | | For build-system CFLAGS clean-up, remove unused functions and variables. Change-Id: I40a78d5a532dc32b53beb1cfc1b7645bab8add16
* libnetutils: Expect 1's complement if computed UDP checksum is zeroAjay Dudani2013-12-121-0/+2
| | | | | | | | | | | Per http://tools.ietf.org/html/rfc768: If the computed checksum is zero, it is transmitted as all ones (the equivalent in one's complement arithmetic). An all zero transmitted checksum value means that the transmitter generated no checksum (for debugging or for higher level protocols that don't care). Bug: 10642341 Change-Id: Ib6296dcf3f420f87227047a645c99d9f7ea0d437
* Fixed an unused param warningEdwin Vane2012-08-021-1/+1
| | | | | | | | libnetutils had a single warning. Fixed it to make it clean. Change-Id: I9297e556657a38dbdd7d1d0ac4bc3574801d5ac9 Author: Edwin Vane <edwin.vane@intel.com> Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
* Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-051-3/+3
| | | | | Bug: 5449033 Change-Id: I1e070511b6a538e9f1c94657356437a457d58882
* Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-6/+6
| | | | | Bug: 5449033 Change-Id: I9244d927f14c750cd359ebffb1fc1c355a755d5a
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+239
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-239/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+239