aboutsummaryrefslogtreecommitdiff
path: root/libbb/udp_io.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
commitdefc1ea34074e7882724c460260d307cdf981a70 (patch)
treefca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /libbb/udp_io.c
parent26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff)
downloadbusybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz
busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2
busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
Diffstat (limited to 'libbb/udp_io.c')
-rw-r--r--libbb/udp_io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/udp_io.c b/libbb/udp_io.c
index c99e51643..b31f28416 100644
--- a/libbb/udp_io.c
+++ b/libbb/udp_io.c
@@ -13,7 +13,7 @@
13 * This asks kernel to let us know dst addr/port of incoming packets 13 * This asks kernel to let us know dst addr/port of incoming packets
14 * We don't check for errors here. Not supported == won't be used 14 * We don't check for errors here. Not supported == won't be used
15 */ 15 */
16void 16void FAST_FUNC
17socket_want_pktinfo(int fd) 17socket_want_pktinfo(int fd)
18{ 18{
19#ifdef IP_PKTINFO 19#ifdef IP_PKTINFO
@@ -25,7 +25,7 @@ socket_want_pktinfo(int fd)
25} 25}
26 26
27 27
28ssize_t 28ssize_t FAST_FUNC
29send_to_from(int fd, void *buf, size_t len, int flags, 29send_to_from(int fd, void *buf, size_t len, int flags,
30 const struct sockaddr *to, 30 const struct sockaddr *to,
31 const struct sockaddr *from, 31 const struct sockaddr *from,
@@ -100,7 +100,7 @@ send_to_from(int fd, void *buf, size_t len, int flags,
100 * _Only_ IP/IPv6 address part of 'to' is _maybe_ modified. 100 * _Only_ IP/IPv6 address part of 'to' is _maybe_ modified.
101 * Typical usage is to preinit 'to' with "default" value 101 * Typical usage is to preinit 'to' with "default" value
102 * before calling recv_from_to(). */ 102 * before calling recv_from_to(). */
103ssize_t 103ssize_t FAST_FUNC
104recv_from_to(int fd, void *buf, size_t len, int flags, 104recv_from_to(int fd, void *buf, size_t len, int flags,
105 struct sockaddr *from, struct sockaddr *to, 105 struct sockaddr *from, struct sockaddr *to,
106 socklen_t sa_size) 106 socklen_t sa_size)