25 #ifndef __RTCFG_PROC_H_ 26 #define __RTCFG_PROC_H_ 28 #include <rtnet_internal.h> 30 #ifdef CONFIG_XENO_OPT_VFILE 32 extern struct mutex nrt_proc_lock;
34 void rtcfg_update_conn_proc_entries(
int ifindex);
35 void rtcfg_remove_conn_proc_entries(
int ifindex);
37 int rtcfg_init_proc(
void);
38 void rtcfg_cleanup_proc(
void);
40 static inline void rtcfg_lockwr_proc(
int ifindex)
42 mutex_lock(&nrt_proc_lock);
43 rtcfg_remove_conn_proc_entries(ifindex);
46 static inline void rtcfg_unlockwr_proc(
int ifindex)
48 rtcfg_update_conn_proc_entries(ifindex);
49 mutex_unlock(&nrt_proc_lock);
54 #define rtcfg_lockwr_proc(x) \ 57 #define rtcfg_unlockwr_proc(x) \