| To: | nalkunda@xxxxxxxxxxx |
|---|---|
| Subject: | Re: Casting (struct rtable*) to (struct dst_entry*) |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Wed, 19 Mar 2003 20:59:12 -0800 (PST) |
| Cc: | netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx |
| In-reply-to: | <200303192355.02509.nalkunda@cse.msu.edu> |
| References: | <200303192355.02509.nalkunda@cse.msu.edu> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
From: N N Ashok <nalkunda@xxxxxxxxxxx> 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" |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Casting (struct rtable*) to (struct dst_entry*), N N Ashok |
|---|---|
| Next by Date: | Re: Casting (struct rtable*) to (struct dst_entry*), N N Ashok |
| Previous by Thread: | Casting (struct rtable*) to (struct dst_entry*), N N Ashok |
| Next by Thread: | Re: Casting (struct rtable*) to (struct dst_entry*), N N Ashok |
| Indexes: | [Date] [Thread] [Top] [All Lists] |