You can modify rtnet to pass udp-datagrams directed to _closed_ RT-UDP-ports to rtnetproxy, too.
Check http://www.rts.uni-hannover.de/rtnet/lxr/source/ipv4/ip_input.c#L83 At this point insert some lines found in the same file: 102 #ifdef CONFIG_RTNET_PROXY 103 /* If a fallback handler for IP protocol has been installed, 104 * call it! */ 105 if (ip_fallback_handler) { 106 ret = ip_fallback_handler(skb); 107 if (ret) { 108 rtos_print("RTnet: fallback handler failed\n"); 109 } 110 return ret; 111 } 112 #endif /* CONFIG_RTNET_PROXY */ This calls the fallback handler (rtnetproxy if config option is enabled) in case of incoming UDP datagrams directed to closed RT-UDP-Ports. Alexander ________________________________________ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von cedrick ROCHET Gesendet: Dienstag, 7. September 2004 00:40 An: [EMAIL PROTECTED] Betreff: [RTnet-users] BOOTP and some questions Hi, I would like to know if anyone has implemented a bootp server in Real-time since a bootp (UDP) message is intercepted by rtnet as I understood it in the README.rtnetproxy . In my project I don't use TCP/IP because it's too big and not necessary. � Secondly, when I try to ping my�non real-time machine�from the real-time machine( ./rtping 10.0.0.2) the destination host is unreachable but when I ping from the non-real time machine�to the realtime machine then the hash table is filled ( ./rtroute) and I can ping from the real-time machine to the non real-time machine. I am not using rtmac/ tdma and don't need it, so it's the reason or is it because in the rtnet-0.7.0 you removed the arp table? � Third, what is the minium time cycle of the raw_packet program have you achieved and with with hardware configuration since it takes about 3us to send a packet and I can't get it to send a packet every 10us. � Thank you � � ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

