summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/netudp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stop converting UDP and IP header values from network endianness to hostpatrick2018-03-311-10/+7
| | | | | | | | | | endianness for convenience reasons. Especially in code pathes like TFTP where the source port is read from the received UDP packet and used as destination port in a new UDP packet this can be very harmful. Luckily this issue has had no effect on our architectures since they never use any of the code paths that could be harmful. ok visa@
* Expand ancient NTOHL/NTOHS/HTONS/HTONL macros.mpi2015-07-161-5/+5
| | | | ok guenther@, henning@
* Yet more #include de-duplication.krw2014-11-201-2/+1
| | | | ok deraadt@ tedu@
* Move {recv,send}udp() out of net.c into their own file; to be used shortly.miod2014-11-191-0/+256
Add the new files to the few md libsa builds which require it.