Forum Discussion
Altera_Forum
Honored Contributor
11 years agoDear BillA
I'm using niosii 9.0+quartus 9.0 to build the project.when i can ping the board and get the packages using the tool wireshark.and i can send the package by using the function tse_mac_raw_send(&alteraTseNetif,psend);also test the packages.but I can't run the function udp_send(UdpPcbS,psend);so I test step by step.when i arrive to the code of the function ip_output_if(q, src_ip, dst_ip, pcb->ttl, pcb->tos, IP_PROTO_UDP, netif) ,the problem appear.warning " <symbol is not available> 0x877e11ff".maybe I lost something important,could you give me advices.thanks a lot,and best wishes to you! here is the code: IPH_TTL_SET(iphdr, ttl); IPH_PROTO_SET(iphdr, proto); ip_addr_set(&(iphdr->dest), dest); IPH_VHLTOS_SET(iphdr, 4, ip_hlen / 4, tos); IPH_LEN_SET(iphdr, htons(p->tot_len)); IPH_OFFSET_SET(iphdr, 0); IPH_ID_SET(iphdr, htons(ip_id)); ++ip_id;