Mailing List Archive

Very urgent: looking up a flow in the kernel structures given its identifier
Hello,
I am looking for a function which, supplied whith the
tuple identifier (ip_src,ip_dst,p_src,p_dst), returns
the corresponding skb.

Does this function exist?
Regards,

Siri.



_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
Re: Very urgent: looking up a flow in the kernel structures given its identifier [ In reply to ]
Em Tue, Aug 28, 2007 at 09:21:04PM +0200, Sirine Chaitou escreveu:
> Hello,
> I am looking for a function which, supplied whith the
> tuple identifier (ip_src,ip_dst,p_src,p_dst), returns
> the corresponding skb.
>
> Does this function exist?
> Regards,

Look at tcp_v4_rcv -> __inet_lookup, dccp_v4_rcv -> __inet_lookup,
ditto for SCTP, UDP.

- Arnaldo