somebody please help..................somehow i need to encapsulate TCP packets in UDP packets when the socket is in ECHO mode...............after scanning through kernel code i think i need to change something in tcp_transmit_skb(), like adding "err = udp_send_msg(sk, msg, skb)" if TCP_ECHO mode is on.......or something

the problem is that there is very little documentation on how to create a UDP header............to many structures to look at and not knowing what each member does.....................

any kinda help would be great...............somebody please..............