26 #ifndef __RTNET_ICMP_H_ 27 #define __RTNET_ICMP_H_ 29 #include <linux/init.h> 32 #include <rtnet_rtpc.h> 33 #include <ipv4/protocol.h> 36 #define RT_ICMP_PRIO RTSKB_PRIO_VALUE(QUEUE_MIN_PRIO-1, \ 37 RTSKB_DEF_NRT_CHANNEL) 39 #define ICMP_REPLY_POOL_SIZE 8 42 void rt_icmp_queue_echo_request(
struct rt_proc_call *call);
43 void rt_icmp_dequeue_echo_request(
struct rt_proc_call *call);
44 void rt_icmp_cleanup_echo_requests(
void);
45 int rt_icmp_send_echo(u32 daddr, u16
id, u16 sequence,
size_t msg_size);
47 #ifdef CONFIG_XENO_DRIVERS_NET_RTIPV4_ICMP 48 void __init rt_icmp_init(
void);
49 void rt_icmp_release(
void);
51 #define rt_icmp_init() do {} while (0) 52 #define rt_icmp_release() do {} while (0)