Hello Andrew,
When filling your struct ip *iphead, try replacing:
iphead->ip_len = htons(length);
with:
iphead->ip_len = length;
or, for portability reasons, you may want to do something like:
#ifdef LINUX || OpenBSD21
#define BO(x) htons(x)
#else
#def
Hello Andrew,
When filling your struct ip *iphead, try replacing:
iphead->ip_len = htons(length);
with:
iphead->ip_len = length;
or, for portability reasons, you may want to do something like:
#ifdef LINUX || OpenBSD21
#define BO(x) htons(x)
#else
#de
I wonder if anyone here could perhaps of be assistance, Im currently
playing with implementing certain things in trusted bsd to do with ip
security classes and how the system responds to security bits, and
implementing certain things the stack etc. However my first piece of test
code playing with
I wonder if anyone here could perhaps of be assistance, Im currently
playing with implementing certain things in trusted bsd to do with ip
security classes and how the system responds to security bits, and
implementing certain things the stack etc. However my first piece of test
code playing with
4 matches
Mail list logo