diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-02-18 03:06:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-18 17:31:59 -0500 |
commit | 247f0f3c3176c55b46cb9a20011d3d6757634815 (patch) | |
tree | 634cb9d42ab33082f75f152a5886dffbcb9cc825 /net/tipc/port.h | |
parent | b356e978e92fccd17a3e4620a4821bdbfb706c1a (diff) |
tipc: align tipc function names with common naming practice in the network
Rename the following functions, which are shorter and more in line
with common naming practice in the network subsystem.
tipc_bclink_send_msg->tipc_bclink_xmit
tipc_bclink_recv_pkt->tipc_bclink_rcv
tipc_disc_recv_msg->tipc_disc_rcv
tipc_link_send_proto_msg->tipc_link_proto_xmit
link_recv_proto_msg->tipc_link_proto_rcv
link_send_sections_long->tipc_link_iovec_long_xmit
tipc_link_send_sections_fast->tipc_link_iovec_xmit_fast
tipc_link_send_sync->tipc_link_sync_xmit
tipc_link_recv_sync->tipc_link_sync_rcv
tipc_link_send_buf->__tipc_link_xmit
tipc_link_send->tipc_link_xmit
tipc_link_send_names->tipc_link_names_xmit
tipc_named_recv->tipc_named_rcv
tipc_link_recv_bundle->tipc_link_bundle_rcv
tipc_link_dup_send_queue->tipc_link_dup_queue_xmit
link_send_long_buf->tipc_link_frag_xmit
tipc_multicast->tipc_port_mcast_xmit
tipc_port_recv_mcast->tipc_port_mcast_rcv
tipc_port_reject_sections->tipc_port_iovec_reject
tipc_port_recv_proto_msg->tipc_port_proto_rcv
tipc_connect->tipc_port_connect
__tipc_connect->__tipc_port_connect
__tipc_disconnect->__tipc_port_disconnect
tipc_disconnect->tipc_port_disconnect
tipc_shutdown->tipc_port_shutdown
tipc_port_recv_msg->tipc_port_rcv
tipc_port_recv_sections->tipc_port_iovec_rcv
release->tipc_release
accept->tipc_accept
bind->tipc_bind
get_name->tipc_getname
poll->tipc_poll
send_msg->tipc_sendmsg
send_packet->tipc_send_packet
send_stream->tipc_send_stream
recv_msg->tipc_recvmsg
recv_stream->tipc_recv_stream
connect->tipc_connect
listen->tipc_listen
shutdown->tipc_shutdown
setsockopt->tipc_setsockopt
getsockopt->tipc_getsockopt
Above changes have no impact on current users of the functions.
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/port.h')
-rw-r--r-- | net/tipc/port.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net/tipc/port.h b/net/tipc/port.h index 34f12bd4074e..3ec3e94e4334 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h | |||
@@ -132,25 +132,25 @@ int tipc_publish(struct tipc_port *p_ptr, unsigned int scope, | |||
132 | int tipc_withdraw(struct tipc_port *p_ptr, unsigned int scope, | 132 | int tipc_withdraw(struct tipc_port *p_ptr, unsigned int scope, |
133 | struct tipc_name_seq const *name_seq); | 133 | struct tipc_name_seq const *name_seq); |
134 | 134 | ||
135 | int tipc_connect(u32 portref, struct tipc_portid const *port); | 135 | int tipc_port_connect(u32 portref, struct tipc_portid const *port); |
136 | 136 | ||
137 | int tipc_disconnect(u32 portref); | 137 | int tipc_port_disconnect(u32 portref); |
138 | 138 | ||
139 | int tipc_shutdown(u32 ref); | 139 | int tipc_port_shutdown(u32 ref); |
140 | 140 | ||
141 | 141 | ||
142 | /* | 142 | /* |
143 | * The following routines require that the port be locked on entry | 143 | * The following routines require that the port be locked on entry |
144 | */ | 144 | */ |
145 | int __tipc_disconnect(struct tipc_port *tp_ptr); | 145 | int __tipc_port_disconnect(struct tipc_port *tp_ptr); |
146 | int __tipc_connect(u32 ref, struct tipc_port *p_ptr, | 146 | int __tipc_port_connect(u32 ref, struct tipc_port *p_ptr, |
147 | struct tipc_portid const *peer); | 147 | struct tipc_portid const *peer); |
148 | int tipc_port_peer_msg(struct tipc_port *p_ptr, struct tipc_msg *msg); | 148 | int tipc_port_peer_msg(struct tipc_port *p_ptr, struct tipc_msg *msg); |
149 | 149 | ||
150 | /* | 150 | /* |
151 | * TIPC messaging routines | 151 | * TIPC messaging routines |
152 | */ | 152 | */ |
153 | int tipc_port_recv_msg(struct sk_buff *buf); | 153 | int tipc_port_rcv(struct sk_buff *buf); |
154 | int tipc_send(u32 portref, struct iovec const *msg_sect, unsigned int len); | 154 | int tipc_send(u32 portref, struct iovec const *msg_sect, unsigned int len); |
155 | 155 | ||
156 | int tipc_send2name(u32 portref, struct tipc_name const *name, u32 domain, | 156 | int tipc_send2name(u32 portref, struct tipc_name const *name, u32 domain, |
@@ -159,15 +159,15 @@ int tipc_send2name(u32 portref, struct tipc_name const *name, u32 domain, | |||
159 | int tipc_send2port(u32 portref, struct tipc_portid const *dest, | 159 | int tipc_send2port(u32 portref, struct tipc_portid const *dest, |
160 | struct iovec const *msg_sect, unsigned int len); | 160 | struct iovec const *msg_sect, unsigned int len); |
161 | 161 | ||
162 | int tipc_multicast(u32 portref, struct tipc_name_seq const *seq, | 162 | int tipc_port_mcast_xmit(u32 portref, struct tipc_name_seq const *seq, |
163 | struct iovec const *msg, unsigned int len); | 163 | struct iovec const *msg, unsigned int len); |
164 | 164 | ||
165 | int tipc_port_reject_sections(struct tipc_port *p_ptr, struct tipc_msg *hdr, | 165 | int tipc_port_iovec_reject(struct tipc_port *p_ptr, struct tipc_msg *hdr, |
166 | struct iovec const *msg_sect, unsigned int len, | 166 | struct iovec const *msg_sect, unsigned int len, |
167 | int err); | 167 | int err); |
168 | struct sk_buff *tipc_port_get_ports(void); | 168 | struct sk_buff *tipc_port_get_ports(void); |
169 | void tipc_port_recv_proto_msg(struct sk_buff *buf); | 169 | void tipc_port_proto_rcv(struct sk_buff *buf); |
170 | void tipc_port_recv_mcast(struct sk_buff *buf, struct tipc_port_list *dp); | 170 | void tipc_port_mcast_rcv(struct sk_buff *buf, struct tipc_port_list *dp); |
171 | void tipc_port_reinit(void); | 171 | void tipc_port_reinit(void); |
172 | 172 | ||
173 | /** | 173 | /** |