Commit Graph

11 Commits

Author SHA1 Message Date
zoltan
b3cd019cf9 Separate the IP and UDP code paths inside libsa, so I can add HTTP booting
later.
2011-05-11 16:23:40 +00:00
christos
e5c1816344 fix slightly wrong format. 2010-12-26 23:55:52 +00:00
he
b7a6da19d6 Print size_t and ssize_t with %zd, not just %d.
(How did this build before?)
2010-12-26 17:48:37 +00:00
tsutsui
69cf32a782 Replace time_t values in libsa sources with the following two types
to avoid unnecessary 64 bit ops which would make binaries larger:

satime_t (currently unsigned int):
 numbers in seconds returned by the machine dependent getsecs() function
 which are used to measure relative time

saseconds_t (currently int):
 numbers in seconds used to specify timeout to network drivers

Per discussion on current-users.
2009-01-12 11:32:43 +00:00
christos
e1b834bdd8 - use mem* instead of b* routines, and kill the b* routines.
- use the mem* routines from libc.
XXX: There will be some lossage, but I am fixing it.
2008-03-25 21:23:50 +00:00
isaki
1c038e6834 style, indent, and ANSI-fy. 2007-11-24 13:20:53 +00:00
christos
8f67218a4b PR/32613: Yves-Emmanuel JUTARD: Incoherencies in file sys/lib/libsa/net.h
- Make prototype of ether_sprintf() match the one in sys/net.
- Rename in_cksum to ip_cksum and fix its prototype. in_cksum() operates
  on an mbuf and ip_cksum() operates on a plain buffer. We should not call
  functions that operate on different arguments the same name (this is not
  c++).
2006-01-24 17:07:19 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
fvdl
60ae17c7ae Fix signed/unsigned warnings. 2003-08-31 22:40:13 +00:00
ragge
b0fa7eb2c1 Someone had a braino here; IP_TTL != IPDEFTTL. This caused the standalone
udp traffic to only have a ttl of 4.
Found by Jens Nilsson, jens@rockstorm.se.
2002-04-23 09:16:09 +00:00
thorpej
9516ee90da Split the UDP routines out of net.c. 2000-10-25 01:49:55 +00:00