netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: nalkunda@cse.msu.edu
Cc: netdev@oss.sgi.com, linux-net@vger.kernel.org
Subject: Re: Casting (struct rtable*) to (struct dst_entry*)
Date: Wed, 19 Mar 2003 20:59:12 -0800 (PST)	[thread overview]
Message-ID: <20030319.205912.131928327.davem@redhat.com> (raw)
In-Reply-To: <200303192355.02509.nalkunda@cse.msu.edu>

   From: N N Ashok <nalkunda@cse.msu.edu>
   Date: Wed, 19 Mar 2003 23:55:02 -0500
   
   I am unable to understand how a rtable structure casted to dst_entry will give 
   a correct pointer to the input() function. I looked at the fields in rtable 
   and dst_entry, the fields in the structures are cannot be lined up (the 
   fourth field in rtable is not the same type as the fourth field in 
   dst_entry). 

"struct rtable" starts with a "struct dst_entry"

  reply	other threads:[~2003-03-20  4:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20  4:55 Casting (struct rtable*) to (struct dst_entry*) N N Ashok
2003-03-20  4:59 ` David S. Miller [this message]
2003-03-20  5:27   ` N N Ashok
2003-03-20  5:33     ` David S. Miller
2003-03-20  6:02       ` N N Ashok

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030319.205912.131928327.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=linux-net@vger.kernel.org \
    --cc=nalkunda@cse.msu.edu \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).