diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 23:48:38 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 23:48:38 +0000 |
commit | a771e7c0057d0f506f8cdf67be39268e1c9f0735 (patch) | |
tree | bef7afb1304b3510d4857148a50e162a0578c363 /networking/libiproute/libnetlink.h | |
parent | e6b10ef0a7a5761c4cd0fe5f48bad953aa92240e (diff) | |
download | busybox-w32-a771e7c0057d0f506f8cdf67be39268e1c9f0735.tar.gz busybox-w32-a771e7c0057d0f506f8cdf67be39268e1c9f0735.tar.bz2 busybox-w32-a771e7c0057d0f506f8cdf67be39268e1c9f0735.zip |
*: remove check for errors on getsockaddr in cases we know they can't happen
libbb: make get_sock_lsa use only one getsockaddr syscall, not two
function old new delta
get_sock_lsa 72 101 +29
do_iplink 1151 1137 -14
arping_main 1585 1569 -16
dolisten 789 755 -34
xrtnl_open 161 94 -67
Diffstat (limited to 'networking/libiproute/libnetlink.h')
-rw-r--r-- | networking/libiproute/libnetlink.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h index e5fee4dd8..11a4a100a 100644 --- a/networking/libiproute/libnetlink.h +++ b/networking/libiproute/libnetlink.h | |||
@@ -10,8 +10,7 @@ | |||
10 | 10 | ||
11 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN | 11 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
12 | 12 | ||
13 | struct rtnl_handle | 13 | struct rtnl_handle { |
14 | { | ||
15 | int fd; | 14 | int fd; |
16 | struct sockaddr_nl local; | 15 | struct sockaddr_nl local; |
17 | struct sockaddr_nl peer; | 16 | struct sockaddr_nl peer; |