diff options
Diffstat (limited to 'include/net/llc.h')
-rw-r--r-- | include/net/llc.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/net/llc.h b/include/net/llc.h index 93e5b443a9a7..1adb2ef3f6f7 100644 --- a/include/net/llc.h +++ b/include/net/llc.h | |||
@@ -89,10 +89,10 @@ static inline void llc_sap_hold(struct llc_sap *sap) | |||
89 | atomic_inc(&sap->refcnt); | 89 | atomic_inc(&sap->refcnt); |
90 | } | 90 | } |
91 | 91 | ||
92 | extern void llc_sap_close(struct llc_sap *sap); | ||
93 | |||
92 | static inline void llc_sap_put(struct llc_sap *sap) | 94 | static inline void llc_sap_put(struct llc_sap *sap) |
93 | { | 95 | { |
94 | extern void llc_sap_close(struct llc_sap *sap); | ||
95 | |||
96 | if (atomic_dec_and_test(&sap->refcnt)) | 96 | if (atomic_dec_and_test(&sap->refcnt)) |
97 | llc_sap_close(sap); | 97 | llc_sap_close(sap); |
98 | } | 98 | } |
@@ -102,6 +102,9 @@ extern struct llc_sap *llc_sap_find(unsigned char sap_value); | |||
102 | extern int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, | 102 | extern int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, |
103 | unsigned char *dmac, unsigned char dsap); | 103 | unsigned char *dmac, unsigned char dsap); |
104 | 104 | ||
105 | extern void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb); | ||
106 | extern void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb); | ||
107 | |||
105 | extern int llc_station_init(void); | 108 | extern int llc_station_init(void); |
106 | extern void llc_station_exit(void); | 109 | extern void llc_station_exit(void); |
107 | 110 | ||
@@ -115,6 +118,12 @@ extern void llc_proc_exit(void); | |||
115 | #ifdef CONFIG_SYSCTL | 118 | #ifdef CONFIG_SYSCTL |
116 | extern int llc_sysctl_init(void); | 119 | extern int llc_sysctl_init(void); |
117 | extern void llc_sysctl_exit(void); | 120 | extern void llc_sysctl_exit(void); |
121 | |||
122 | extern int sysctl_llc2_ack_timeout; | ||
123 | extern int sysctl_llc2_busy_timeout; | ||
124 | extern int sysctl_llc2_p_timeout; | ||
125 | extern int sysctl_llc2_rej_timeout; | ||
126 | extern int sysctl_llc_station_ack_timeout; | ||
118 | #else | 127 | #else |
119 | #define llc_sysctl_init() (0) | 128 | #define llc_sysctl_init() (0) |
120 | #define llc_sysctl_exit() do { } while(0) | 129 | #define llc_sysctl_exit() do { } while(0) |