Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266436AbUFZVZh (ORCPT ); Sat, 26 Jun 2004 17:25:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266441AbUFZVZg (ORCPT ); Sat, 26 Jun 2004 17:25:36 -0400 Received: from mail.njit.edu ([128.235.251.173]:64688 "EHLO mail-gw5.njit.edu") by vger.kernel.org with ESMTP id S266436AbUFZVZf (ORCPT ); Sat, 26 Jun 2004 17:25:35 -0400 Date: Sat, 26 Jun 2004 17:25:34 -0400 (EDT) From: rahul b jain cs student To: linux-kernel@vger.kernel.org Subject: TCP_SKB_CB question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 772 Lines: 26 Hi, I was trying to modify the file ip_input.c. I created a new function of my own in that file. This function has the following declaration int switch_check(struct sk_buff *skb) Within this function I am trying to read the ack value as follows __u32 ack_value = TCP_SKB_CB(skb)->ack_seq; However I am getting the following compile errors when I try to recompile the kernel. warning: implicit declaration of function TCP_SKB_CB error: invalid type arguement of -> Can someone point me where I went wrong. Thanks, Rahul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/