Commit Graph

163 Commits

Author SHA1 Message Date
Nicholas J. Kain
2262845be6 Robustify get_raw_packet(). Error messages are now more specific, and
read() properly handles short reads and EINTR/EAGAIN/EWOULDBLOCK.
Update documentation.
2010-11-12 13:24:07 -05:00
Nicholas J. Kain
81398c79fb Fix strlcpy to not truncate in ndhc.
Length check cleanups.
Use xmalloc() rather than malloc().
2010-11-12 12:19:52 -05:00
Nicholas J. Kain
8aa6d9a320 Fix file_exists() to deal with modern variant.
Update README.
2010-11-12 12:05:37 -05:00
Nicholas J. Kain
15f6bb66ee Move DESIGN and README to root directory. 2010-11-12 09:39:33 -05:00
Nicholas J. Kain
b2daf09c10 Move set_cap() to ncmlib/cap.[ch]. 2010-11-12 09:04:43 -05:00
Nicholas J. Kain
a7ea0dd378 Fix typos in README. 2010-11-12 08:43:46 -05:00
Nicholas J. Kain
2bc86fad4e Clean whitespace in ifchd.c. 2010-11-12 06:05:46 -05:00
Nicholas J. Kain
b882669f85 Convert to using shared ncmlib. 2010-11-12 05:42:07 -05:00
Nicholas J. Kain
b42eeb8847 Move ifchd files to a subdirectory. 2010-11-12 04:51:49 -05:00
Nicholas J. Kain
c999fee9f5 Initial CMake support.
Fix an off-by-one array initialization.
Clean up VERSION a bit.
2010-11-12 04:44:25 -05:00
Nicholas J. Kain
5bea46a071 Check return values of write(), ftruncate(), and fsync(). 2010-11-12 04:29:38 -05:00
Nicholas J. Kain
3d871e612a Open with create flag needs to specify the fs mode for the file. 2010-11-12 04:11:15 -05:00
Nicholas J. Kain
7a09ba2cf7 Initial commit. 2010-11-12 04:02:18 -05:00