From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264795AbUGBS4v (ORCPT ); Fri, 2 Jul 2004 14:56:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264836AbUGBS4v (ORCPT ); Fri, 2 Jul 2004 14:56:51 -0400 Received: from mail-gw4.njit.edu ([128.235.251.32]:19876 "EHLO mail-gw4.njit.edu") by vger.kernel.org with ESMTP id S264795AbUGBS4t (ORCPT ); Fri, 2 Jul 2004 14:56:49 -0400 Date: Fri, 2 Jul 2004 14:56:48 -0400 (EDT) From: rahul b jain cs student To: linux-kernel@vger.kernel.org Subject: Question about ip_rcv_finish() 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 Hi everyone, I had a questions regarding a piece of code in ip_rcv_finish() function. This function checks if there are any options in the packet. If so, it only tries to process the Strict Source Route option. if (opt->srr) { .... if (ip_options_rcv_srr(skb)) goto drop; } Can anyone please explain, why only opt->srr is being checked for and not the other two options namely opt->rr and opt->ts. Thanks, Rahul.