diff options
Diffstat (limited to 'net/tipc/config.h')
-rw-r--r-- | net/tipc/config.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/net/tipc/config.h b/net/tipc/config.h index e74d94f753c9..7a728f954d84 100644 --- a/net/tipc/config.h +++ b/net/tipc/config.h | |||
@@ -42,38 +42,38 @@ | |||
42 | #include "core.h" | 42 | #include "core.h" |
43 | #include "link.h" | 43 | #include "link.h" |
44 | 44 | ||
45 | struct sk_buff *cfg_reply_alloc(int payload_size); | 45 | struct sk_buff *tipc_cfg_reply_alloc(int payload_size); |
46 | int cfg_append_tlv(struct sk_buff *buf, int tlv_type, | 46 | int tipc_cfg_append_tlv(struct sk_buff *buf, int tlv_type, |
47 | void *tlv_data, int tlv_data_size); | 47 | void *tlv_data, int tlv_data_size); |
48 | struct sk_buff *cfg_reply_unsigned_type(u16 tlv_type, u32 value); | 48 | struct sk_buff *tipc_cfg_reply_unsigned_type(u16 tlv_type, u32 value); |
49 | struct sk_buff *cfg_reply_string_type(u16 tlv_type, char *string); | 49 | struct sk_buff *tipc_cfg_reply_string_type(u16 tlv_type, char *string); |
50 | 50 | ||
51 | static inline struct sk_buff *cfg_reply_none(void) | 51 | static inline struct sk_buff *tipc_cfg_reply_none(void) |
52 | { | 52 | { |
53 | return cfg_reply_alloc(0); | 53 | return tipc_cfg_reply_alloc(0); |
54 | } | 54 | } |
55 | 55 | ||
56 | static inline struct sk_buff *cfg_reply_unsigned(u32 value) | 56 | static inline struct sk_buff *tipc_cfg_reply_unsigned(u32 value) |
57 | { | 57 | { |
58 | return cfg_reply_unsigned_type(TIPC_TLV_UNSIGNED, value); | 58 | return tipc_cfg_reply_unsigned_type(TIPC_TLV_UNSIGNED, value); |
59 | } | 59 | } |
60 | 60 | ||
61 | static inline struct sk_buff *cfg_reply_error_string(char *string) | 61 | static inline struct sk_buff *tipc_cfg_reply_error_string(char *string) |
62 | { | 62 | { |
63 | return cfg_reply_string_type(TIPC_TLV_ERROR_STRING, string); | 63 | return tipc_cfg_reply_string_type(TIPC_TLV_ERROR_STRING, string); |
64 | } | 64 | } |
65 | 65 | ||
66 | static inline struct sk_buff *cfg_reply_ultra_string(char *string) | 66 | static inline struct sk_buff *tipc_cfg_reply_ultra_string(char *string) |
67 | { | 67 | { |
68 | return cfg_reply_string_type(TIPC_TLV_ULTRA_STRING, string); | 68 | return tipc_cfg_reply_string_type(TIPC_TLV_ULTRA_STRING, string); |
69 | } | 69 | } |
70 | 70 | ||
71 | struct sk_buff *cfg_do_cmd(u32 orig_node, u16 cmd, | 71 | struct sk_buff *tipc_cfg_do_cmd(u32 orig_node, u16 cmd, |
72 | const void *req_tlv_area, int req_tlv_space, | 72 | const void *req_tlv_area, int req_tlv_space, |
73 | int headroom); | 73 | int headroom); |
74 | 74 | ||
75 | void cfg_link_event(u32 addr, char *name, int up); | 75 | void tipc_cfg_link_event(u32 addr, char *name, int up); |
76 | int cfg_init(void); | 76 | int tipc_cfg_init(void); |
77 | void cfg_stop(void); | 77 | void tipc_cfg_stop(void); |
78 | 78 | ||
79 | #endif | 79 | #endif |