Re: C language newbie

orca code <orca_code-/[email protected]> Sat, 2 Apr 2005 15:06:58 +0100 (BST)
Newsgroups gmane.user-groups.linux.delhi.devel
Message-ID <[email protected]>
//line in shape_ipv6_hdr.c which include the header

ip6hdr_point.n_src = libnet_get_ipaddr6(pkt_d)
 
this is the line 
ip6hdr_point.n_src is from 
 
//in global header
struct ip6hdr
{
...
...
 
struct in6_addr n_src;
}ip6hdr_point;
 
libnet_get_ipaddr6 is from libnet libraries for ipv6
 
i'm trying to change packit(a packet generator) which only can be use in ipv4 environment to ipv6 env. for my 'must pass' project.
 
regards,
orca
vivek khurana <khuranavivek_in-/[email protected]> wrote:

--- orca code wrote:
> hi all,
> i'm newbie here and C lang. i have this program when
> compile it say 'incompatible type of assignment'. is
> it about struct??
> how to assign value of one struct result to another
> struct??
> help! 
> 
> 

Can you be more elaborate about your problem ?

Regards
VK


Hug the REALITY ;-)



Disclaimer
The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw...



__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs

_______________________________________________
The ILUGD-Dev mailing list
Ilugd-dev-cunTk1MwBs8/[email protected]

Subscribe/Unsubscribe/Suspend your list membership at:
http://frodo.hserus.net/mailman/listinfo/ilugd-dev


---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now