diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/9p/9p.h | 2 | ||||
-rw-r--r-- | include/net/9p/client.h | 2 | ||||
-rw-r--r-- | include/net/phonet/phonet.h | 2 | ||||
-rw-r--r-- | include/net/sctp/sm.h | 1 |
4 files changed, 5 insertions, 2 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index d2c60c73619d..b77c1478c99f 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h | |||
@@ -56,9 +56,9 @@ enum p9_debug_flags { | |||
56 | P9_DEBUG_PKT = (1<<10), | 56 | P9_DEBUG_PKT = (1<<10), |
57 | }; | 57 | }; |
58 | 58 | ||
59 | #ifdef CONFIG_NET_9P_DEBUG | ||
59 | extern unsigned int p9_debug_level; | 60 | extern unsigned int p9_debug_level; |
60 | 61 | ||
61 | #ifdef CONFIG_NET_9P_DEBUG | ||
62 | #define P9_DPRINTK(level, format, arg...) \ | 62 | #define P9_DPRINTK(level, format, arg...) \ |
63 | do { \ | 63 | do { \ |
64 | if ((p9_debug_level & level) == level) {\ | 64 | if ((p9_debug_level & level) == level) {\ |
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index 1f17f3d93727..4012e07162e5 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
@@ -182,6 +182,7 @@ struct p9_fid { | |||
182 | struct list_head dlist; /* list of all fids attached to a dentry */ | 182 | struct list_head dlist; /* list of all fids attached to a dentry */ |
183 | }; | 183 | }; |
184 | 184 | ||
185 | int p9_client_version(struct p9_client *); | ||
185 | struct p9_client *p9_client_create(const char *dev_name, char *options); | 186 | struct p9_client *p9_client_create(const char *dev_name, char *options); |
186 | void p9_client_destroy(struct p9_client *clnt); | 187 | void p9_client_destroy(struct p9_client *clnt); |
187 | void p9_client_disconnect(struct p9_client *clnt); | 188 | void p9_client_disconnect(struct p9_client *clnt); |
@@ -206,6 +207,7 @@ int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst); | |||
206 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); | 207 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); |
207 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); | 208 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); |
208 | 209 | ||
210 | int p9_parse_header(struct p9_fcall *, int32_t *, int8_t *, int16_t *, int); | ||
209 | int p9stat_read(char *, int, struct p9_wstat *, int); | 211 | int p9stat_read(char *, int, struct p9_wstat *, int); |
210 | void p9stat_free(struct p9_wstat *); | 212 | void p9stat_free(struct p9_wstat *); |
211 | 213 | ||
diff --git a/include/net/phonet/phonet.h b/include/net/phonet/phonet.h index d4e72508e145..c6a245184460 100644 --- a/include/net/phonet/phonet.h +++ b/include/net/phonet/phonet.h | |||
@@ -27,7 +27,7 @@ | |||
27 | * The lower layers may not require more space, ever. Make sure it's | 27 | * The lower layers may not require more space, ever. Make sure it's |
28 | * enough. | 28 | * enough. |
29 | */ | 29 | */ |
30 | #define MAX_PHONET_HEADER 8 | 30 | #define MAX_PHONET_HEADER (8 + MAX_HEADER) |
31 | 31 | ||
32 | /* | 32 | /* |
33 | * Every Phonet* socket has this structure first in its | 33 | * Every Phonet* socket has this structure first in its |
diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h index 029a54a02396..c1dd89365833 100644 --- a/include/net/sctp/sm.h +++ b/include/net/sctp/sm.h | |||
@@ -125,6 +125,7 @@ sctp_state_fn_t sctp_sf_beat_8_3; | |||
125 | sctp_state_fn_t sctp_sf_backbeat_8_3; | 125 | sctp_state_fn_t sctp_sf_backbeat_8_3; |
126 | sctp_state_fn_t sctp_sf_do_9_2_final; | 126 | sctp_state_fn_t sctp_sf_do_9_2_final; |
127 | sctp_state_fn_t sctp_sf_do_9_2_shutdown; | 127 | sctp_state_fn_t sctp_sf_do_9_2_shutdown; |
128 | sctp_state_fn_t sctp_sf_do_9_2_shut_ctsn; | ||
128 | sctp_state_fn_t sctp_sf_do_ecn_cwr; | 129 | sctp_state_fn_t sctp_sf_do_ecn_cwr; |
129 | sctp_state_fn_t sctp_sf_do_ecne; | 130 | sctp_state_fn_t sctp_sf_do_ecne; |
130 | sctp_state_fn_t sctp_sf_ootb; | 131 | sctp_state_fn_t sctp_sf_ootb; |