Re: Packet Transmit Amateur progammer!!

From: Al Viro
Date: Mon Apr 17 2006 - 08:33:32 EST


On Mon, Apr 17, 2006 at 09:31:59AM -0400, Felipe Maya wrote:
> Hi, I am trying to send one packet in one Congestion Agent. I am
> Amateur kernel programmer, I want to know what is wrong in this

How about
a) 0.7Kb on stach, for starters
b) the only occurences of "data" below being
> unsigned char data[700];
and
> tcp_header_size = MAX_TCP_HEADER + sizeof(data);

Is that really what you meant to do there?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/