[Click] click_tcp

Beyers Cronje bcronje at gmail.com
Thu Jun 30 15:54:31 EDT 2011


It is most probably because the packet IP headers have not been set in your
configuration through MarkIPHeader of CheckIPHeader. Without knowing your
click config it's impossible to tell. Post it to the list.

Beyers

On Thu, Jun 30, 2011 at 7:10 PM, Sofia Rodriguez <
blink_sgirl_182 at hotmail.com> wrote:

>
> Hi!
> I am creating an element (based on another one) where I receive a packet
> and queue it,. Afterwards I receive an ACK and compare if the queued packet
> matches the received ack. If so, the packet is dropped. My problem comes
> with the click_tcp struct, because whenever I use it for the queued packet,
> everything works, but when I try to use the set pointer for the tcp packet
> of the incoming ack, it does not work. The pointer is pointing to the
> beginning of the header, but when I try to use for example tcph->seq, it
> points to null and causes me segmentation error.
> Do you have any idea why would that be happening?
>
> I initialized the header this way:
> const click_tcp *tcph = p->tcp_header();
>
> Thank you so much
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list