25#ifndef __RTCFG_PROC_H_
26#define __RTCFG_PROC_H_
28#include <rtnet_internal.h>
30#ifdef CONFIG_XENO_OPT_VFILE
32extern struct mutex nrt_proc_lock;
34void rtcfg_update_conn_proc_entries(
int ifindex);
35void rtcfg_remove_conn_proc_entries(
int ifindex);
37int rtcfg_init_proc(
void);
38void rtcfg_cleanup_proc(
void);
40static inline void rtcfg_lockwr_proc(
int ifindex)
42 mutex_lock(&nrt_proc_lock);
43 rtcfg_remove_conn_proc_entries(ifindex);
46static 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) \