diff options
Diffstat (limited to 'include/net/llc.h')
-rw-r--r-- | include/net/llc.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/include/net/llc.h b/include/net/llc.h index 9e7d7f08ef77..68490cbc8a65 100644 --- a/include/net/llc.h +++ b/include/net/llc.h | |||
@@ -95,29 +95,29 @@ struct hlist_nulls_head *llc_sk_laddr_hash(struct llc_sap *sap, | |||
95 | extern struct list_head llc_sap_list; | 95 | extern struct list_head llc_sap_list; |
96 | extern spinlock_t llc_sap_list_lock; | 96 | extern spinlock_t llc_sap_list_lock; |
97 | 97 | ||
98 | extern int llc_rcv(struct sk_buff *skb, struct net_device *dev, | 98 | int llc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, |
99 | struct packet_type *pt, struct net_device *orig_dev); | 99 | struct net_device *orig_dev); |
100 | 100 | ||
101 | extern int llc_mac_hdr_init(struct sk_buff *skb, | 101 | int llc_mac_hdr_init(struct sk_buff *skb, const unsigned char *sa, |
102 | const unsigned char *sa, const unsigned char *da); | 102 | const unsigned char *da); |
103 | 103 | ||
104 | extern void llc_add_pack(int type, void (*handler)(struct llc_sap *sap, | 104 | void llc_add_pack(int type, |
105 | struct sk_buff *skb)); | 105 | void (*handler)(struct llc_sap *sap, struct sk_buff *skb)); |
106 | extern void llc_remove_pack(int type); | 106 | void llc_remove_pack(int type); |
107 | 107 | ||
108 | extern void llc_set_station_handler(void (*handler)(struct sk_buff *skb)); | 108 | void llc_set_station_handler(void (*handler)(struct sk_buff *skb)); |
109 | 109 | ||
110 | extern struct llc_sap *llc_sap_open(unsigned char lsap, | 110 | struct llc_sap *llc_sap_open(unsigned char lsap, |
111 | int (*rcv)(struct sk_buff *skb, | 111 | int (*rcv)(struct sk_buff *skb, |
112 | struct net_device *dev, | 112 | struct net_device *dev, |
113 | struct packet_type *pt, | 113 | struct packet_type *pt, |
114 | struct net_device *orig_dev)); | 114 | struct net_device *orig_dev)); |
115 | static inline void llc_sap_hold(struct llc_sap *sap) | 115 | static inline void llc_sap_hold(struct llc_sap *sap) |
116 | { | 116 | { |
117 | atomic_inc(&sap->refcnt); | 117 | atomic_inc(&sap->refcnt); |
118 | } | 118 | } |
119 | 119 | ||
120 | extern void llc_sap_close(struct llc_sap *sap); | 120 | void llc_sap_close(struct llc_sap *sap); |
121 | 121 | ||
122 | static inline void llc_sap_put(struct llc_sap *sap) | 122 | static inline void llc_sap_put(struct llc_sap *sap) |
123 | { | 123 | { |
@@ -125,27 +125,27 @@ static inline void llc_sap_put(struct llc_sap *sap) | |||
125 | llc_sap_close(sap); | 125 | llc_sap_close(sap); |
126 | } | 126 | } |
127 | 127 | ||
128 | extern struct llc_sap *llc_sap_find(unsigned char sap_value); | 128 | struct llc_sap *llc_sap_find(unsigned char sap_value); |
129 | 129 | ||
130 | extern int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, | 130 | int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, |
131 | unsigned char *dmac, unsigned char dsap); | 131 | unsigned char *dmac, unsigned char dsap); |
132 | 132 | ||
133 | extern void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb); | 133 | void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb); |
134 | extern void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb); | 134 | void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb); |
135 | 135 | ||
136 | extern void llc_station_init(void); | 136 | void llc_station_init(void); |
137 | extern void llc_station_exit(void); | 137 | void llc_station_exit(void); |
138 | 138 | ||
139 | #ifdef CONFIG_PROC_FS | 139 | #ifdef CONFIG_PROC_FS |
140 | extern int llc_proc_init(void); | 140 | int llc_proc_init(void); |
141 | extern void llc_proc_exit(void); | 141 | void llc_proc_exit(void); |
142 | #else | 142 | #else |
143 | #define llc_proc_init() (0) | 143 | #define llc_proc_init() (0) |
144 | #define llc_proc_exit() do { } while(0) | 144 | #define llc_proc_exit() do { } while(0) |
145 | #endif /* CONFIG_PROC_FS */ | 145 | #endif /* CONFIG_PROC_FS */ |
146 | #ifdef CONFIG_SYSCTL | 146 | #ifdef CONFIG_SYSCTL |
147 | extern int llc_sysctl_init(void); | 147 | int llc_sysctl_init(void); |
148 | extern void llc_sysctl_exit(void); | 148 | void llc_sysctl_exit(void); |
149 | 149 | ||
150 | extern int sysctl_llc2_ack_timeout; | 150 | extern int sysctl_llc2_ack_timeout; |
151 | extern int sysctl_llc2_busy_timeout; | 151 | extern int sysctl_llc2_busy_timeout; |